New Technique Medium TD-2026-0168 For AppSec, AI Eng, SOC / IR AI-assisted
Permission-prompt replies can delete coding-agent deny rules, bypassing per-decision checks
The paper shows that Claude Code checks only policy updates that add or replace allow rules, so an update attached to a permission reply can delete a deny rule. In the paper's example, a remote service approves an unrelated command and deletes the deny rule protecting project secrets, and the agent then reads those secrets. The authors state that Claude Code cannot tell who wrote a rule, because a deletion leaves the same records as a local operator edit.
Why it matters
Organizations that let plugins or remote services answer agent permission prompts may lose operator deny rules protecting secrets. A remote relay could let an attacker read project files across sessions, even inside a sandbox.
Do this
- Audit which coding-agent plugins and remote control relays can answer permission prompts and whether they can send policy updates.
- Restrict or disable remote permission-answering features until the runtime enforces checks on deny-rule deletions.
- Record and monitor changes to agent policy and settings files, alerting on removal of deny rules.
- Protect secret files with OS-level access controls outside the agent's permission policy as a backstop.
- Review marketplace plugins that send policy updates before installing them.
Signals
- NoCISA KEV
- 23/100Priority
- 60%Confidence
Evidence
“The root cause is that Claude Code checks only updates that add or replace allow rules.”
“the deletion leaves the same records as a local edit by the operator, so Claude Code cannot tell who wrote a rule.”
Sources
Affected / related
Claude Code, Remote Control, permission prompt policy update abuse
Published 2026-11-24 08:44 UTC · updated 2026-11-25 04:35 UTC · AI-assisted summary, checked against quoted sources · How we score