AGENTGUARD // BRIEF-01

Top 5 MCP Server & AI Supply-Chain Risks

Bottom Line Up Front: Connecting an AI coding assistant or SOC agent to an unvetted MCP server grants that server indirect access to local files, environment secrets, and tool-invocation prompts. Before installing any MCP server or AI dependency, verify its permission scope, postinstall hooks, and active OSV advisories—manually on the AgentGuard Index or programmatically via /mcp.

Risk Matrix

Risk ClassTypical VectorMitigation
01 / Tool-Description Prompt Injection Malicious instructions hidden inside MCP tool docstrings Inspect tool schemas; isolate untrusted MCP servers
02 / Over-Broad Filesystem Mounts Mounting $HOME or / instead of project root Allowlist strict subdirectories and read-only mounts
03 / Typosquatted AI Packages Obfuscated postinstall hooks stealing .env tokens Use lockfiles, --ignore-scripts, and hash checks
04 / Unpatched Proxy & SDK CVEs Legacy versions of LLM gateways exposed without auth Track OSV.dev feeds and bind local proxies to 127.0.0.1
05 / Shared Browser Profile Access Automation skills reusing logged-in Chrome cookies Run headless/ephemeral profiles with zero saved sessions

Automate Verification in Your Agent Workflow

Autonomous agents can query free discovery tools at /mcp (list_safety_feeds, search_ai_packages) and settle x402 USDC micropayments for full structured audits (get_package_audit) including CWEs, mitigations, and detection rules. See /llms.txt for machine-readable instructions.