Topic

Prompt Injection

Prompt injection attacks, mitigations, detection, and design patterns for safer AI applications.

prompt injectionindirect prompt injectionjailbreakagent hijackprompt abuse
Evergreen Overview

Prompt injection is the core attack pattern in modern AI applications. It happens when a model treats malicious or conflicting instructions from users, retrieved content, documents, tools, or pages as trusted guidance and changes its behavior in response.

What this page helps explain
  • Direct, indirect, and cross-context prompt injection
  • How documents, web content, and tool output become attack carriers
  • Why prompt injection is a workflow problem as much as a model problem
What secure teams focus on
  • Trust boundaries between instructions, content, tools, and actions
  • Approvals, isolation, and scoped permissions for agent behavior
  • Detection and monitoring patterns when prompt controls fail
Who this page is for
  • Agent builders and platform engineers
  • Readers studying retrieval or tool-enabled products
  • Leaders who need practical language for why this risk matters
References

Current notes, events, and source material

These items are included because they add useful evidence, framing, implementation detail, or upcoming context for teams working in this area.

The Hacker News AI Security July 21, 2026 news

AWS Kiro Flaw Let a Poisoned Web Page Rewrite Its Config and Run Code

Intezer and Kodem Security found that hidden instructions in a fetched web page could make AWS Kiro write a malicious MCP server into its own configuration and automatically execute it with the developer’s privileges. The prompt-injection chain bypassed meaningful approval, affected tested 0.9 and 0.10 builds, and was confirmed fixed in version 0.11.130; no in-the-wild exploitation was reported.

The Hacker News AI Security July 21, 2026 news

Open-Source Android AI Agents Could Let Invisible Screen Text Run Code on Host PCs

Academic researchers evaluated five open-source mobile-agent frameworks against seven attacks that exploit the gap between what a vision model and a user can see. Subliminal overlays, pixels hidden beneath phone bezels, screenshot races, and forged activities redirected agent actions; in four frameworks, unsanitized model-generated ADB input also enabled command execution on the host PC.

The Hacker News AI Security July 20, 2026 news

FakeGit Campaign Uses 7,600 GitHub Repositories to Spread SmartLoader Malware

Island identified roughly 7,600 malicious GitHub repositories in the FakeGit campaign, including more than 800 posing as AI skills or MCP servers and more than 600 listings in public AI registries. Tests showed coding assistants could independently surface the lures and repeat their installation instructions, which delivered SmartLoader and the StealC information stealer.

AWS Security Blog July 8, 2026 analysis

Designing for the inevitable: System prompt leakage and mitigations in generative AI applications

System prompts form the foundation of generative AI applications. A system prompt is a collection of instructions and operational context provided to a large language model (LLM) that shapes how the model behaves and interacts with users and tools. System prompts often contain proprietary information, including role de

Microsoft Security Blog July 6, 2026 news

5 insights from Frost & Sullivan’s 2025 Frost Radar™ for Cloud Security Posture Management

Read five key learnings from the Frost & Sullivan 2025 Frost Radar™ for CSPM to learn how CSPM is evolving from point-in-time compliance to continuous risk management. The post 5 insights from Frost & Sullivan’s 2025 Frost Radar™ for Cloud Security Posture Management appeared first on Microsoft Security Blog .

The Hacker News AI Security June 22, 2026 news

Stop Your Legacy Infrastructure from Hijacking Your AI Agents

Earlier this month, I spoke at the Gartner Security & Risk Management Summit about a blind spot most security programs are still not accounting for - how attackers are circumventing AI security programs by using legacy infrastructure to hijack AI agents. AI adoption is moving faster than security programs can account f

The Hacker News AI Security June 11, 2026 news

New Attacks Trick OpenClaw AI Agent Into Running Code and Leaking Secrets

Two security teams have shown, in separate research published this week, that OpenClaw, the popular self-hosted AI agent, can be driven to run attacker-controlled code or hand over sensitive data through ordinary-looking inputs. Imperva buried instructions inside shared contacts, vCards, and location pins that the agen