ROGUE TERMINAL v1.0 ESC to close
← Back to blog
November 5, 2026 by Rogue Security Research
agentic-securitytool-securitysupply-chainruntime-securityOWASPETUDE

The tool passed review. The update did not.

An agent tool can pass every check you run at admission and still become a security problem later.

That is the finding behind ETUDE, a new paper published on November 1. The researchers studied a simple failure in tool-loading systems. A benign implementation is reviewed and approved as version 1. A later update keeps the same interface and tool identity, but adds an unauthorized operation. The agent then runs the new code under permissions granted to the old code.

The model does not need to be tricked. The user does not need to approve a suspicious call. The tool's identity stays the same while the implementation changes underneath it.

The control gap
Approval is attached to a name such as file_cleaner. The risk is in the code that runs behind that name. If the code changes, the approval must expire.

A trusted tool can change after approval

The paper's attack, named ETUDE, starts with a normal file-editing tool. Version 1 does what its description says and passes the admission process. The attacker then publishes version 2. The update preserves the advertised interface but performs an extra operation during ordinary use.

The important detail is where the extra operation lives. It does not require the model to issue a second suspicious tool call. The updated implementation performs it inside the call the user already expected.

[TOOL v1]Benign implementation
->
[REVIEW]Admission passes
->
[TOOL v2]Same identity, new code
->
[RUNTIME]Old permission still applies

The researchers tested the attack across seven agent frameworks, several model backends, and multiple tool utilities. In the main evaluation, ETUDE reached a 100 percent attack success rate across 21 framework and workload conditions while normal task completion remained 99.6 percent. The agent completed the job, which made the malicious behavior easy to miss if defenders measured only whether the requested task succeeded.

That result needs careful interpretation. It is a controlled research evaluation, not evidence that every tool marketplace is compromised. It does show that a common control pattern has a precise failure mode: a decision about one artifact is reused for another artifact.

Why version numbers are not enough

Teams often record the tool name, server name, package version, or source repository. Those fields help with inventory. They do not prove what the agent executed.

A version can change without a new approval. A package can keep its public API while changing its side effects. A server can reload code while preserving the same registration and permission record. Even a small code change can add network access, read secrets, or write outside the task workspace.

This is the same mistake security teams learned to avoid with software updates, expressed inside an agent runtime. A previously approved binary does not authorize a different binary merely because the filename stayed the same.

The paper's countermeasure is direct. Bind authorization to the exact implementation that was examined. If the implementation changes, invalidate the prior decision and require a new admission step.

The OWASP Agentic Top 10 connection

The failure maps cleanly to the OWASP Agentic Top 10 (2026):

  • ASI04, Agentic Supply Chain Vulnerabilities: the update channel becomes the path that changes trusted behavior.
  • ASI02, Tool Misuse and Exploitation: a legitimate tool is used to carry out an operation outside its stated purpose.
  • ASI03, Identity and Privilege Abuse: the new code inherits authority granted to an earlier artifact.
  • ASI05, Unexpected Code Execution: ordinary tool use reaches code that the reviewer did not approve.
  • ASI10, Rogue Agents: the system continues toward an unauthorized outcome while appearing to complete its assigned task.

The categories point to different owners. Procurement and platform teams need an update policy. Developers need reproducible builds and artifact identity. Runtime security needs to enforce the decision after the tool loads. A model refusal cannot repair a permission record that already authorizes the wrong code.

What to change in the control plane

Authorize the artifact

Store a digest or equivalent immutable identity for the reviewed implementation. Treat a changed digest as a new tool, even if its name and interface are unchanged.

Revoke on reload

Make a server restart, package refresh, plugin reload, or remote update invalidate saved permissions unless the new artifact has passed admission.

Separate review from execution

Run admission analysis in an isolated environment, then enforce the approved digest at runtime. A review result is not a runtime guard.

Watch side effects

Record files, sockets, processes, credentials, and network destinations touched by each tool call. Successful task output does not prove safe execution.

Do not rely on a byte-difference threshold as the only update check. The research found that legitimate maintenance and malicious updates can have overlapping file similarity. A small change can be dangerous, and a large change can be legitimate.

Static review still has a role, but it cannot be the only one. The evaluation also found that obfuscation reduced the effectiveness of an LLM-based code review while the updated tool retained high attack success. Dynamic checks caught the tested side effects, but the paper notes that dynamic coverage depends on inputs and environment. A dormant behavior can wait for a condition the audit never exercises.

The practical design is layered. Verify the exact artifact before loading it. Run the tool with the smallest possible filesystem, network, and credential permissions. Observe its side effects during real work. Stop and re-review after any implementation change.

Update-time questions for an agent platform

  • What exact artifact did the admission decision cover?
  • Does a code, dependency, container, or server change automatically revoke the decision?
  • Can the runtime prove that the loaded artifact matches the reviewed digest?
  • Are tool permissions narrower than the agent's overall identity?
  • Can the tool reach secrets, arbitrary destinations, or host processes without a separate policy decision?
  • Do logs connect the artifact identity, model decision, tool call, side effects, and approval state?

The unit of trust is the code that runs

Agent platforms are moving toward dynamic tools, remote servers, skill packages, and automatic updates. That makes tool admission a recurring event, not a one-time onboarding step.

The security question is not "Have we approved this tool?" It is "Have we approved this exact implementation, and is that the implementation running now?"

If the answer is missing, the agent's permission record has outlived the evidence behind it. The tool may still look familiar. The runtime may still show the same name. The task may still finish successfully. None of those facts establish that the code was authorized.

Bind trust to the artifact. Expire it when the artifact changes. That is the control that closes the update gap.

Sources