review_code
Audit source code for security vulnerabilities including XSS, SQLi, RCE, and broken access control. Receive line-referenced findings with exploit and fix details.
Instructions
Security-review a source file's contents with Claude (BOLA/BFLA/XSS/SQLi/ business-logic/RCE/auth). Pass the file text you have open; returns line-referenced findings with exploit + fix. Whole-file reasoning, not regex.
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": {
"code": "<code>"
},
"name": "review_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| filename | No | input |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |