loading…
Search for a command to run...
loading…
Model Context Protocol (MCP) server for static C/C++ memory-safety scanning and compiled PE/ELF binary protections auditing (ASLR, DEP/NX, SafeSEH, PIE) with se
Model Context Protocol (MCP) server for static C/C++ memory-safety scanning and compiled PE/ELF binary protections auditing (ASLR, DEP/NX, SafeSEH, PIE) with secure templates remediation.
A Model Context Protocol (MCP) Server for C/C++ Static Code Auditing & Compiled PE/ELF Binary Security Parsing.
Equip your AI Coding Agents (Claude Code, Cursor, Cline) with safe, low-level binary analysis and secure static code scanning tools.
AI Coding Assistants and Agentic loops are incredible at writing code, but they lack local system capabilities to check low-level binary compilation properties or perform deep static secure auditing.
SecureAudit-MCP solves this by standardizing tools under the Model Context Protocol (MCP). By registering this server, your AI agent gains native, sandboxed commands to inspect C/C++ source code files for severe logic and library errors (like buffer overflows, format vulnerabilities, and command injections), parse local executables (Windows PE / Linux ELF) for binary hardening features (ASLR, DEP/NX, PIE), and extract printable ASCII strings securely.
audit_source_codestrcpy, gets, sprintf, scanf).malloc).printf(variable) instead of printf("%s", variable)).system()).malloc vs free statement loops).check_binary_protectionsDllCharacteristics to check for ASLR (Dynamic Base), DEP/NX (Data Execution Prevention), and SafeSEH.safe_extract_stringsstrings CLI utility) to identify indicator hashes, embedded secrets, or hardcoded URLs.remediate_vulnerability ┌─────────────────┐ ┌─────────────────┐ ┌────────────────┐
│ AI Agent Client│ ──────────> │ SecureAudit-MCP │ ──────────> │ Target Code / │
│ (Claude/Cline) │ <────────── │ (TypeScript SDK)│ <────────── │ Binary File │
└─────────────────┘ JSON-RPC └─────────────────┘ File Read └────────────────┘
Since this is a standard Model Context Protocol (MCP) server, it connects seamlessly with all major supporting IDEs and CLI agents.
Add this configuration snippet to your Claude Desktop configuration file (typically located at %APPDATA%\Claude\claude_desktop_config.json on Windows or ~/Library/Application Support/Claude/claude_desktop_config.json on macOS):
{
"mcpServers": {
"secureaudit-mcp": {
"command": "node",
"args": [
"/path/to/secureaudit-mcp/build/index.js"
]
}
}
}
In your Cline settings, select the MCP Servers panel:
secureaudit-mcpnode/path/to/secureaudit-mcp/build/index.jsIn Cursor Settings -> Beta Features -> MCP:
secureaudit-mcpstdionode /path/to/secureaudit-mcp/build/index.jsRun the following commands inside the repository root to compile TypeScript files:
npm install
npm run build
This repository includes a pre-packaged vulnerable C file inside /demo/vulnerable.c containing various security vulnerabilities for testing purposes.
Your MCP agent will be able to scan this file automatically. To inspect the tool definitions manually using the MCP developer command-line inspector (optional):
npx @modelcontextprotocol/inspector node build/index.js
MIT License. Free to use and distribute under open-source terms.
Run in your terminal:
claude mcp add rev2ret-secureaudit-mcp -- npx Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs