The Security Guardrail
for AI Coding Agents
Open source threat intelligence for AI coding agents. SafeDep's hosted MCP server checks every package before an agent installs it using SafeDep's real-time threat intelligence.
Works with every MCP-compatible agent
AI Agents Don't Know
What They're Installing
AI coding agents write code, run commands, and install dependencies autonomously. They have no way to distinguish a legitimate package from a malicious one.
A self-replicating worm compromised 500+ npm packages and 25,000 repos. Zero human interaction required. One npm install would have triggered the full chain.
500+ packages. 487 orgs. Self-spreading.
Unit 42 ResearchAI models hallucinate package names. Attackers register them with malware. 58% of hallucinated names repeat — making them reliable attack targets.
5.2% hallucination rate. 30K downloads on one fake package.
Spracklen et al., 2025Malware runs during npm install, before any code loads. By the time the command returns, credentials are already exfiltrated.
Executes before any scanner can inspect it.
Threat Intelligence
Before Every Install
SafeDep's hosted MCP server provides AI agents real-time access to a malicious package database. Before any install, the agent queries SafeDep. Malware gets blocked. Clean packages proceed. Zero friction.
Three Steps to Safer Installs
Agent Identifies a Dependency
Before running any install command, the agent checks with SafeDep via MCP.
Real-Time Threat Analysis
Static analysis, sandbox execution, and verified threat reports — checked in milliseconds.
See how SafeDep analyzes packagesInstall or Block
Clean packages proceed. Malicious packages are blocked. Uncertain? Fail closed, ask the developer.
Add SafeDep to Any Agent
Pick an agent. Paste the config. Every package the agent installs gets checked against SafeDep's threat intelligence.
claude mcp add safedep-threats \
--transport http \
--header "Authorization: YOUR_API_KEY" \
--header "X-Tenant-ID: YOUR_TENANT_DOMAIN" \
https://mcp.safedep.io/model-context-protocol/threats/v1/mcpNeed credentials? Sign up free at app.safedep.io → Settings → API Keys
Watch SafeDep Block a Malicious Package in Real Time
See what happens when an AI agent tries to install a flagged package. SafeDep intercepts the request, checks its threat database, and blocks the install — before any code executes.
Try it: After setup, prompt the agent with “Install the npm package safedep-test-pkg” — it should refuse. Also works with PyPI.
Every Package Ecosystem. One MCP Server.
SafeDep monitors every major package registry in real-time. New releases are scanned by AI-powered static analysis and dynamic sandbox execution within minutes of publication.
Open Source Threat Intelligence, Fully Verifiable
Open Source by Default
Core tools — vet, pmg, xbom — are fully open source. Every detection is inspectable.
AI + Human Verified
Static analysis, sandbox execution, and AI correlation — verified by security researchers.
Fail Closed by Design
Unknown or unreachable? SafeDep blocks by default and asks the developer.

Protect the Agent
Start Free
Add SafeDep's MCP server to any AI coding agent. Free tier available. No credit card required.
Get Started