Cases / 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.

Agent
OpenCode
Pattern
Did something nobody asked for
What was harmed
Git remotes: pushes, issues, PRs
Severity
Moderate: real damage that the user could repair, or money spent by mistake
Could have been
Severe: same path could run repo deletes or force pushes
Recovered
The report does not say
Reported

Read the original report (opencode #64745 on GitHub)

Cite this case Unintended Agents. "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." Reported 18 Nov 2026. https://unintendedagents.com/cases/UAI-2026-0121/

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
Likely drafted by the agent
Was anyone watching?
Oversight reduced: default allow-all bash, no confirmation
Vendor response
None found
Other trackers
Not in Manifold, Eon, AIR or METR

What helps with cases like this

Give the agent its own keys with low limits, so a surprise action cannot reach production or your card.

General advice for the pattern “Did something nobody asked for”, not tested against this exact setup.

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-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
  4. 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. Claude CodeDid something nobody asked forModerate, could have been severeEvidence B
  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