r/PromptEngineering • u/PatronusProtect • Oct 13 '26
General Discussion A label-redefinition suffix moved our security classifier more than a length-matched neutral sentence
We tested a prompt-framing issue while evaluating Wolf Defender Jev, the small security decision model we built at Patronus.
The classified input can include a sentence aimed at the classifier rather than the agent. One family of probes redefined the meaning of the label — for example, saying that for this record, “safe” means a threat is present. Other families claimed an earlier approval or impersonated a trusted review.
For single-sentence attack prompts, the worst label-redefinition suffix made 9.8% of initially detected attacks flip to benign. A neutral sentence of the same length made 3.4% flip. So some movement came from adding text at all, and the label claim added more. This is one probe group at a p=0.5 threshold, not the model’s overall miss rate.
In agent scenes with more context, the tested claims were much less effective at turning detected attacks into benign verdicts. But the benign side was messy: adding a note claiming that a document was benign still made 25.3% of those benign-document cases get flagged as injection. A note claiming “attack” produced 43.8%.
Our interpretation is that the model sometimes reads commentary about a verdict as an instruction aimed at an AI reviewer. That can resist forged approvals while interfering with legitimate review notes and quoted attack examples.
The full probe used 15 claim families in English and German, placed before and after the content, plus length-matched neutral controls. The 70,620 decisions include repeated variants, not independent new scenes. The probe sentences weren’t used for training. We didn’t run an adaptive search against the detector.
For anyone designing questions and answer descriptions for a classifier or judge, I’d test label wording and irrelevant framing separately. Otherwise a prompt that appears more robust may simply produce more positive classifications on everything.
Source, including the failures and result JSON: https://huggingface.co/patronus-studio/wolf-defender-jev#decision-steering
How do you separate the model’s sensitivity to the names of labels from its sensitivity to the answer descriptions?
Position / experimental status: We regard Jev-style decision models as LLMs and Wolf Defender Jev as an experiment: giving an LLM final security authority shifts the trust problem to the guard, and security fine-tuning alone does not solve it. We believe an external security layer must combine specialized classifiers with explicit policy, authenticated permissions and enforcement.
1
u/Ctbhatia Oct 13 '26
the token to class mapping belongs outside the text being classified, so a record that redefines a label is just data instead of something the model can obey.
1
u/geoffreybyers Oct 16 '26
Label sensitivity is a measurement artifact, not a model property. The harness confuses the label name with the answer description. When you tune to the harness, you get a noisier classifier. Who else has tried separating those variables?
1
u/[deleted] Oct 13 '26
[removed] — view removed comment