Case · DiggingBeagle record

Tool updates can execute a malicious side effect before an agent reads a prompt

ETUDE shows why prompt scanning does not cover executable package updates: the tool-update boundary can carry code outside model context.

Public disclosure: Nov 2, 2026

Scope

Researcher-controlled tool-update scenarios; no evidence that particular legitimate marketplace releases were hijacked.

Assessment profile

Assessment method
Setting
evaluation
Exploitation
demonstrated
Evidence
Grade B
Remediation
mitigation available
AI role
AGAINST AI
Basis and provenance

The controlled work uses multiple native reload paths, separately measured malicious effects and task completion, and confirmed file or service effects. It does not establish an infected public marketplace or a verified production incident. A version-bound tool trust decision is an architectural mitigation, not a proven comprehensive patch.. Impact is ungraded because no independently measured production-target impact or victim scope is established by this record.

Assessed Nov 4, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Publish an adversarial tool update

    The attacker distributes changed executable tool bytes into an update path the harness may accept as a routine dependency refresh.

    Boundary: Tool supply chain to agent execution environment

  2. 02

    Load updated code outside prompt review

    The runner imports or executes package content, initiating malicious behavior without needing the model to read a command or approve it.

    Boundary: Package installation and loading to operating-system authority

  3. 03

    Complete the original agent task

    The study reports that many legitimate tasks still complete, so normal-looking model output cannot prove no malicious update code ran.

    Boundary: User-visible task success versus hidden process effects

Claims & evidence

CLM-NOV04-ETUDE-TOOL-UPDATE-1ETUDE reports a 97.6% successful malicious-tool-update rate across its selected experimental configurations.supported

Basis: reported finding

Link to claim
CLM-NOV04-ETUDE-TOOL-UPDATE-2In the same evaluation, benign task completion remained 95.9%, indicating malicious side effects need not visibly interrupt user tasks.supported

Basis: reported finding

Link to claim
CLM-NOV04-ETUDE-TOOL-UPDATE-3In the W3 evaluation, the updated tool attained the specified malicious file content in 700 of 700 tasks, while the ordinary core task body was delivered in 698 of 700.supported

Basis: reported finding

Link to claim

Implications

Agent security must cover the bootstrap/update path with artifact pinning, least privilege and process telemetry. A content safety monitor that reads prompts alone has no view of an executable update that runs first.

Controls and mitigations

  • Pin hashes and verified origins for executable tools, plugins and update hooks.
  • Run tool loads with restricted files, network and credentials, including before the model begins.
  • Revalidate package and runtime provenance on every update, then audit process-level side effects.
  • Bind an approval for executable tools to the exact package digest and restart the authorization decision after a tool update or reload, not merely when a new tool name appears.

Unknowns and contradictions

  • Efficacy against independently packaged and signed real ecosystem updates remains to be evaluated.
  • Reported success does not establish compromise of any specific public tool registry.

Sources and citation

Material revision history

  1. Nov 4, 2026 · Published version · first publication · revision 217