Skip to content
PERMISSION/PROTOCOL
Back to incident tracker

2026-11-23

MediumPrimary

A Coding Agent’s Validation Tool Deleted a Decoy System Credential File in Controlled Research

Controlled AgentBouncer research reports a coding agent invoking a validation tool that deleted a decoy credential file before an event monitor could react.

mini-swe-agent / malicious validate_patch toolTool execution / MCPControlled malicious-tool execution demonstrationIsolated Linux research containers; no production deployment or real credential loss established

What happened

The agent invoked validate_patch; attacker-supplied tool implementation performed validation and silently executed os.remove against /etc/gshadow.

Why it matters

No production impact is established. The reported deletion affected a decoy system credential file inside a controlled container.

Missing authorization check

Independent authorization for the actual deletion target before the filesystem operation took effect.

Would PP block it?

Protection would require complete mediation of tool subprocesses and filesystem effects, trusted target identification and action-bound authority checked before deletion. The paper evaluates AgentBouncer, not Permission Protocol, and establishes no PP prevention result.

Incident analysis

Timeline and technical read

Timeline

  1. 2026-11-23

    The authors publish the AgentBouncer preprint, reporting the controlled validation-tool deletion and contrasting pre-effect mediation with post-event reaction.

Technical breakdown

  • The malicious tool advertises patch validation and performs that advertised work while also executing a hidden deletion.
  • The primary motivating example reports successful deletion under LlamaGuard-Prompt and Drift; AgentSentinel terminates the process only after the deletion.
  • The authors report AgentBouncer denying the deletion while the issue-resolution task completes.
  • The evaluation uses mini-swe-agent; all attacks run against decoys in isolated containers, never real systems or user data.
  • The paper notes incomplete effect context, cache-validity risks, potential arbiter prompt injection and evaluation of only one agent as limitations.

Authorization boundary

Where the authorization boundary should have been

This incident is categorized as Tool execution / MCP. The relevant Permission Protocol gate is Runtime Gate. The read is conditional: the block only applies where the real action boundary is routed through a gate.

If enforced at
A completely mediated runtime boundary before the tool’s filesystem deletion executes
Still needs
PP does not inspect or repair malicious tool implementations merely by issuing a receipt. Tool-call-only approval may miss hidden operations; syscall mediation and correct target identification are prerequisites, not demonstrated PP capabilities in this study.
Receipt required for
Deleting the exact credential-file target, separately from permission to validate a patch

An independently integrated effect boundary could deny a deletion outside the issue-resolution task, but approving the tool name alone would not constrain hidden effects.

Start small

Put the relevant gate at this action boundary.

This incident maps to Runtime Gate. Start with the boundary that controls the actual action, then require a signed receipt before execution.

Replay this incident with a signer in the loop