Malicious Code Injection in Amazon Q Developer VS Code Extension 1.84.0
CVE-2025-8217 concerns malicious code embedded in version 1.84.0 of the Amazon Q Developer extension for Visual Studio Code. An attacker used an inappropriately scoped GitHub token in the project's AWS CodeBuild configuration to commit malicious code to the extension's open-source repository, which was subsequently included in a release. The injected code runs when the extension launches and is designed to invoke the Q Developer CLI, but a syntax error prevents a successful API call, leaving the intended malicious functionality inert.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
What an attacker gets, and what they’ve been doing with it.
The incident compromised the integrity of the extension's source repository and distributed release. Installations of version 1.84.0 contain attacker-injected startup code; however, its syntax error prevents the intended Q Developer CLI API call from succeeding. Successful downstream command execution, data theft, or destructive actions through that injected functionality are not established.
If you can’t patch tonight, do this now.
Until the extension is upgraded, disable or uninstall version 1.84.0. To reduce the associated build-system exposure, disable automatic builds of untrusted pull requests, exclude pull-request events from CodeBuild webhook filters, or restrict triggering actors to trusted users. Where public contributions must be built, use CodeBuild-hosted self-hosted GitHub Actions runners, which are identified as unaffected by the token-extraction issue. Prefer read-only repository credentials wherever write access is unnecessary.
Patch, then assume compromise.
Remove all installations of Amazon Q Developer VS Code extension version 1.84.0 from use and upgrade to version 1.85.0. For affected build infrastructure, revoke and replace exposed repository tokens, restrict replacement credentials to the minimum necessary permissions, and prevent untrusted pull-request code from executing in environments containing sensitive repository credentials.
No public exploits tracked yet. Mallory keeps watching.
12 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.