Skip to content

1.0.8: unsafe command-allowlist detection for MCP servers

Choose a tag to compare

@rajaramr7 rajaramr7 released this 21 Sep 19:39
· 5 commits to main since this release

Added

  • Unsafe command-allowlist detection (MCP). Flags MCP servers whose command allowlist (e.g. ALLOW_COMMANDS) names a binary with its own argument-level execution primitive, where checking argv[0] alone does not restrict execution: git -c alias, find -exec, python -c, tar --checkpoint-action, and shells / env / xargs / ssh. Raised as a confirmed risk under the MCP audit and mapped to OWASP LLM06 (Excessive Agency). Token-based key matching excludes denylists (DISALLOW_COMMANDS), unrelated toggles (ALLOW_COMMAND_LOGGING), and full-argument-vector allowlists (ALLOW_COMMANDS="git status"). Original detection contributed in apisec-inc/mcp-audit.