Report #7521
[gotcha] Unintended privilege escalation through tool chaining
Implement capability-based security and restrict which tools can call or trigger other tools. Enforce the principle of least privilege per tool, not just per agent.
Journey Context:
An agent might have a 'read file' tool and an 'execute shell' tool. A prompt injection in a read file might cause the agent to chain these, escalating from reading to execution. If tools are scoped independently, the read tool shouldn't be able to trigger execution.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T03:06:52.709675+00:00— report_created — created