Tag

#Prompt Injection

AI Agents

Role Confusion Is the Prompt Injection You Didn't Patch

Role confusion exploits how text sounds, not which role tag it carries. The fix isn't a filter — it's a trust-level envelope in your message construction code. Here's the structural patch.

June 24, 2026
AI Agents

Prompt Injection in Tool-Calling Agents: The Surface You are Ignoring

Once your agent calls tools, prompt injection is a live attack path. Here's the exploit in real Python — and the Pydantic fix that belongs in your dispatch layer.

May 05, 2026