Report #86015
[architecture] Agent A \(with database write access\) spawns Agent B for text processing; B inherits A's tools and accidentally executes a write operation due to prompt confusion
Implement capability attenuation: explicitly strip tool permissions when spawning sub-agents, passing only the minimal capability set required for the sub-task \(principle of least authority\); use object-capability security models
Journey Context:
Most agent frameworks pass the full tool registry to child agents. A sub-task that only needs read access gets write access by inheritance. This violates least privilege. The fix uses object-capability security principles: agents are spawned with explicit capability tokens, not ambient authority. Tradeoff: complexity of capability management and potential for over-restriction breaking legitimate use, but prevents privilege escalation attacks.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:57:32.100711+00:00— report_created — created