← All stories
● Covered by 1 source · 1 reportMedium impact1 negative

Malicious Pull Request Nearly Led to AI Coding Assistant Wiping User Systems

🔄 Updated 1h ago
New to BrevFeed? We gather this story from every outlet covering it into one summary — ranked by real-world impact, not just the latest headline — so you never miss what matters. What is BrevFeed? →

Key points

  • Malicious pull request submitted to Amazon's aws-toolkit-vscode repository.
  • Attempted to make Q Developer AI agent wipe user systems and cloud resources.
  • A formatting error prevented the malicious code from executing.
  • Another vulnerability in Q Developer allowing unauthorized bash commands was patched.

Malicious Code Submitted to AWS Toolkit

On July 13, 2025, a GitHub user submitted a pull request to Amazon's public aws-toolkit-vscode repository. This request, which appeared innocuous and reused a previous legitimate commit title, was subsequently merged and shipped to almost a million developers using the Visual Studio Code marketplace.

Near-Miss System Wipe

The merged update included code that downloaded an external file during the build process and injected a new prompt into the extension's packaging script. This prompt instructed the Q Developer AI agent to wipe the system to a near-factory state and delete file-system and cloud resources. The script was configured to pass this prompt directly to the command-line interface without requiring further approvals from the AI agent.

Attack Prevented by Formatting Error

The malicious code did not execute successfully in any customer environment due to a formatting error in the prompt. Amazon's security team confirmed this failure. The individual responsible for the attack claimed it was a stunt to highlight lax security practices and concerns about AI replacing human workers.

Additional Vulnerability Discovered

Separately, independent researcher Johann Rehberger identified another vulnerability in Q Developer. He found that the AI assistant could execute bash commands, such as 'find', without requiring explicit permission, which could potentially lead to file leaks or remote code execution. This flaw was reported on July 7 and patched by July 18, though no CVE was issued as it required a system compromise to be exploited. A security bulletin was later published.

✨ This summary was generated by AI from the outlets' reporting listed below. It is not independently verified and may contain errors — check the original sources. How BrevFeed works →

The daily brief

One email each morning: the day's tech stories, clustered across outlets and summarized. No account needed.

One email a day. Unsubscribe in one click, any time.

Today's brief

Spend a few minutes, get the whole day. Every topic's top stories in one hands-free rundown — listen, watch, or read the transcript.

~7 min · 6 stories · Aug 23

▶ Play today's brief Listen on Spotify

New every morning, and the back catalogue is archived by date.

Reporting from

A malicious pull request submitted to Amazon's aws-toolkit-vscode repository nearly caused the Q Developer AI coding assistant to wipe the systems of its nearly one million users. A formatting error in the malicious prompt prevented the attack from executing, highlighting vulnerabilities in AI agent security and code review processes.