惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
Visual Studio Blog
量子位
大猫的无限游戏
大猫的无限游戏
Hugging Face - Blog
Hugging Face - Blog
S
SegmentFault 最新的问题
Blog — PlanetScale
Blog — PlanetScale
月光博客
月光博客
Google DeepMind News
Google DeepMind News
小众软件
小众软件
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享
MongoDB | Blog
MongoDB | Blog
B
Blog RSS Feed
博客园 - Franky
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog
博客园 - 聂微东
The GitHub Blog
The GitHub Blog
Recent Announcements
Recent Announcements
Y
Y Combinator Blog
Microsoft Security Blog
Microsoft Security Blog
雷峰网
雷峰网
Jina AI
Jina AI
酷 壳 – CoolShell
酷 壳 – CoolShell

Schneier on Security

More on the OpenAI Agent's Attack on Hugging Face - Schneier on Security The OpenAI Hack Shows the Genie Is Out of the Bottle - Schneier on Security Friday Squid Blogging: Squid Helps Discover New Marine Species - Schneier on Security Anthropic's Opus 5 Is Better at Resisting Prompt Injection - Schneier on Security Facial Recognition at Madison Square Garden - Schneier on Security American Being Prosecuted for Wiping His Phone Before Handing It Over to Border Officials - Schneier on Security Should You Use AI for a Task? Here’s a Simple Way to Decide - Schneier on Security Measuring the Tendency of AI Agents to Go Rogue - Schneier on Security Long-Lived Vulnerability in Microsoft Secure Boot - Schneier on Security Measuring LLMs' Ability to Perform Cryptanalysis - Schneier on Security Axon Is Another License Plate Surveillance Company - Schneier on Security Cognyte Sells a Mobile Cell Surveillance Van - Schneier on Security Friday Squid Blogging: Illex Squid Catch in the Falklands - Schneier on Security Why AI Needs a “Genie Coefficient” - Schneier on Security End-to-End Encryption and "Going Dark" - Schneier on Security First-Person Identity Theft Story - Schneier on Security MIT to Become Hotbed of AI Video Surveillance - Schneier on Security On Flock License Plate Tracking Cameras - Schneier on Security Friday Squid Blogging: Squid Washing Up on Cape Cod Beach - Schneier on Security Details of Alan Turing's Voice Encryption System - Schneier on Security Protecting Privacy in an AI Era - Schneier on Security A Video Screen That Is Also a Camera - Schneier on Security Upcoming Speaking Engagements - Schneier on Security Vulnerability in FIFA's Network - Schneier on Security AI Data Centers and the Concentration of Wealth - Schneier on Security Friday Squid Blogging: "Squidbleed" Vulnerability - Schneier on Security AI Surveillance and Social Progress - Schneier on Security The Language of AI Could Change How Humans Speak - Schneier on Security Cybersecurity and the Gap Between Skill and Ability - Schneier on Security Google Is Suing Chinese Scammers Who Are Using Gemini - Schneier on Security
Interesting Paper Exploring Prompt Injection - Schneier o...
Bruce Schneier · 2026-06-25 · via Schneier on Security

This is a fascinating explotation of how LLMs fall for prompt injection attacks. It turns out that they learn to recognize the style of text in different role/instruction blocks, and not just the tags.

Their conclusion:

Role tags were a formatting trick that became the security architecture and the cognitive scaffolding of modern LLMs. We’ve shown that this architecture doesn’t survive into the model’s actual representations, and that such role confusion is linked to prompt injection.

Unless LLMs achieve genuine role perception, we think injection defense will remain a perpetual whack-a-mole game. And the continuous nature of role boundaries opens the threat of injections designed to subtly shift LLM states through seemingly innocuous text, legally and at scale.

More generally, roles are quietly one of the most important abstractions in the LLM stack, providing the boundaries meant to separate self from other, thought from communication, instruction from data. They’re human-controlled switches in an otherwise continuous system. We think they deserve a lot more study than they’ve gotten.

Full paper: “Prompt Injection as Role Confusion.” Simon Willison comments.

Posted on June 25, 2026 at 7:23 AM5 Comments

Sidebar photo of Bruce Schneier by Joe MacInnis.