Skip to content

PromptLocate: Locating prompt injection attacksPromptLocate: Localizing Prompt Injection Attacks

arXiv· arXiv:2510.12252· IEEE S&P 2026· Yuqi Jia, Yupei Liu, Zedian Shao, Jinyuan Jia, Neil Gong·Indexed by this site · 26 days ago· Originally publishedDefenses
AI summary

Yuqi Jia and other researchers propose PromptLocate in an arXiv paper, for locating the injected prompts that prompt injection attacks mix into the input data of large language models; the authors claim this is the first method of its kind. Prompt injection attacks lure the model into executing tasks specified by the attacker by mixing prompts composed of injected instructions and data into the input data; locating the injected prompts is critical for post-attack forensic analysis and data recovery, but this direction has previously been largely unexplored. PromptLocate works in three steps: first splitting the contaminated data into semantically coherent segments, then identifying segments contaminated by injected instructions, and finally precisely locating segments contaminated by injected data. The authors claim that the method can accurately locate injected prompts on eight existing attacks and eight adaptive attacks.

Read originalIEEE S&P 2026