Solana program: safe to integrate?
program_inspectDue diligence on a Solana program before you build on it or sign for it: whether it can still be upgraded and who holds the upgrade key (a single wallet, a Squads v4 multisig with its threshold, members and time lock, or another program-derived address), when it was last deployed, whether its deployed code matches a public repository build (OtterSec's verified builds), its IDL (instructions, account types, errors) from the Program Metadata program or Anchor's IDL account, and its security.txt contacts. Use for 'is this program safe?', 'who can upgrade X?', 'is it verified?', 'does it have an IDL?'. Facts about the program's controls, not an audit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"program": "<program>"
},
"name": "program_inspect"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| program | Yes | The program's address (base58) |