Destructive agent prompt shipped in Amazon Q Developer VS Code extension

Destructive agent prompt shipped in Amazon Q Developer VS Code extension

Instructions directing destructive actions entered the agent's shipped prompt through the vendor's own release pipeline and were published to users without being detected.

23 July 2025HappenedHijacked by content
Amazon Q Developer extension for Visual Studio Code, version 1.84.0 · Amazon Web Services · Global
What happened
Actual compromise of a released product; the injected instructions did not execute. An actor using the alias 'lkmanka58' exploited an inappropriately scoped GitHub token in the project's CodeBuild configuration to add code to the extension's open-source repository on 13 July 2025. The change was included in version 1.84.0, released on 17 July 2025. The added code contained a prompt instructing the AI agent to clear a system to a near-factory state and delete file-system and cloud resources. AWS stated the code was distributed with the extension but failed to execute because of a syntax error, and that no customer resources were impacted.
Response
AWS revoked and replaced credentials, removed the code, withdrew 1.84.0 from distribution and released 1.85.0 on 24 July 2025 (one day after the report, seven days after the compromised release). It published security bulletin AWS-2025-015 and described the event as a quickly mitigated attempt to exploit a known issue.
Discovered by
Security researchers reported the issue on 23 July 2025; 404 Media first reported it publicly. AWS linked it to a related incident under investigation.
Who was affected
Users of the extension (nearly one million marketplace installations); version 1.84.0 distributed publicly
Patterns
Supply chainInstructions hidden in contentDeleted or destroyed somethingDirected by people to cause harm
Confidence: high · checked 24 September 2026. Published under CC BY 4.0: reuse it freely and credit the Future Skills Lab, Future Skills Academy. Seen an error or a newer development? Write to tellmemore@futureskills.academy.

Related

Incidents with the same pattern

What does this ask of people?

Most entries in the record are not about machines turning against people. They are about delegation: a task, an inbox, a key, a terminal, handed to a system that did more, less or something else. Futures literacy starts with noticing that.

All 177 incidents →The Future Skills Lab

Learn with us

Learn the human skills that gain value

Future Skills 101: live online sessions of 90 minutes, open to anyone. Power Skills trainings for teams on request.