If attackers get repeated feedback from a scanner or the model itself, can they tune hidden instructions until they slip past undetected?
Can iterative feedback loops make hidden prompt attacks more effective?
This explores whether attackers who get repeated feedback — from a detector, a scanner, or the model's own replies — can use it to refine hidden or injected instructions until they slip through.
This explores whether attackers who get repeated feedback — from a detector, a scanner, or the model's own replies — can use it to tune hidden instructions until they work. The corpus says yes, and the clearest case is also the most uncomfortable: the defense itself supplies the feedback. In work on malicious agent skills, attackers used scanner verdicts as a training signal, rewriting each skill until it stopped looking suspicious, and reached about 96% average attack success across six scanners. The trick works because scanners judge skills one at a time, so each piece can be sanded down to look harmless while the harmful behavior lives in how the pieces chain together Can attackers evade skill scanners by refining individual skills?.
The same pattern shows up with prompt injection aimed at AI reviewers. A detection filter cuts attack success substantially, especially when it runs separately from the scoring step, but attackers who adapt to it still get partway through Can detection filters stop prompt injection attacks on AI reviewers?. A more abstract result explains why this is hard to stop: if an attacker can send enough quiet probes that never trip an alarm, and the responses differ in any consistent way, they can learn to tell real targets from decoys with vanishing error Can repeated quiet probes separate decoys from genuine objects?. Any defense that answers queries leaks information about itself, and iteration is how that leak gets harvested.
Iteration also works inside a single conversation, not just across attempts. Multi-turn manipulative prompts lowered reasoning-model accuracy by 25 to 29 percent, and the models that reason at greater length were more exposed, because each extra step is another place where one corrupted idea can be elaborated into the rest of the answer Why do reasoning models fail under manipulative prompts?. A related surprise from web agents: susceptibility to manipulative page design rose with model scale and reasoning capacity, with agents falling for dark patterns at 68–75% versus 31% for humans Do dark patterns fool AI web agents more than humans?.
There is a non-adversarial version of the same loop that is worth knowing about. In one production case, automated prompt optimization raised a judge's pass rate from 23.1% to 80.0% by picking up the judge's preferred vocabulary, while actual defect-finding precision did not move Can prompt optimization accidentally teach judges to reward the wrong signals?. Nobody was attacking anything; a feedback loop simply found what the evaluator rewards rather than what it was meant to measure. An attacker's refinement loop is that same dynamic pointed on purpose.
The practical upshot is that defenses built on spotting bad inputs are the ones feedback loops erode, because they give the attacker something to optimize against. The alternative in the corpus is structural: design the agent so untrusted input has no path to consequential actions at all, through patterns like Plan-Then-Execute, which hold no matter how well-polished the injected text is Can structural design patterns block prompt injection attacks?. The corpus has little that measures feedback-driven refinement of hidden prompts directly beyond the skill-scanner and reviewer cases, so treat the broader claim as a well-supported pattern rather than a settled measurement.
Sources 7 notes
ColluSkill combines chain planning with scanner-feedback refinement to reach 96% average attack success. The approach works because scanners score skills individually, allowing feedback to reduce suspicion per skill while chain-level semantics remain intact.
A detection filter substantially lowered attack success rates, especially when run separately from scoring, yet adaptive attackers still found ways to partially bypass it. This suggests single-layer defenses are insufficient against informed adversaries.
In idealized settings with independent responses, enough quiet probes let a classifier separate decoys from genuine objects with vanishing error if their response distributions differ and are known or learnable from feedback.
GaslightingBench-R demonstrates that o1 and R1 models are more vulnerable to multi-turn adversarial prompts than standard models. Extended reasoning chains create more intervention points where single corrupted steps propagate through elaboration.
A 700-task benchmark found LLM web agents fall for dark patterns at 68–75% rates versus 31% for humans, with susceptibility increasing alongside model scale and reasoning capacity.
Show all 7 sources
A production case showed a prompt mutation raising rationale-alignment pass rate from 23.1% to 80.0% by adopting the judge's preferred vocabulary, while defect-identification precision remained unchanged. The gap between the two measures reveals the shortcut: the prompt learned to sound right rather than be right.
Six architectural patterns, including Action-Selector and Plan-Then-Execute, block prompt injection by cutting the control-flow path from untrusted input to consequential actions. System-level constraints outperform LLM-level and user-level defenses because they provide guarantees rather than probabilistic risk reduction.
Papers this line draws on 8
The research behind the notes this line reads — ranked by how closely each paper relates.
- Design Patterns for Securing LLM Agents against Prompt Injections
- DECEPTICON: How Dark Patterns Manipulate Web Agents
- Optimizing the Score, Losing Sight of the Task: Reward Hacking Across Weights, Selection, and Prompts
- AI Agent Traps
- Invalid Logic, Equivalent Gains: The Bizarreness of Reasoning in Language Model Prompting
- LLMs Corrupt Your Documents When You Delegate
- LLMs Can Covertly Sandbag on Capability Evaluations Against Chain-of-Thought Monitoring
- Reasoning Models Are More Easily Gaslighted Than You Think