check_security
Checks binary files (ELF, PE, Mach-O) for security features like NX, PIE, RELRO, Stack Canary, DEP, ASLR, CFG, Code Signing. Highlights missing protections.
Instructions
Check security features of a binary file (similar to the checksec tool).
ELF: NX, PIE, RELRO, Stack Canary, FORTIFY, RPATH, Stripped PE: DEP/NX, ASLR, SEH, CFG, Authenticode Mach-O: PIE, Stack Canary, Code Signing
Args: file_path: Absolute path to the binary file.
Returns: Security feature detection results.
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": {
"file_path": "<file_path>"
},
"name": "check_security"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |