AAK-SEC-MD-001: MCP server repo missing SECURITY.md or security_contact
- Severity
- LOW
- Category
- Supply Chain (
supply-chain) - Scanner
agent_audit_kit/scanners/marketplace_manifest.py- Auto-fixable
- No.
- SARIF name
McpServerNoSecurityMd
What it detects
A repository whose name or pyproject keywords declare it as an MCP server ships no SECURITY.md in the root, docs/ or .github/ (the three folders GitHub reads a security policy from) AND no security_contact entry in marketplace.json / pyproject.toml / package.json. Anthropic's April 2026 SECURITY.md guidance makes this the baseline expectation so researchers have a channel.
How to fix
Add SECURITY.md with a disclosure email and response SLA at the repo root, in docs/ or in .github/; OR add security_contact to the project manifest.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-SEC-MD-001
Limitations
Treats a repository as an MCP server only when mcp appears in the name or keywords of the root pyproject.toml, package.json or .claude-plugin/marketplace.json. A server named without it (an acme-tools package whose keyword is model-context-protocol and which depends on the SDK), one declared in Cargo.toml or go.mod, and a package.json in a sub-directory are not recognised. A pyproject.toml or package.json over 2 MB, or a .claude-plugin/marketplace.json over 1 MB, is not read.
References
- OWASP MCP Top 10: MCP04:2025 (Software Supply Chain Attacks & Dependency Tampering)
- OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities)
- CSA AI Controls Matrix (AICM): STA-10
All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-SEC-MD-001.md: the page then shows that text, with the registry reference appended under it.