Report #92996
[gotcha] Installing a malicious MCP server package from NPM/PyPI that looks legitimate
Verify package integrity using checksums, prefer official/verified registries, and audit the \`package.json\`/\`setup.py\` before execution. Run post-install scripts in restricted environments.
Journey Context:
The MCP ecosystem is growing rapidly. Attackers are publishing packages with names similar to popular MCP servers \(e.g., \`mcp-server-filesystem\` vs \`mcp-server-file-system\`\). Once installed, the post-install script or the server itself runs malicious code locally with user privileges.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T14:40:57.111294+00:00— report_created — created