Skip to content

AAK-RUGPULL-003: Tool removed since last pin

Severity
MEDIUM
Category
Tool Poisoning (tool-poisoning)
Scanner
agent_audit_kit/scanners/pin_drift.py
Auto-fixable
No.
SARIF name
ToolRemovedSincePin

What it detects

A previously pinned tool was removed from an MCP server. This could indicate covering tracks after an attack.

How to fix

Find out why the tool left the server's tools list. If the removal is intended, run agent-audit-kit pin . to refresh .agent-audit-kit/tool-pins.json; if not, restore the entry. Pinning records every current tool, so deal with any other drift findings first.

To confirm the finding is gone, report only this rule:

agent-audit-kit scan . --rules AAK-RUGPULL-003

Limitations

Counts only tools declared in a server's tools array in a config file, because nothing else is pinned. A server declared with just a command, whose tools arrive at run time through tools/list, has no pinned tool, and neither does a tool listed under toolDescriptions, so removing either is not reported here. A pin file over 1 MB, or one nested past 500 levels, is not read: the scan reports it as incomplete and compares nothing.

References

  • OWASP MCP Top 10: MCP03:2025 (Tool Poisoning)
  • OWASP Agentic Top 10: ASI04 (Agentic Supply Chain Vulnerabilities)
  • Adversa AI MCP Top 25 (AAK-defined ids): ADV-RUGPULL-03 (Tool Removed)

All rules. This page is generated from the rule registry when the documentation is built; to change it, change the rule in agent_audit_kit/rules/builtin.py. To give the rule a hand-written write-up, add docs/rules/AAK-RUGPULL-003.md: the page then shows that text, with the registry reference appended under it.