TRANSMISSION // 2611.32195v1

When a Permission Reply Can Rewrite the Rules

Source published

A preprint argues that coding-agent permission checks can fail across a session when a delegated answer changes the policy governing later actions.

AI-generated conceptual illustration for When a Permission Reply Can Rewrite the Rules
AI-generated conceptual illustration; not documentary evidence.

A permission prompt looks like a single yes-or-no choice. But what if the reply can also alter the rules for the next choice? A new preprint examines this less obvious security risk in coding agents, where plugins and remote services may respond to permission requests.

Coding agents can ask plugins or remote services to answer permission prompts—requests to approve an action such as running a command or accessing a file. The expected boundary seems straightforward: a delegated service may answer the prompt, but it should not be able to overrule the operator’s restrictions. The preprint When Answering Is Administering asks whether that boundary holds over an entire agent session, not just at the moment each prompt is checked.

The authors argue that a rule can be followed for one decision and still fail later if the decision’s reply changes the rules themselves. In their example, a remote service that cannot access the operator’s files approves an unrelated command and includes a policy update that removes a deny rule protecting project secrets. The agent can then read those secrets later in the same session—and, according to the abstract, in the next session as well. The authors say this can happen even inside the vendor’s strict sandbox.

The central issue is the distinction between answering a permission question and administering permission policy. If a reply can change the policy that governs future replies, then the responder may gain influence beyond the action it was asked to approve.

How the authors investigated

This account is based on the paper’s abstract, not its full text. The abstract describes an analysis of Claude Code’s policy-update behavior, an attack scenario, a general framework for reasoning about policy changes, comparisons across agent systems, and a survey of marketplace plugins. It does not provide the detailed procedures, definitions, or underlying data needed to independently assess those parts of the work.

The authors identify a specific weakness: Claude Code, they say, checks updates that add or replace allow rules, but not deletions of deny rules. A rule deletion can therefore remove a restriction without being treated like an expansion of permission. The abstract also says relays that forward such deletions already exist, including the vendor’s Remote Control.

The paper’s broader argument concerns policy history. If a runtime records only the current rules, it may be unable to tell whether a rule was changed by the operator or by a delegated service. The authors propose two approaches. When the system cannot identify who wrote a rule, it should accept only changes that preserve every currently denied action as denied. When it does track authorship, each party could remove only restrictions that are demonstrably its own. The abstract says the authors prove these bounds are tight, but the proof is not available in the evidence provided here.

What the abstract reports

The authors say their framework correctly predicts whether operator restrictions survive across 13 permission designs in 10 agent systems. They also report that some predictions were written down before testing Codex, Gemini CLI, opencode, and Goose. Applying their proposed checks at a shared policy-update step blocked the attack. In a marketplace survey, they fetched 2,227 plugins and found that only two sent policy updates.

That last finding is narrow: it describes the plugins examined and the behavior the authors counted as sending policy updates. It does not establish how common the vulnerability is in deployed systems, nor does it show that the remaining plugins are free of security risks. Likewise, the reported system comparisons concern permission designs and whether operator restrictions survive; the abstract does not give enough detail to interpret every test condition or outcome.

Why the result matters—and what remains uncertain

The paper’s key lesson is about time: checking each action against a policy may not protect users if a delegated response can alter the policy between actions. Security depends not only on what a system permits, but also on who can change the rules and whether the system preserves that history.

The evidence available here has an important limitation: it is abstract-only. The authors’ methods, definitions, attack setup, proof, evaluation details, and limitations cannot be examined from the supplied material. The work is identified as an arXiv preprint, so it should not be treated as established consensus or as a complete independent verification of the claims. The findings raise a concrete design concern, but assessing its practical scope requires the full paper and further scrutiny.

Reviewed cross-references

These connections were reviewed by a model, not independently fact-checked by a human. Similarity does not imply agreement; consult the original papers and the evidence below.

  • When AI agents change, should their permissions change too?

    Supporting evidence: Both papers identify a temporal authorization risk: the first reports that a permission reply can alter rules used for later decisions, while ACCA describes queued actions becoming stale after effective authority contracts and reports rejection at a local gateway. The mechanisms differ—policy-rule deletion versus changing assurance evidence—and ACCA’s evidence is from controlled trading-domain scenarios, not a test of permission-reply attacks.

    Model review: · openai-codex/gpt-6-luna

    Evidence and provenance

    Selected excerpts, not complete papers. PDF extraction can omit figures or damage equations, tables and reading order; sources may be preprints.

    • 2611.32195v1 — Original paper

      Excerpt reference: static/papers/2611.32195v1.md:13-61
      Basis: Paper text
      Source SHA-256: 49559e92340bfb0f06ec3de67aef8dbc579aee15a93c81efaeedafaf577ee3bd

    • 2611.05632v1 — Original paper

      Excerpt reference: static/papers/2611.05632v1.md:608-662
      Basis: Paper text
      Source SHA-256: ca7168c9b84b129678897f8b70a3f5371eeae2f6ec21bf53deae52e8774c7b7c

    • 2611.05632v1 — Original paper

      Excerpt reference: static/papers/2611.05632v1.md:5019-5063
      Basis: Paper text
      Source SHA-256: ca7168c9b84b129678897f8b70a3f5371eeae2f6ec21bf53deae52e8774c7b7c

Automatically matched by shared topic keywords. These links do not imply that the sources agree or establish a consensus.