Hacker Injects Destructive Commands into Amazon Q AI Coding Assistant

Thumbnail Image

The information displayed in the AIM should not be reported as representing the official views of the OECD or of its member countries.

A hacker exploited Amazon's AI-powered coding assistant, Amazon Q, by injecting malicious prompts designed to wipe users' files and cloud resources. The compromised code was distributed in an official update, exposing nearly a million users to potential harm. Although safeguards prevented actual damage, the incident highlights significant security vulnerabilities in AI tool deployment.[AI generated]

Why's our monitor labelling this an incident or hazard?

The event involves an AI system (Amazon's 'Q' AI coding assistant) whose use was compromised by a hacker inserting destructive commands. Although no actual damage occurred, the AI system's malfunction or misuse could have directly led to harm to property (erased files) and disruption of critical infrastructure (AWS cloud resources). This fits the definition of an AI Incident because the AI system's use was directly linked to a potential harm event, and the incident has materialized as a security breach with real risk. The mitigation and lack of actual damage do not negate the classification as an incident, since the event involved direct risk and exploitation of the AI system leading to potential harm.[AI generated]
AI principles
AccountabilityRobustness & digital securitySafety

Industries
IT infrastructure and hostingDigital security

Affected stakeholders
ConsumersBusiness

Harm types
Economic/Property

Severity
AI incident

Business function:
Research and development

AI system task:
Content generationInteraction support/chatbots

In other databases

Articles about this incident or hazard

Thumbnail Image

Hacker slips malicious 'wiping' command into Amazon's Q AI coding assistant - and devs are worried

2025-07-24
ZDNet
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon's 'Q' AI coding assistant) whose use was compromised by a hacker inserting destructive commands. Although no actual damage occurred, the AI system's malfunction or misuse could have directly led to harm to property (erased files) and disruption of critical infrastructure (AWS cloud resources). This fits the definition of an AI Incident because the AI system's use was directly linked to a potential harm event, and the incident has materialized as a security breach with real risk. The mitigation and lack of actual damage do not negate the classification as an incident, since the event involved direct risk and exploitation of the AI system leading to potential harm.
Thumbnail Image

Hacker compromises Amazon's AI coding assistant to wipe computers

2025-07-24
NewsBytes
Why's our monitor labelling this an incident or hazard?
The event describes a direct compromise of an AI system's code leading to a potential for harm (wiping computers). The AI system is explicitly mentioned and was manipulated to perform harmful actions. Even if the actual damage was limited, the incident involved a malfunction (due to malicious code injection) that could have caused harm to property. Therefore, this qualifies as an AI Incident because the AI system's use and malfunction directly led to a significant harm risk, fulfilling the criteria for an AI Incident.
Thumbnail Image

Hacker Exploits Amazon Q AI Tool for Data-Erasing Attacks, Exposing Risks

2025-07-23
WebProNews
Why's our monitor labelling this an incident or hazard?
The article explicitly involves an AI system, Amazon Q, an AI coding assistant leveraging generative AI for software development tasks. The hacker's manipulation of this AI tool to embed malicious code that could erase data demonstrates a malfunction or misuse of the AI system. Although actual data erasure was likely prevented, the direct link between the AI system's exploitation and the risk of harm to users' data integrity meets the criteria for harm to property. The incident also highlights broader risks to enterprise adoption and trust in AI tools, reinforcing the significance of the harm. Hence, this is classified as an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Hacker Exploits Amazon's GitHub with Malicious Q AI Pull Request

2025-07-24
WebProNews
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon's Q AI coding assistant) that was manipulated via a malicious pull request to generate destructive commands, which could have caused harm to users' local files and AWS cloud resources. The AI system's use was central to the incident, and the potential for harm was real and significant. Although safeguards prevented actual damage, the incident meets the criteria for an AI Incident because the AI system's use directly led to a serious security breach with potential harm to property and infrastructure. The event is not merely a hazard or complementary information, as the malicious use and resulting risk materialized in the system's deployment and update process.
Thumbnail Image

Hackers Injected Destructive System Commands in Amazon's AI Coding Agent - IT Security News

2025-07-25
IT Security News - cybersecurity, infosecurity news
Why's our monitor labelling this an incident or hazard?
The Amazon Q extension is an AI coding assistant, thus an AI system. The malicious pull request that introduced destructive commands directly led to potential harm to users' data and cloud resources, which qualifies as harm to property and possibly to communities relying on these resources. The AI system's malfunction due to the injected code caused or could cause significant harm. Therefore, this event is an AI Incident.
Thumbnail Image

Hacker Plants Computer 'Wiping' Commands in Amazon's AI Coding Agent

2025-07-23
404 Media
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon's generative AI coding assistant 'Q') that was compromised by a hacker who injected malicious AI prompts designed to wipe user systems. The AI system's development and deployment process was directly exploited, leading to the distribution of harmful code to users. Even though the wiping commands likely would not have succeeded, the presence of such malicious code in a widely used AI tool constitutes a direct risk of harm to users' property and data. The incident is a realized security breach involving an AI system, fulfilling the criteria for an AI Incident as the AI system's use and development directly led to potential harm. The event is not merely a potential hazard or complementary information, but a concrete incident involving AI-related harm or risk.
Thumbnail Image

Amazon Q extension for VS Code reportedly injected with 'wiper' prompt

2025-07-24
SC Media
Why's our monitor labelling this an incident or hazard?
The Amazon Q extension is an AI system as it is an AI-powered coding assistant integrated into an IDE. The malicious prompt injection was introduced during the use and deployment of this AI system, constituting a malfunction or misuse that could directly lead to harm by deleting files and cloud resources. Even though no actual damage was reported, the presence of a destructive prompt in an official release that was installed nearly a million times represents a realized AI Incident due to the direct risk and potential harm to property and cloud infrastructure. The event involves direct harm potential and misuse of an AI system, fitting the definition of an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Hackers Injected Destructive System Commands in Amazon's AI Coding Agent

2025-07-25
Cyber Security News
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon Q AI coding assistant) whose development and deployment were compromised by a malicious actor injecting harmful system commands via a prompt. This directly relates to the AI system's use and development. While no actual harm occurred due to the malformed prompt, the potential for harm to users' local files and AWS cloud resources was present, constituting a direct risk of harm to property and critical infrastructure. The incident thus qualifies as an AI Incident because the AI system's malfunction or misuse led to a security breach with potential for significant harm. The company's mitigation and lack of realized damage do not negate the classification as an incident, given the direct link to potential harm and the AI system's role.
Thumbnail Image

