← All incidents timeline

Suggest a change

About Amazon Q extension ships with an injected wiper prompt

Suggest a change to an entry, the methodology or the ledger as a whole: something to fix, correct or add. We read every suggestion, and check corrections against their sources.

Amazon Web Services· Amazon Q Developer for VS Code 1.84.0

Amazon Q extension ships with an injected wiper prompt

An outsider used an over-scoped GitHub token to commit a prompt telling Amazon Q to wipe local files and AWS resources, and AWS shipped it in a public release.

An inappropriately scoped GitHub token in the CodeBuild configuration of the Amazon Q Developer extension let an outside party commit code to its open-source repository. The code, a prompt instructing the agent to clean a system to a near-factory state and delete file-system and cloud resources, was automatically included in version 1.84.0, released on 17 July 2025. AWS says the code did not execute because of a syntax error, so no services or customer environments were changed. The person responsible told 404 Media the wiper was meant as a warning about Amazon's security. AWS revoked the credentials, removed the code and released 1.85.0.

First incident action to disclosure
10 days
First incident action to discovery
10 days
Noticed first by
Someone else
Caught
An outside report

What happened

  • First incident action
  • Unnoticed
  • Handler found out
  • Known, not public
  • Disclosed
  • Public
  1. 13 Jul 2025

    First incident action

    Outsider opens a pull request on aws-toolkit-vscode

    The account then gets write access through an over-scoped token and commits the wiper prompt.

    Reported
  2. 17 Jul 2025

    Version 1.84.0 with the prompt is released to users

    Reported
  3. 23 Jul 2025

    Security researchers report the code to Amazon

    Reported
  4. 23 Jul 2025

    Disclosed · 10 days after the first incident action

    404 Media reports the injected prompt; AWS publishes AWS-2025-015

  5. 23 Jul 2025

    Handler found out · 10 days in

    The handler finds out

    Security researchers reported the issue to Amazon on this date, per BleepingComputer.

    Reported
  6. 24 Jul 2025

    AWS releases 1.85.0 and pulls 1.84.0

    Credentials revoked and replaced, code removed.

    Reported
  7. 25 Jul 2025

    AWS updates the bulletin

    States the code shipped but failed to run because of a syntax error.

    Reports differ

    Whether the code ran.

    • AWS: it failed to execute because of a syntax error.
    • Some researchers quoted by BleepingComputer say it executed but did no harm.

Agent failures

Prompt injection / context poisoning, Supply chain compromiseShow
Map to frameworks
  • Prompt injection / context poisoning

    Shipped carrying a planted prompt telling it to wipe local files and AWS resources.

  • Supply chain compromise

    An outsider's commit reached a public release.

How it was found

Found first by someone else, from an outside reportShow
Found first by
Someone else
How
An outside report
Found to disclosed
0 days

Security researchers reported the modified code to AWS, and 404 Media reported it after the person responsible contacted them. AWS says it found the token problem while investigating a separate incident, AWS-2025-016. The release pipeline shipped the change without catching it.

What is publicly known

3 of 12 fully publicShow
3 of 12 fully public
ItemPublic?DetailSources
PartialAmazon Q Developer for VS Code 1.84.0 named; the underlying model is not stated.
UnknownNo source mentions reasoning settings.
UnknownNo source says what approval or safety settings would have applied had the prompt run.
KnownThe injected prompt is quoted: clean a system to near-factory state and delete file-system and cloud resources.
UnknownNo agent session is reported running it; AWS says the code never executed.
PartialThe VS Code extension; the injected prompt refers to filesystem tools and bash. Tool set not listed.
UnknownNo source describes network setup.
UnknownNo execution logs exist or are published.
PartialResearchers reported it on 23 July; AWS found the token issue investigating AWS-2025-016. Pipeline raised nothing.
Partial1.84.0 shipped to users; AWS says no environments changed. Some researchers say the code ran harmlessly.
KnownAn inappropriately scoped GitHub token in the CodeBuild configuration let an outsider commit code.
KnownCredentials revoked and replaced, code removed, 1.85.0 released, 1.84.0 pulled; CVE-2025-8217 issued.

Controls that apply

  • Govern

    Vet, pin and change-control what agents load

    Release 1.84.0 carried a new prompt telling the agent to clean the system to a near-factory state and delete file-system and cloud resources. A review of prompt changes between releases would have flagged it before it shipped.

  • Protect

    Give agents their own scoped, short-lived credentials

    The GitHub token in the CodeBuild configuration let an outside party commit to the repository that feeds releases. A token scoped to what the build needed would have refused that commit.

  • Ask a person before high-impact or irreversible actions

    AWS says a syntax error stopped the prompt from running. Had it run, the file-system and cloud delete calls would have waited for the user to approve them.

  • Check each action against policy before it runs

    Had the prompt run, a check outside the agent would have seen each wipe command and cloud resource delete, with its arguments, and blocked or held it, whatever the injected prompt said.

  • All controls →

Coverage and commentary

1 post on X, 2 articlesShow
All 3 sources
  1. Primary source

    Security Update for Amazon Q Developer Extension for Visual Studio Code (Version #1.84) ↗Amazon Web Services · 2025-07-23

  2. Press

    Amazon AI coding agent hacked to inject data wiping commands ↗BleepingComputer · 2025-07-25

  3. Press

    Hacker Plants Computer 'Wiping' Commands in Amazon's AI Coding Agent ↗404 Media · 2025-07-23

Entry id amazon-q-wiper-prompt-2025 · overall Confirmed · impact moderate