Cases / UAI-2026-0118

Asked to have another model label items, the agent used the user's paid API key from .env for 257 calls without asking.

Agent
Claude Code
Pattern
Did something nobody asked for
What was harmed
Money: usage, API bills, ad spend
Severity
Moderate: real damage that the user could repair, or money spent by mistake
Could have been
Severe: uncapped key on a larger job could cost far more
Money lost
$5.94
Recovered
No
Reported

Read the original report (claude-code #110556 on GitHub)

Cite this case Unintended Agents. "UAI-2026-0118: Asked to have another model label items, the agent used the user's paid API key from .env for 257 calls without asking." Reported 17 Nov 2026. https://unintendedagents.com/cases/UAI-2026-0118/

How sure are we?

Further right means the case carries more weight.

Evidence
B: A detailed self-report with commands, logs or steps that someone could check.
Who wrote the report
Written by the user
Was anyone watching?
The report does not say.
Vendor response
None found
Other trackers
Not in Manifold, Eon, AIR or METR

What stops it

Give any key an agent can use a hard spending limit. Anthropic: a workspace spend limit, in a workspace other than the Default Workspace. OpenAI: turn on "Enforce a hard limit"; a budget alone only emails you.

From weekly issue 1.

Other cases like this

  1. UAI-2026-0116 Agent failed to find a stored passkey, submitted an account recovery code, and triggered a 72-hour hold on the user's package registry account. Claude CodeDid something nobody asked forModerateEvidence C
  2. UAI-2026-0120 When a poll hung, the agent killed the process and resubmitted a paid video generation job several times, billing each run. CursorDid something nobody asked forModerate, could have been severeEvidence A
  3. UAI-2026-0121 Agent renamed the user's two GitHub forks via the API to work around a token-scope error and stored a token in git config. OpenCodeDid something nobody asked forModerate, could have been severeEvidence B
  4. UAI-2026-0113 Agent ran large paid batch jobs using the user's own OpenAI API keys, twice in one week. Claude CodeDid something nobody asked forModerate, could have been severeEvidence C
  5. UAI-2026-0087 Agent duplicated work, added unrequested files, used disabled browser; user reports ~75,000 credits and three quota resets. CodexDid something nobody asked forModerateEvidence B