Report #10923
[gotcha] Agent retaining elevated tool permissions across sessions or contexts
Treat MCP tool permissions as ephemeral; require explicit re-authorization for sensitive tools \(e.g., file write, network access\) on a per-session or per-task basis rather than persisting grants globally.
Journey Context:
To improve UX, agents often remember that a user approved a tool \(like 'write to filesystem'\) and auto-approve it in the future. If an attacker achieves indirect prompt injection in a later session, they can silently invoke the pre-approved privileged tool without the user seeing a consent prompt, leading to privilege escalation.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-16T12:07:48.502311+00:00— report_created — created