techlist.io

Social Engineering

2 posts

OpenAI2026-03-103 min readCurated summary

Designing AI agents to resist prompt injection

Prompt injection against AI agents increasingly works like social engineering: attackers write misleading content that looks legitimate rather than issuing crude override commands. The authors argue that filtering inputs cannot reliably catch these attacks, so agents should be designed to limit the damage a successful manipulation can do. They describe how ChatGPT applies this principle, mainly by monitoring for information leaving the conversation and requiring user confirmation before it does. ## From Crude Overrides to Social Engineering - Early attacks were simple, such as editing a Wikipedia article to include direct instructions for visiting AI agents. Models initially followed these without question. - As models became more resistant to direct instructions, attackers began embedding social engineering elements in their content. - One 2025 example, reported to OpenAI by external researchers, was a disguised email. It was framed as a routine HR follow-up with action items, and it told the assistant to retrieve an employee's profile and submit it to a "compliance" endpoint. It succeeded 50% of the time against a user prompt asking ChatGPT to deep-research their emails about a new employee process. - "AI firewalls," which classify inputs as malicious or benign before they reach the agent, often miss these sophisticated attacks. Detecting them becomes like detecting a lie or misinformation, which is hard without context. ## Treating Agent Security Like Human Social Engineering Defense - The authors compare an AI agent to a customer service representative who acts for an employer but constantly receives potentially misleading input from outsiders. - Human agents are protected by limits on what they can do. For example, a refund system caps payouts, and phishing emails get flagged. Such controls contain the damage when an individual agent is deceived. - The authors apply the same logic to agents: assume some manipulation will succeed, and constrain what the agent can do in that case. ## Layered Defenses in ChatGPT - **Source-sink analysis:** An attack needs a source (a way to influence the system, such as untrusted external content) and a sink (a dangerous capability, such as sending data to a third party, following a link, or calling a tool). Defenses focus on breaking that combination. - **Core expectation:** Dangerous actions or transmissions of sensitive information should never happen silently or without safeguards. - **Safety training first:** Most observed attacks try to get the assistant to send secret conversation information to a third party, and most fail because the model refuses. - **Safe Url:** For the cases where the model is convinced, Safe Url detects when information learned in the conversation would be transmitted to a third party. It then either shows the user the data and asks for confirmation, or blocks the transmission and tells the agent to find another approach. - **Coverage:** The same mechanism applies to navigation and bookmarks in Atlas, and to searches and navigation in Deep Research. - **Sandboxing:** ChatGPT Canvas and ChatGPT Apps run in sandboxes that detect unexpected communications and ask the user for consent. ## Looking Ahead - Safe interaction with the outside world is necessary for fully autonomous agents. - Developers integrating AI models should ask what controls a human in the same role would have, and implement those controls. - The authors expect that highly capable models will eventually resist social engineering better than humans, but structural controls remain necessary where that is not yet reliable or cost-effective. - OpenAI continues to incorporate these findings into both its application security architecture and model training.

OpenAI2025-11-063 min readCurated summary

Understanding prompt injections: a frontier security challenge

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.