Found 1 of 810 papers
The paradox: LLMs get hijacked through external text, and the same LLM can scan that text. PromptArmor lets you use an off-the-shelf language model as a security guard, even the same model that does the task: no fine-tuning. Strong models (GPT-4o, GPT-4.1, o4-mini) did this well; weak ones much less so. The trick: first ask the model to find hidden commands in the text, then give it the cleaned text for the main task, and the success rate of prompt injection attacks drops below 1% on the AgentDojo benchmark, from about 55% with no defense.