Case · DiggingBeagle record

A correct tool call can still update the wrong customer when lookup hides a duplicate

Controlled agent tests found that a first-match resource lookup did not establish uniqueness. In a retail task with an added same-name and same-ZIP customer, the wrong account was modified in roughly one-quarter of simulated conversations.

Published by DiggingBeagle:

Scope

Research scenarios with reservation, directory and retail tools under deliberately incomplete lookup outputs. The agent is permitted to call the tool but may lack the evidence necessary to identify the intended record. No real account changes.

Assessment profile

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

Primary research/advisory evidence supports the enumerated scope and outcomes, but no independent field-wide exploitation or loss denominator exists. Impact band remains unassigned; no publication or exploitation claim is inferred from the research setup. Research scenarios with reservation, directory and retail tools under deliberately incomplete lookup outputs. The agent is permitted to call the tool but may lack the evidence necessary to identify the intended record. N

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

At a glance

Mechanism and trust boundary

  1. 01

    Authorized task

    User requests an edit or cancellation identified by human-readable properties rather than an immutable ID.

    Boundary: user intent to target identification

  2. 02

    Ambiguous lookup

    Tool returns a first result or count without opening or listing other matching candidates.

    Boundary: partial observation to agent presupposition

  3. 03

    Wrong side effect

    Agent applies the requested change to the wrong but syntactically valid target.

    Boundary: natural-language selection to database mutation

Claims & evidence

CLM-DB255-LOOKUP-WRONGIn a controlled retail task with a second customer sharing a name and ZIP, an incomplete lookup caused wrong-account writes in about one-quarter of simulated conversations.supported

Basis: reported finding

Link to claim
CLM-DB255-LOOKUP-ALTERNATIVESShowing alternative matching records stopped many wrong-target actions more reliably than merely providing a numerical count.supported

Basis: reported finding

Link to claim
CLM-DB255-LOOKUP-INDISTINGUISHThe study demonstrates that a lookup hiding a second matching record cannot by itself establish unique identity for an agent action.supported

Basis: reported finding

Link to claim
CLM-ENRICH256-LOOKUP-STRONG-MODEL-COUNTEREXAMPLEIn later counted-record tests some newer Claude and GPT agent configurations opened the second matching record and avoided the wrong-target action, so the earlier failure should not be presented as universal across models.supported

Basis: reported finding

Link to claim

Implications

The generalizable vector is wrong-target execution under incomplete observation. An attacker could try to create plausible duplicate records, but the study did not test a deployed attacker doing so. The relevant defense is target-binding: enforce uniqueness, version/ETag conditions and user-confirmed discriminators at commit time. Testing task completion alone can hide unauthorized writes made to a plausible but incorrect record. Benchmark both cautious and eager models, but require the backend to reject ambiguous target selection. In authorization tests, track avoided unauthorized writes separately from completion or refusal to act.

Controls and mitigations

  • Require unique immutable target IDs or explicit user-provided secondary attributes for destructive actions.
  • Make the tool return competing matches or enforce a server-side uniqueness precondition; fail closed when ambiguous.
  • Record the selected target ID, supporting lookup and commit receipt; use a reversible workflow where possible.

Unknowns and contradictions

  • The study used synthetic or controlled data; no real unauthorized bank or customer changes were shown.
  • Effect rates vary with lookup visibility, model and task; the approximate quarter figure is not an industry incident rate.

Sources and citation

Material revision history

  1. Nov 16, 2026 · Published version · first publication · revision 257