cd /news/ai-agents/how-to-audit-third-party-skill-md-cu… · home › topics › ai-agents › article
[ARTICLE · art-169249] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

How to Audit Third-Party SKILL.md, .cursorrules, and mcp.json Files for Prompt Injection and Exfiltration

The VibeShield project released v2.1, a scanner that adds 12 static rules (VSB-MCP-001 through VSB-MCP-012) for auditing AI agent configuration files such as SKILL.md, .cursorrules, CLAUDE.md, and mcp.json. The tool targets prompt injection and credential exfiltration risks in agent instruction files, flagging hidden Unicode characters, .env and SSH/AWS exfiltration directives, curl-pipe-shell commands, and overly permissive MCP server flags. It ships alongside 80 existing Next.js, Supabase RLS, and TypeScript security rules and is runnable via npx.

by read1 min views1 publishedNov 13, 2026

Developers using Claude Code, Cursor, Windsurf, and Cline regularly clone repositories or install community SKILL.md, .cursorrules, CLAUDE.md, and mcp.json files directly into their local workspaces.

Unlike passive documentation, agent instruction files and MCP configurations are executable control planes. When an AI coding agent has bash and filesystem tool access, a malicious or compromised skill file can instruct the agent to read .env.local, exfiltrate credentials, or execute arbitrary shell commands.

In VibeShield v2.1 (https://github.com/avivgerz-hue/vibe-shield), we built 12 static rules dedicated specifically to auditing AI agent configurations (VSB-MCP-001 through VSB-MCP-012) alongside our 80 Next.js, Supabase RLS, and TypeScript application security rules:

U+200B, U+202E, etc.) hiding instructions inside SKILL.md or .cursorrules that do not appear in standard code review..env Exfiltration Directives:~/.ssh, ~/.aws, or token files combined with outbound network tools ( curl, wget, fetch). curl | sh): npx Servers:mcp.json and .cursor/mcp.json for overly permissive flags (--allow-all, --dangerously-skip-permissions) or suspicious packages. Before opening an unfamiliar repository in Cursor or Claude Code, run:

npx -y @vibefoundry/vibe-shield@latest scan .

You can also map the repository's complete attack surface (every public API route, webhook, database table, and agent skill file):

npx -y @vibefoundry/vibe-shield@latest surface .

── more in #ai-agents 4 stories · sorted by recency
── more on @vibeshield 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-to-audit-third-p…] indexed:0 read:1min 2026-11-13 · —