Skip to main content
Glama

Audit agent skills and MCP configuration for poisoning

vibe_shield_audit_skills

Audit agent instruction files, Cursor rules, skills, and MCP configs for agent-poisoning: hidden Unicode, credential exfiltration, .env/SSH reads, unpinned servers, and safety overrides.

Instructions

Audits .claude/skills, .cursor rules, .cursorrules, AGENTS.md, CLAUDE.md and MCP config files (mcp.json, .mcp.json) for agent-poisoning: hidden Unicode instructions, credential exfiltration commands, reads of .env or ~/.ssh, unpinned MCP servers, literal credentials and safety-override language. Call this whenever you add or modify an agent instruction file, a skill, a Cursor rule or an MCP server config.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "vibe_shield_audit_skills"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMaximum findings to return. Default 25.
pathsNoSpecific agent files or directories to audit.
targetNoProject root to audit. Default: the server working directory.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.1.2

TDQS

A4.2/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the burden of behavioral disclosure and does well: it lists the concrete checks (hidden Unicode instructions, credential exfiltration, .env or ~/.ssh reads, unpinned MCP servers, literal credentials, safety-override language). It stops short of explicitly saying the audit is read-only or describing what happens when findings are detected.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose and the files audited are front-loaded in the first sentence, and the required usage trigger follows immediately. The description is dense but every clause adds specific, actionable detail with no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a three-parameter audit tool with no output schema and no annotations, the description covers what is audited and when to invoke it well. It leaves a minor gap by not summarizing the return shape or confirming that the operation is non-destructive, which matters when no output schema exists.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 100%, so the input schema already explains limit, paths, and target. The description adds no parameter-specific syntax or semantics beyond the audited file types. A baseline 3 is appropriate because the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses the specific verb 'audits' with a precise resource set: .claude/skills, .cursor rules, .cursorrules, AGENTS.md, CLAUDE.md, and MCP config files. It further differentiates itself by naming the exact poisoning patterns it checks for, so an agent can tell this is a security audit tool rather than a general scan.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear when-to-use guidance: 'Call this whenever you add or modify an agent instruction file, a skill, a Cursor rule or an MCP server config.' It does not state when not to use it or name an alternative such as vibe_shield_scan, so it stops short of full routing guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.