How to prevent prompt injection, tested across 13 attacks and four models
AIOpenRouter tested 25 prompt injection attacks, 13 written by its team and 12 by other models, against four current models with each defense switched on and off. With its Armor tool-call checker enabled, attack emails dropped from 73 of 1,440 attempts to 0, while nearly all legitimate emails still went through.
Source details
OpenRouter Blog · openrouter.aiPublished · added here
Original title: How to Prevent Prompt Injection: 13 Attacks, Tested