AG-005: Dangerous Tool Combinations
What this rule means
Agent has capability combinations that enable attack chains (read+exec, exec+network).
Why it matters
HuggingFace breach: 17,000+ agent actions using combined capabilities.
How to fix it
Separate into multiple agents with narrower scopes.
Detect it
pip install lucin
lucin scan . # all rules
lucin explain AG-005 # 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.