Key facts
- OWASP's GenAI Security Project ranks prompt injection as the top risk in its LLM Top Ten list for 2026.
- This marks the third consecutive year that prompt injection has held the top position in the OWASP LLM Top Ten.
- OWASP states that prompt injection occurs when user‑supplied input or retrieved content changes a model’s behavior or output in ways the developer did not intend.
- Such inputs can be imperceptible to humans as long as the model parses them.
In 2026, OWASP’s GenAI Security Project ranked prompt injection as the top risk in its LLM Top Ten list for the third consecutive year. OWASP defines prompt injection as when user‑supplied input or retrieved content changes a model’s behavior or output in ways the developer did not intend. Such inputs can be imperceptible to humans as long as the model parses them.
Successful prompt injection can lead to disclosure of sensitive information, exposure of system prompts, biased or incorrect outputs, unauthorized function access, execution of arbitrary commands, and manipulation of decision‑making processes. Multimodal models increase the attack surface because hidden instructions can be embedded in non‑text modalities such as images. OWASP recommends constraining model behavior through detailed system prompts that define role, capabilities and limits. Defining and validating expected output formats helps detect deviations caused by injected prompts.
Applying input and output filtering, including semantic checks and string scanning, can identify and block malicious content. Enforcing least‑privilege access for the model—providing only the API tokens it needs and handling privileged functions in application code—reduces impact of prompt injection. Requiring human approval for high‑risk actions creates a human‑in‑the‑loop control that can prevent unauthorized actions stemming from prompt injection. Segregating and marking external content limits its influence on user prompts.
Regular adversarial testing and attack simulations, treating the model as an untrusted user, help assess the effectiveness of trust boundaries. OWASP notes that prompt injection differs from SQL injection because there is no known engineering fix that definitively eliminates it; organizations must treat it as an ongoing operational risk. Despite a small number of publicly recorded prompt‑injection incidents, security practitioners rank it highly because mature teams invest resources to block exploits, keeping the public count low.
The ranking is informed by a database of approximately 10,000 real-world AI security incidents compiled by OWASP. Agentic AI systems that combine access to private data, exposure to untrusted content, and external communication capability can be turned into exfiltration tools by a single injected prompt—a concept described as the “lethal trifecta.” The “Agents Rule of Two” states that an autonomous agent may meet at most two of the three lethal‑trifecta properties; meeting all three requires a human in the loop.

Supply‑chain attacks inject prompt‑injection payloads, exemplified by the March 2026 PyPI backdoor in the LiteLLM package that distributed the hackerbot‑claw payload to nearly 47,000 downloads. Regulatory timelines for reporting AI‑related incidents are tightening; examples include DORA’s four‑hour notification window, NIS2’s 24‑hour early warning, New York’s RAISE Act 72‑hour clock, and California’s SB 53 15‑day window. OWASP tracks 42 regulatory instruments across 10 jurisdictions that affect AI security compliance.
According to IBM data cited by OWASP, only 37 % of organizations have a policy to detect shadow AI usage. The OWASP GenAI Security Project’s 2026 Top 10 download exceeded 10,000 copies within the first 48 hours after release. The project has introduced an Agent Control Standard to provide practical runtime enforcement for securing agentic AI systems. OWASP’s guidance is mapped to external frameworks such as NIST, MITRE ATLAS, CWE and its own Agentic Applications Top 10, helping enterprises align AI risk assessments with existing compliance programs.

Join the discussion