Hacker Sneaks Data-Deleting Prompt Into Amazon's AI Coding Tool

2025-07-25
ExtremeTech
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (the AI coding assistant Q) that was compromised by a malicious prompt designed to delete user files and cloud resources, which constitutes a direct threat to property and data. Although no actual harm occurred, the incident demonstrates a credible risk of harm due to the AI system's misuse or malfunction. Therefore, it qualifies as an AI Hazard because the AI system's involvement could plausibly lead to an AI Incident if exploited. It is not an AI Incident since no harm materialized, nor is it merely Complementary Information or Unrelated.
Thumbnail Image

Amazon Q Security Breach Exposes Critical Flaws in AI Coding Assistants - WinBuzzer

2025-07-25
WinBuzzer
Why's our monitor labelling this an incident or hazard?
The event explicitly involves AI systems (Amazon Q and Replit AI coding assistants) whose malfunction or misuse directly led to harm or risk of harm. The hacker's injection of destructive commands into Amazon Q's codebase, which was released publicly, constitutes a direct AI Incident due to the realized security breach and potential damage to users' systems (harm to property). The Replit incident further confirms actual harm caused by AI misuse. The involvement of AI in these harms, the direct link to security vulnerabilities, and the resulting damage or risk thereof meet the criteria for an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Hacker Exploits Amazon GitHub with Malicious Q Extension Code

2025-07-26
WebProNews
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon's Q Developer Extension) that uses AI-assisted coding capabilities. A hacker exploited the development process by inserting malicious code into the AI tool's public repository, which was merged and released. This malicious code could have caused deletion of local files and AWS cloud resources, representing harm to property and critical infrastructure. Although the attack did not succeed in executing the harmful commands, the presence of the malicious code in a released version and the potential for significant damage meets the criteria for an AI Incident. The incident stems from the AI system's development and use, with direct links to potential harm. The event is not merely a potential hazard or complementary information but a realized security breach involving an AI system with direct implications for harm.
Thumbnail Image

Amazon's AI coding revealed a dirty little secret

