Lint source for security issues
lint_security_codeScans a bounded source code snippet with sentinel-lint rules to detect security issues. Runs safely in an isolated temporary file without executing the code.
Instructions
Run sentinel-lint rules against one bounded source snippet in an isolated temporary file. The scanner never executes the snippet, never follows symlinks, and the temporary file is deleted before the tool returns.
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": "lint_security_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| filename | No | ||
| maxFileSize | No |