audit_solana_code
Run static security analysis on Solana Rust/Anchor code to identify vulnerabilities and harden your program.
Instructions
Runs static security vulnerability audit on Solana Rust/Anchor source code.
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": {
"sourceCode": "<sourceCode>"
},
"name": "audit_solana_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sourceCode | Yes | Rust/Anchor code to audit | |
| programName | No | Identifier of the program |