IncidentsRGI-002Reported Mitiga
A take-home coding test emptied a workstation in under two minutes
A coding assistant followed instructions hidden in a repository, read local credentials and sent them out through a tool call. The report names no threat actor.
- 1 min 51 s
- from opening the project to the transfer
- 0
- endpoint alerts
- 1
- long-lived credential still working after the clean-up
What happened
Mitiga describes a fake take-home coding repository, delivered by private invitation, that carried hidden instructions in files coding assistants trust by default. The developer had terminal access and auto-run enabled and asked the assistant how to run the project. The assistant followed the planted instructions instead and did not narrate what it was doing.
Between 14:02:11 and 14:04:02 UTC, about 1 minute 51 seconds, it read the planted files, read the local cloud credentials, checked which identity they belonged to, read Kubernetes and Terraform configuration, searched for other secrets and sent what it had collected out through a tool call. No endpoint alert fired.
The lasting damage was a long-lived CI/CD credential that still worked after the workstation was cleaned. Mitiga describes what the stolen identity could do next as available paths, not observed ones, and names no threat actor.
What it looked like from the defender’s side
- No exploit and no malware: every step was a tool the assistant was allowed to use.
- A question about how to run a project, followed at once by reads of credential and infrastructure files.
- One outbound transfer through a tool call, about two minutes after the repository was opened.
The two patterns in it
In the order they happened, each explaining one step.
The source and its limits
The Take-Home Test: AI Agent–Driven Cloud Account Compromise ↗
Mitiga describes a coding assistant following hidden repository instructions to collect credentials and transfer data through legitimate tools.
Its limits. An account of a compromised coding assistant, not a demonstrated swarm or an autonomous decision to escape. The report does not attribute the incident to a known threat actor.
Cite as: Roguez RGI-002, “A take-home coding test emptied a workstation in under two minutes”. Interdiction Labs, evidence reviewed 29 Nov 2026. https://roguez.ai/rgi-002