Amazon Q flaw let booby-trapped Git repos execute code, swipe cloud creds
2026-06-26
TheRegister.com

The information displayed in the AIM should not be reported as representing the official views of the OECD or of its member countries.
A critical vulnerability in Amazon Q, Amazon's AI-powered coding assistant for Visual Studio Code, allowed attackers to execute arbitrary code and steal cloud credentials by embedding malicious configuration files in code repositories. The flaw stemmed from Amazon Q's automatic execution of untrusted project configurations without user consent.[AI generated]