AG-025: Tool Shadowing

MEDIUM AG-025 OWASP ASI02 · ASI09

What this rule means

Multiple tools with suspiciously similar names that could confuse the agent.

Why it matters

Microsoft AGT research: similar tool names create confused deputy attacks.

How to fix it

Ensure all tool names are clearly distinct; investigate unexpected duplicates.

Detect it

pip install lucin
lucin scan .                  # all rules
lucin explain AG-025          # this rule, in your terminal

Findings carry a file:line and, where the rule supports it, a witness path showing the flow that triggered it. Precision and recall for the whole rule set, with the commands that regenerate them, are on the benchmarks page — and the gaps are on limits.

← All detection rules