CPI (cross-program invocation)

Definition

A call from one Solana program to another within the same transaction, for example a DeFi program calling the Token Program to move tokens. Invoking a program ID supplied by the caller without checking it is a classic vulnerability.

Why it matters

Composability on Solana runs through CPIs, and so do many exploits: calling an unchecked program ID, or passing signer privileges further than intended. Auditors spend a large share of their time on CPI paths.

What to check

Related terms

Get an indicative price range and timeline for auditing your Solana programs, then compare verified auditors.

Estimate your audit cost →

← All Solana terms