Particular because of Amy Chang, Arjun Sambamoorthy, Ruchika Pandey, Ben Risher, Adam Swanda
AI-powered built-in developer environments (IDEs) like Cursor, VS Code, and Windsurf now embody brokers that make the most of Mannequin Context Protocol (MCP) servers, run expertise, and generate whole codebases. However as these instruments achieve entry to file techniques, APIs, and shell instructions, a harmful mannequin of implicit belief has emerged. Builders are handing over the keys to their environments, and probably accepting third-party instruments and dependencies with out verifying if they’re safe.
We have now built-in our open supply scanners, together with our hottest instruments (Ability Scanner and MCP Scanner), into an IDE extension. The AI Agent Safety Scanner for IDEs brings safety visibility and management to the AI growth toolchain proper into your growth surroundings. Along with scanning MCP servers, agent expertise, and AI-generated code, it additionally features a software known as Watchdog, which helps stop context manipulation by making certain delicate information are repeatedly tracked and notifying customers of any adjustments, serving to mitigate points like persistent reminiscence poisoning.
The Downside: New Assault Surfaces
MCP servers have turn out to be the connective tissue between AI brokers and exterior companies. A single MCP server can grant an AI agent entry to databases, file techniques, cloud APIs, and shell instructions. Agent expertise—reusable instruction units that form AI habits—can even inject arbitrary prompts, execute scriptsand modify system configurations. Whereas integral options for our AI-enabled world, additionally they create a new assault floor. Some identified examples of compromise embody:
- Immediate injection by way of software descriptions: A compromised MCP server can embed hidden directions in software metadata that redirect agent habits with out the developer’s information.
- Integrating compromised instruments: Attackers can compromise even trusted instruments to execute malicious features similar to information wiping.
- Provide chain poisoning: Tampered talent definitions or MCP configurations can persist throughout classes, affecting each developer on a staff.
- Configuration tampering: Hook injectionauto-memory poisoning, and shell alias manipulation can compromise the IDE surroundings itself.
Conventional software safety instruments weren’t designed for this. Static Utility Safety Testing (SAST) scanners analyze supply code syntax.
Software program Composition Evaluation (SCA) instruments examine dependency variations. Neither understands the semantic layer the place MCP software descriptions, agent prompts, and talent definitions function.
How the AI Agent Safety Scanner for IDEs Works
The scanner operates on a defense-in-depth mannequin, consisting of proactive vulnerability prevention throughout code technology, static evaluation of server configurations, behavioral inspection of agent expertise, and steady post-setup integrity monitoring. This multi-layered technique is executed by 4 built-in capabilities:
- MCP Server Scanning
The scanner discovers and analyzes MCP server configurations in your machine. It inspects software descriptions, server configurations, and endpoints for hidden directions, exfiltration patterns, cross-tool assault chains, and suspicious instructions. - Agent Ability Scanning
Abilities for Cursor, Claude Code, Codex, and Antigravity are analyzed for command injection, obfuscation, privilege escalation, and provide chain indicators. The scanner examines talent definitions and any referenced scripts or binaries with out executing them. - Safe AI-generated code
Undertaking CodeGuard’s safety guidelines are embedded immediately into the agent’s context, masking 20+ safety domains starting from enter validation and authentication to cryptography and session administration. These guidelines information AI-generated code towards safe patterns from the beginning, relatively than catching vulnerabilities after the actual fact. - Watchdog
Watchdog repeatedly screens important AI configuration information for unauthorized modifications. It detects hook injection, auto-memory poisoning, shell alias injection, and MCP configuration tampering utilizing SHA-256 snapshots with HMAC verification. When a change is detected, builders can view diffs, restore from snapshots, or settle for the change as a brand new baseline.
A number of Evaluation Engines, Native-First by Default
The scanner layers a number of evaluation engines for complete protection:

Constructed for the Developer Workflow
The scanner integrates natively into the IDE expertise:
- Safety Dashboard with at-a-glance severity overview and development evaluation
- Inline decorations in MCP configuration information highlighting particular findings
- Findings tree with one-click navigation to affected instruments and descriptions
- Watchdog panel with diff views and snapshot restoration
- CodeLens annotations on MCP server definitions
- Export to JSON, Markdown, or CSV for integration with safety workflows
- Scan comparability to trace safety posture over time
- Allowlist administration for trusted servers, instruments, and expertise
- Cursor hooks that implement scan outcomes at MCP execution time — blocking, warning, or prompting primarily based on configurable severity thresholds

Determine 1: Screenshot of the IDE Extension panel displaying scan historical past and different panels.
Privateness by Design
The scanner was constructed with a transparent privateness precept: your code stays in your machine.
- No supply code is transmitted throughout scanning
- MCP instruments and talent code are by no means executed — solely metadata and descriptions are analyzed
- API keys are saved within the OS keychain by way of VS Code SecretStorage
- VirusTotal checks use hash-only lookups by default; file add requires express opt-in
- Telemetry is non-obligatory and comprises no scan content material, API keys, file paths, or PII
Getting Began
- Set up from the VS Code Market or search “AI Agent Safety Scanner for IDEs” in your IDE
- Run the Setup Wizard (launches robotically on first set up)
- Open the Command Palette and run Scan All (MCP + Abilities)
Inside seconds, you should have visibility into the safety posture of MCP servers and agent expertise in your surroundings.
The AI agent ecosystem is evolving quickly. The safety instruments defending it have to evolve simply as quick. We invite the developer and safety communities to attempt the scanner, file points, contribute, and assist us construct the safety layer that AI-assisted growth deserves.
Try the documentation and extra data obtainable right here.
