Case · DiggingBeagle record

Moving the same prompt injection between README and code changed agent behavior

A study held attacker instructions constant and measured very different success depending on the source surface and position.

Scope

Controlled benchmark placement study, not verified exploitation of the repositories used by ordinary users.

Assessment profile

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

The cited study is a controlled placement comparison, not telemetry from successfully attacked production repositories. Impact remains unrated because the scoped record does not establish a calibrated severity-to-impact-band mapping.

Assessed Oct 31, 2026 using diggingbeagle.assessment/1.

At a glance

Mechanism and trust boundary

  1. 01

    Step

  2. 02

    Step

  3. 03

    Step

Timeline

  1. Oct 30, 2026
    disclosure

    Public disclosure

Claims & evidence

CLM-C26-INJECTION-PLACEMENT-EFFECT-1The paper measured higher prompt-injection success for selected README or TODO placements than for the same payload in code/data in a controlled coding-agent setup.supported

Basis: reported finding

Link to claim

Implications

An injection success rate at one placement does not transfer automatically to all file types, agents or task wrappers.

Controls and mitigations

  • Retain source provenance through repository ingestion and test identical payloads across higher- and lower-trust placements.

Unknowns and contradictions

  • Transferability to different agent wrappers and repository trust policies is not established.
  • The study does not provide a real compromise denominator.

Sources and citation

Material revision history

  1. Oct 31, 2026 · Canonical change recorded · new in release · revision 208