AAK-POISON-006: URL or file path in tool description
- Severity
- MEDIUM
- Category
- Tool Poisoning (
tool-poisoning) - Scanner
agent_audit_kit/scanners/tool_poisoning.py- Auto-fixable
- No.
- SARIF name
ToolDescUrlOrPath
What it detects
Tool description contains URLs or file paths that could direct the agent to access external resources.
How to fix
Remove URLs and file paths from tool descriptions.
To confirm the finding is gone, report only this rule:
agent-audit-kit scan . --rules AAK-POISON-006
Limitations
Matches http:// and https:// URLs, a / followed by three or more path characters, ~/, and an upper-case drive letter such as C:\. A bare hostname or address (collector.example.com:8443), a lower-case drive letter (c:\Users\...) and a %USERPROFILE%\... path are not matched.
References
- OWASP MCP Top 10: MCP03:2025 (Tool Poisoning)
- OWASP Agentic Top 10: ASI02 (Tool Misuse and Exploitation), ASI04 (Agentic Supply Chain Vulnerabilities)
- Adversa AI MCP Top 25 (AAK-defined ids): ADV-POISON-06 (URL in Description)
- CSA AI Controls Matrix (AICM): AIS-07
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-POISON-006.md: the page then shows that text, with the registry reference appended under it.