2025-07-29
Economic Times
Why's our monitor labelling this an incident or hazard?
The event involves an AI system explicitly (Amazon's AI-powered coding tool) and describes a direct misuse of that system leading to potential harm (deletion of user files). The hacker's manipulation of the AI system's code generation function caused a security breach that could harm users' property (data/files). This fits the definition of an AI Incident because the AI system's use and malfunction (due to malicious input) directly led to harm or risk of harm. The article also discusses broader risks and mitigation strategies, but the core event is a realized AI Incident rather than a hazard or complementary information.
Thumbnail Image

Amazon's AI coding agent was hacked - update now to avoid possible risks, users warned

2025-07-28
TechRadar
Why's our monitor labelling this an incident or hazard?
The Amazon Q Developer Extension is an AI system designed to assist developers with coding tasks, which qualifies as an AI system. The malicious commit introduced a data-wiping payload, which is a direct threat to property and potentially to users' digital environments. Even though no confirmed harm occurred, the presence of malicious code that could delete system and cloud resources constitutes a direct AI Incident because the AI system's use (the compromised extension) directly led to a significant risk of harm. The event involves the use and malfunction (compromise) of an AI system leading to potential harm, fulfilling the criteria for an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Amazon's AI coding assistant exposed nearly 1 million users to potential system wipe

2025-07-27
TechSpot
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon's generative AI coding assistant) whose use and integration into software development pipelines was exploited by a hacker to insert malicious code that could have caused harm (deletion of files and cloud resources). The exposure of nearly one million users to this risk constitutes a direct link to potential harm, fulfilling the criteria for an AI Incident. Although no actual damage occurred due to the code being nonfunctional, the event still represents realized harm exposure and a failure in AI system management and security, which is sufficient for classification as an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Amazon Q GitHub Hack: Malicious Code Risks 1M Users' Files

2025-07-27
WebProNews
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (the AI-driven Q Developer Extension) whose development and use were compromised by malicious code injection. The malicious code could have caused direct harm to users' local files and cloud infrastructure, which are forms of harm to property and communities. Although the harm was averted, the incident still qualifies as an AI Incident because the AI system's malfunction and misuse directly led to a significant risk of harm affecting a large user base. The involvement of AI in generating or executing code that could cause damage, combined with the scale of exposure and the nature of the threat, meets the definition of an AI Incident rather than a mere hazard or complementary information.
Thumbnail Image

Hacker Exploits Amazon Q with Prompt Injection, Hits 1M Users

2025-07-28
WebProNews
Why's our monitor labelling this an incident or hazard?
The event explicitly involves an AI system (Amazon Q, a generative AI assistant for developers) that was exploited via prompt injection to deliver malicious commands. The hacker's actions directly led to a potential harm scenario affecting nearly 1 million users, with the AI system's misuse being central to the incident. Even though actual data loss was averted, the direct link between the AI system's use and the threat to user data and cloud resources constitutes an AI Incident. The event is not merely a potential hazard or complementary information, as the breach and exploitation occurred and had real impact in terms of risk and user exposure.
Thumbnail Image

Amazon Q Developer Extension Hacked, Highlights AI Tool Vulnerabilities

2025-07-28
WebProNews
Why's our monitor labelling this an incident or hazard?
The event explicitly involves an AI system (the AI-powered Amazon Q Developer Extension) whose development and use were compromised by a hacker injecting malicious code. This code could have led to harm including data loss and disruption of AWS cloud infrastructure, which qualifies as harm to property and critical infrastructure. The incident has already occurred, with the malicious code distributed to users, thus constituting an AI Incident rather than a mere hazard or complementary information. The presence of actual realized risk and the direct link to the AI system's malfunction and misuse justify classification as an AI Incident.
Thumbnail Image

Amazon's AI coding tool almost went full Terminator - here's how a hacker nearly made it happen!

2025-07-29
TechRadar
Why's our monitor labelling this an incident or hazard?
An AI system (Amazon's AI coding assistant Q) was involved, and the event stems from its development and use. The malicious prompt could have led to harm to property (user systems and cloud resources) if it had functioned as intended. Since no actual harm occurred but the risk was credible and the incident exposed a serious security vulnerability, this qualifies as an AI Hazard. The event highlights plausible future harm due to the AI system's development and use, but since no realized harm happened, it is not an AI Incident.
Thumbnail Image

When AI Assistants Turn Against You: The Amazon Q Security Wake-Up Call - DevOps.com

2025-07-29
DevOps.com
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon Q AI coding assistant) that interprets natural language prompts to execute code and commands, fitting the definition of an AI system. The malicious prompt injection was included in an official release, leading to the AI system executing destructive instructions targeting file systems and cloud resources, which are critical infrastructure components. Although the harm was mitigated by a syntax error, some execution reportedly occurred, indicating direct involvement of the AI system in causing or nearly causing harm. The incident also highlights the AI system's misuse and failure in security design, fulfilling the criteria for an AI Incident. The event is not merely a potential risk or complementary information but a realized security breach with direct AI involvement and harm or near harm.
Thumbnail Image

Amazon AI Tools Like CodeWhisperer Risk Hacks from Flawed Code

2025-07-29
WebProNews
Why's our monitor labelling this an incident or hazard?
The article explicitly mentions AI systems (Amazon's CodeWhisperer, Q AI assistant, and Kiro) involved in generating code that contains security vulnerabilities. These vulnerabilities have directly led to hacking incidents and potential damage to users' local files and AWS cloud infrastructure, constituting harm to property and critical infrastructure. The hacker's exploit of the AI system and the resulting breaches confirm realized harm caused by the AI system's malfunction or misuse. The discussion of systemic risks and calls for human oversight further support the classification as an AI Incident rather than a mere hazard or complementary information.
Thumbnail Image

Researcher Exposes Amazon Q Flaw with Malicious GitHub Prompt

2025-07-29
WebProNews
Why's our monitor labelling this an incident or hazard?
The event describes a concrete case where the development and use of an AI system (Amazon's Q Developer Extension) led to a security breach involving malicious prompt injection. The AI system's behavior was manipulated to potentially cause harm (deleting user files and cloud resources). Although the harm was likely prevented by safeguards, the incident reached a large user base and posed a credible risk of significant harm to property and cloud infrastructure. This meets the criteria for an AI Incident because the AI system's development and use directly led to a security vulnerability with potential for serious harm, and the incident affected real users. The presence of an AI system is explicit, the harm is linked to its use and development, and the risk was realized to the extent that the malicious prompt was distributed and could have caused damage.
Thumbnail Image

Hacker claims to have exposed Amazon's 'AI security theater' after exploiting its coding assistant with a simple factory reset prompt

2025-07-30
pcgamer
Why's our monitor labelling this an incident or hazard?
The event describes a direct attempt to exploit an AI system (Amazon Q) that could have caused harm to user data and property by wiping systems. Even though the attack failed, the potential for harm was real and credible, involving the AI system's use and development. This fits the definition of an AI Incident because the AI system's use and the malicious code insertion directly led to a security breach attempt with potential harm to users. The incident also highlights issues in AI system security and governance but the primary classification is AI Incident due to the realized security breach attempt and potential harm.
Thumbnail Image

Amazon's Coding Tool Hacked -- Experts Warn of Bigger Risks - IT Security News

2025-07-30
IT Security News - cybersecurity, infosecurity news
Why's our monitor labelling this an incident or hazard?
The event explicitly involves an AI system (Amazon Q) used as a coding assistant. The hacker exploited the AI tool's extension to insert malicious commands that could delete files and cloud resources, which constitutes harm to property and digital infrastructure. Even though the attacker claimed no intent to cause damage, the AI system's misuse directly led to a security breach with potential for significant harm. Therefore, this qualifies as an AI Incident due to realized harm or direct risk caused by the AI system's compromised use.
Thumbnail Image

Hacker Exposes Amazon Q Security Flaws Using Covert Code

2025-07-28
TechRepublic
Why's our monitor labelling this an incident or hazard?
The event clearly involves an AI system (Amazon Q, an AI coding assistant). The hacker's code injection represents a misuse of the AI system's development environment, which could have plausibly led to harm (data wiping affecting up to one million developers). However, the malicious prompt was non-executable and no actual damage or injury occurred. Therefore, this is an AI Hazard because it plausibly could have led to an AI Incident but did not. The company's mitigation and acknowledgment further support that harm was averted. Hence, the classification is AI Hazard.
Thumbnail Image

Amazon's AI coding revealed a dirty little secret

2025-07-29
ETCISO.in
Why's our monitor labelling this an incident or hazard?
The article explicitly mentions an AI-powered plugin for Amazon's coding tool being hacked to delete files, which is harm to property caused by the AI system's use and malfunction. The AI system is central to the incident, as the hacker exploited it to cause damage. This fits the definition of an AI Incident, as the AI system's use directly led to harm. The event is not merely a potential risk or a general update but a realized harm involving AI.
Thumbnail Image

Amazon's AI coding revealed a dirty little secret

2025-07-29
ETTelecom.com
Why's our monitor labelling this an incident or hazard?
The event involves an AI system explicitly described as an AI-powered coding tool used by Amazon. The hacker exploited the AI system's behavior by injecting hidden instructions, causing it to generate malicious code that could delete files, which is harm to property. The incident occurred due to the AI system's use and malfunction (manipulation), and the harm or risk of harm was realized as the tampered software was shipped to users. The company's quick mitigation does not negate the fact that harm or risk of harm occurred. Therefore, this is an AI Incident.
Thumbnail Image

Amazon's AI Coding Revealed a Dirty Little Secret

2025-07-29
Bloomberg Business
Why's our monitor labelling this an incident or hazard?
The article explicitly mentions an AI-powered plugin being hacked to delete files, which is a direct harm to property caused by the AI system's use and malfunction. The AI system is central to the incident, as the malicious instructions were embedded in the AI plugin. This meets the definition of an AI Incident because the AI system's use led directly to harm (file deletion).
Thumbnail Image

Amazons AI Coding Revealed a Dirty Little Secret | Mint

2025-07-29
mint
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (an AI-powered coding tool plugin) whose use was compromised by a hacker to delete files, directly causing harm to property (computers' files). This constitutes an AI Incident because the AI system's use was maliciously exploited, leading to realized harm.
Thumbnail Image

Amazon's AI Coding Revealed a Dirty Little Secret

2025-07-30
Advisor Perspectives
Why's our monitor labelling this an incident or hazard?
The event explicitly involves an AI system (Amazon's AI-powered coding tool) that was manipulated through malicious input to produce harmful outputs (code that deletes files). This led to realized harm to users' property, fulfilling the criteria for an AI Incident. The incident stems from the use and misuse of the AI system, directly causing harm through its outputs. Therefore, it qualifies as an AI Incident rather than a hazard or complementary information.
Thumbnail Image

Vibe coding craze faces security wake-up call - TechCentral

2025-07-29
TechCentral
Why's our monitor labelling this an incident or hazard?
The article explicitly involves an AI system (an AI-powered coding tool) whose misuse by a hacker led to the deployment of malicious code that could delete user files, constituting harm to property. This meets the criteria for an AI Incident because the AI system's use and malfunction directly led to realized harm (or at least a credible risk of harm that was actualized in the tampered software). The event is not merely a potential hazard or complementary information; it reports a concrete security breach involving AI misuse with direct consequences. Therefore, it qualifies as an AI Incident.
Thumbnail Image

亚马逊AI编程助手被曝严重漏洞,近百万用户面临被删库风险

2025-07-28
k.sina.com.cn
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon Q, a generative AI programming assistant) whose development and deployment were compromised by malicious code injection. The injected code could have led to significant harm (deletion of user files and cloud resources), but the code was disabled and did not execute, and no users were harmed. The AI system's malfunction or misuse could plausibly have led to an AI Incident, but since harm was averted, this is best classified as an AI Hazard. The event highlights a credible risk due to security vulnerabilities in the AI system's development and distribution process.
Thumbnail Image

亚马逊的AI编程助手使近100万用户面临被删库的风险 - cnBeta.COM 移动版

2025-07-27
cnBeta.COM
Why's our monitor labelling this an incident or hazard?
An AI system (Amazon's generative AI programming assistant) was directly involved and compromised, leading to the injection of malicious code that could delete user data and cloud resources, which constitutes harm to property and potentially to users' digital assets. Although no actual damage occurred, the risk was real and immediate, affecting a large user base. The AI system's development and use were central to the incident, and the event involved a malfunction in the security and code review processes related to the AI tool. Therefore, this qualifies as an AI Incident due to the direct link between the AI system's compromised state and the potential for significant harm.
Thumbnail Image

亚马逊AI编程助手遭篡改,被植入删库等破坏性指令

2025-07-28
k.sina.com.cn
Why's our monitor labelling this an incident or hazard?
The event involves an AI system (Amazon Q AI coding assistant) whose code was maliciously altered to include destructive commands that could delete user and cloud data. The malicious code was distributed through an official update, meaning the AI system's use was compromised and directly linked to a potential for harm. Although no actual harm occurred, the direct insertion and distribution of harmful AI instructions constitute an AI Incident due to the realized misuse and the direct risk posed to users. The incident is not merely a potential hazard or complementary information because the malicious code was actively deployed and could have caused harm. Therefore, the classification is AI Incident.