techlist.io
OpenAI2025-11-063 min read

Curated summary

Understanding prompt injections: a frontier security challenge

Read original(opens in new tab)

Prompt injection is a social-engineering attack against AI systems: malicious instructions hidden in content the AI reads, such as web pages, listings, reviews, or emails, that try to make it do something the user never asked for. As AI agents gain access to more data and take more autonomous actions, the risk grows. OpenAI describes this as an open, ongoing challenge and says its goal is to build defenses that complete the user's intended task even when someone is actively trying to mislead the model.

What Prompt Injection Looks Like

  • A conversation can include content from many sources, and a third party can slip instructions into that context to mislead the model.
  • Examples include a planted review or listing comment that steers an apartment search toward a worse option, or a crafted email that gets an overnight email agent to find and share bank statements.
  • The attack works like phishing: it targets the AI's willingness to follow instructions rather than exploiting code.

How OpenAI Defends Against It

  • Safety training: Models are trained to distinguish trusted instructions from untrusted content (the "Instruction Hierarchy" research), and to ignore or flag injection patterns. Automated red-teaming generates new attacks for training. Robustness remains an unsolved problem.
  • Automated monitors: AI-powered monitors detect and block injection attacks. Because they can be updated quickly, they can respond to new attacks faster than training alone, and they can catch adversarial testing on the platform before it reaches users.
  • Security protections: Protections are tailored per product.
    • In ChatGPT, users must approve certain links before they are visited, especially on sites that ask not to be indexed.
    • Tools that run code, such as Canvas and Codex, use sandboxing to contain harmful changes.
  • User controls:
    • ChatGPT Atlas offers a logged-out mode so the agent can work without access to your accounts.
    • The agent pauses for confirmation before sensitive steps such as purchases.
    • "Watch Mode" on sensitive sites requires the tab to stay active and pauses the agent when you leave it.
  • Red-teaming: Internal and external teams have spent thousands of hours on prompt injection and fix vulnerabilities as they find them.
  • Bug bounty: Researchers are paid for demonstrating realistic attack paths that could expose user data.
  • Informed choice: When connecting ChatGPT to other apps, the product explains what data may be accessed, how it may be used, and the associated risks. Organizations can control which features users may enable.

Steps Users Can Take

  • Limit access: Give agents only the data and credentials they need. For research tasks, use logged-out mode.
  • Review confirmations: Check that a requested action is correct and that any shared information is appropriate before approving it. On sensitive sites like your bank, watch the agent work.
  • Give specific instructions: Broad directives such as "review my emails and take whatever action is needed" give hidden content more room to mislead the agent. Narrow, explicit tasks are harder to hijack.
  • Stay informed: Follow updates from OpenAI and other trusted sources as best practices evolve.

Looking Ahead

  • Prompt injection is not yet a widely observed attack in practice, but OpenAI expects attackers to invest heavily in it, much as they have with web scams.
  • OpenAI plans to publish more on its security work, including a report on detecting when an AI's internet communications would transmit information from a conversation.

Continue with another curated summary.