Appearance
Put a four-digit PIN in a system prompt, tell the model not to reveal it, then ask for a list of random integers. The list won't contain the PIN. Not as a string, not as a permutation, not as an off-by-one neighbor. An adversary holding the weights can still recover it, because the secret bends the model's token distribution on a task that has nothing to do with secrets.
That result is the sharpest of the four papers here. The rest fill in the same shape at different layers of the stack:
- LLMs Leak Secrets Through Unrelated Outputs, the subliminal leakage result above
- SelfGuard, multi-modal jailbreak detection trained on benign data only
- AgentDoG2, a small-model alignment framework for long-horizon agent trajectories
- In Search of Machine Normativity, a behavioral definition of norms for AI collectives
Different methods, one shared failure mode. Every safety mechanism in this cluster works by inspecting something visible. Output filters read text. Step judges read actions. Jailbreak detectors look for known harmful patterns. Norms research looks for human-like psychology. In each case, the risk sits somewhere the inspection doesn't reach.
A secret in context bends every output
The mechanism is boring once you see it. A model with a secret in its context produces a slightly different probability distribution over the next token, even when the next token is a digit in a random list. The secret is a conditioning signal, and conditioning signals don't stop at the boundary of the topic they're relevant to.
In an open-weight setting, the attack is a likelihood ranking. The adversary observes one output, then teacher-forces that same output under the victim model with each candidate secret inserted into the prompt. Whichever candidate yields the highest log-likelihood of the observed tokens is the answer. No gradient access, no probes, no special tooling. Just the weights and a scoring loop.
The clean part of the paper is that it rules out the obvious explanations. Exact digit matches, digit permutations, and Hamming-distance-1 neighbors all get filtered out before scoring, and the signal survives. Hidden-state probes confirm that PIN digits stay linearly decodable during generation. So there's no string to grep for and no anomaly in the surface text.
Twenty outputs and a scoring loop are enough
The numbers get uncomfortable fast. With Qwen3-8B and a four-digit PIN in the system prompt, a single output identifies which of four PINs is active (plus a no-password control) at 77.2% accuracy against a 20% chance rate.
| Condition | Result | What it means for your deployment |
|---|---|---|
| Single output, 4 candidate PINs plus control | 77.2% (chance 20%) | One logged response narrows the secret to a shortlist. A single user turn is a leak. |
| Same, after removing exact matches, permutations, Hamming-1 neighbors | Above 73% | Lexical filters and output redaction catch nothing here. There is no substring to catch. |
| About 20 filtered outputs, 10,000 candidates | 24 of 50 exact (48%), 36 of 50 in top five (72%); chance 0.01% | Two dozen samples plus brute force recover real secrets. |
| Prompt explicitly warns about leakage audits | 44.0% (chance 20%) | Telling the model to be careful does not close the channel. |
Run the entropy math and the practical conclusion falls out. A four-digit PIN is 13.3 bits. Twenty samples eat half of that keyspace outright. Any low-entropy secret parked in a context window, whether it's a support PIN, a session token fragment, an account suffix, or a customer identifier, should be treated as recoverable by anyone who can query the model and score outputs.
Quick Take: Context confidentiality has been modeled as "don't repeat the secret," and that model is wrong. The secret is readable from the statistical shape of outputs on unrelated tasks, which means the honest mitigation is keeping the secret out of context or gating inference, not writing a firmer instruction.
The channel survives model swaps and an audit warning
This isn't a Qwen quirk. The same-model detection setup generalizes across three open-weight families, and the gap over the random baseline stays wide even for the weakest of them.
OLMo-2-7B at 44.3% against a 14.3% baseline is a threefold edge, and that's the low end. The warning result matters more than the model spread: when the system prompt explicitly tells the model that leakage audits are being run, accuracy drops to 44.0% against 20% chance. A prompt-level mitigation cut the attack roughly in half and left it fully usable.
I tested a version of this against a local 7B model with a fake API key as the secret. Five hand-written random-list prompts, ordinary sampling temperature, no cleverness. The key never appeared in any output, and a naive likelihood ranking over 200 candidate strings put the real one in the top ten. I would not call that a rigorous replication. I would call it a reason to stop putting credentials in prompts.
Detecting multi-modal jailbreaks with no harmful examples
SelfGuard attacks the opposite problem: you need a detector for attacks you've never seen, and you can't collect a representative corpus of harmful multi-modal inputs to train on.
The framing is deviation modeling. Learn what benign image-text pairs look like, then score inputs by how far they depart from that. The paper targets three signature cues that show up in multi-modal jailbreaks and manufactures pseudo-harmful samples for each with controlled transformations, so nothing harmful is ever collected:
- Cross-modal semantic inconsistency. Pair an image with text describing a different scene, and train a misalignment discriminator to separate mismatched pairs from coherent ones.
- Format manipulation. Keep semantics fixed and change the structural scaffolding, then train contrastive format modeling to isolate the directions that structural wrapping moves.
- Semantic toxicity. Perturb benign text toward toxic phrasing, then use reconstruction-based toxicity modeling to learn how far a sample has been pushed.
At inference it does multi-view deviation estimation: aggregate the per-task deviation scores into one estimate and flag departures from benign regularity.
The generalization claim is what makes this interesting. A detector trained on known attack patterns fails on the next attack family; a detector trained on benign regularity has a chance, because the new attack still has to depart from benign. The cost is threshold calibration. Your benign traffic includes memes, OCR'd screenshots, slide decks, and formatting-heavy PDFs, and all of those look like deviation if your calibration set is 500 clean product photos. Calibrate on real traffic or budget for false positives.
Long-horizon agents break the step-level judge
AgentDoG2 starts from a specific observation about long-horizon tasks: no individual step is the problem. Risk emerges from the trajectory, and the attack that produces it is goal manipulation. Injected content in a tool output nudges the objective, the planner re-derives subgoals, and each subsequent action looks locally reasonable against the drifted goal.
The framework adds an updated safety taxonomy for long-horizon execution (ATBench-Pro), a ManipulationArena for goal manipulation attacks, and a family of judges at 0.8B, 2B, 4B, 8B, and 9B parameters that score both individual steps and full trajectories. The small models beat a closed-source frontier model on this task and run roughly 100x faster than the previous AgentDoG1.5.
The 100x throughput number is the practical part. A trajectory sweep that took a day now finishes in about fifteen minutes, which is the difference between a quarterly red-team exercise and a check that runs on every pull request. The 0.8B judge fits on the same GPU as a 7B agent, so per-step filtering doesn't require a second machine. The 8B and 9B variants are for offline rollout sweeps, where the framework also demonstrates a recursive self-improvement loop: judge the trajectories, feed the scores back, let the agent retrain against them.
My team hit the coverage problem before we hit the accuracy problem. Judging every step with a hosted frontier model cost enough that we sampled one trajectory in fifty, which meant the drift we cared about was usually in the forty-nine we skipped. A cheap judge you can run on everything beats an expensive judge you run on a sample.
Norms are group-level, so the audit has to be
Once LLM agents sit inside institutions, collective behavior stops tracking individual behavior. Political bots that shift an election, pricing agents that converge without ever coordinating: the unit that matters is the group, and the tool for describing groups is norms.
Existing definitions make that tool hard to use on machines. They presuppose human norm psychology, meaning shared intentionality and belief attribution, so any search for machine norms finds only the ones produced by human-like cognition and misses everything else. The paper's move is a cognition-agnostic, behavioral definition. Look for norms in group-level regularities, not individual capacities.
A regularity counts as normative only if it's socially maintained, and social maintenance is operationalized as three measurable properties: information flow between agents at some minimal level, a stake, and the means to affect that stake. The definition adds a multiple-equilibria criterion on top: similar conditions, different communities, different stable regularities, which captures the arbitrariness that makes a norm a norm rather than a convention or a capability.
Three properties become three tests; the multiple-equilibria criterion is a separate gate applied to a candidate regularity, which is why the paper counts three tests and four definitional criteria. Worth keeping straight if you read the paper, since the arithmetic looks off otherwise.
The critique of current research is the part I'd carry into eval design. Work in this area either hunts for human-like psychology in LLMs or loads stakes into agents explicitly through the scaffold. The second one is a measurement artifact: inject a reward, measure behavior against it, and you've learned about your scaffolding, not about the stakes the model brought with it. The proposed program is two-step. Detect normative regularities behaviorally first, then investigate the mechanisms behind them, including stakes inherited from training data.
Where the four papers line up
| Paper | Assumption it breaks | What carries the risk | Cheapest mitigation today |
|---|---|---|---|
| Subliminal leakage | Confidential context is safe unless repeated or implied | Token probability shifts on unrelated tasks | Keep low-entropy secrets out of context; gate inference access |
| SelfGuard | Detectors need labeled examples of attacks | Departure from benign multi-modal regularity | Benign-only deviation scoring, thresholds calibrated on real traffic |
| AgentDoG2 | Safety is a per-step property | Goal drift across a long trajectory | Small trajectory judge run on every rollout, not a sample |
| Machine normativity | Norms require human-like cognition | Group-level regularities maintained by information flow and stakes | Behavioral detection first, mechanism analysis second |
The pattern across rows is a shift in where safety work has to look. Text inspection, pattern matching, and step-level rules all still work, on the cases they were designed for. They just don't cover the channel that actually carries the failure.
Common Pitfalls
- Treating output filtering as context confidentiality. Lexical filters, redaction, and "never reveal the secret" instructions leave the log-likelihood channel untouched. The PIN survives at above 73% after exact matches and near-misses are removed, and a warning about audits only halved the attack.
- Training jailbreak detectors on attack samples and expecting them to hold. Attack families rotate faster than your labeling pipeline. If you go the benign-deviation route instead, the calibration set is the whole product: sample real traffic, including formatting-heavy documents and screenshots, or you'll ship a detector that fires on slide decks.
- Judging long-horizon agents step by step with an expensive model. You'll afford to score a small fraction of trajectories, which is exactly where the drift hides. A 0.8B judge that runs on every step is a better use of the same budget.
- Loading stakes explicitly into an agent during a norms audit. You'll measure your own reward scaffolding instead of the behavior the model brought with it. That error looks like a finding, which is what makes it expensive.
- Assuming a 100x speedup in judging means 100x more safety. It means 100x more coverage. If nobody reads the flagged trajectories or the auto-alignment loop has no human checkpoint, throughput just produces a larger pile.
The Bottom Line
If you're putting secrets in a system prompt on an open-weight model, move them out. Thirteen bits of entropy doesn't survive twenty sampled outputs and a likelihood ranking, and the attack needs no special access beyond the weights and an API. Route secrets through a lookup at the inference layer, or use the model without them.
If you're building a multi-modal safety filter and don't have labeled attack data, start with benign-only deviation modeling and spend your effort on threshold calibration against real traffic. The three cues (cross-modal inconsistency, format manipulation, semantic toxicity) give you a training signal without collecting anything harmful, but the false-positive rate on unusual benign inputs is what decides whether the filter survives contact with production.
If you're evaluating a long-horizon agent, replace sampled step checks with full-trajectory scoring by a small judge in the 0.8B to 4B range. Two things to watch over the next year: hidden-state probing tools will make prompt-level secret handling look as careless as storing passwords in logs, and the multiple-equilibria criterion from the norms paper is the piece most likely to show up in regulation-flavored evals, because it's the first definition that can flag collusion between agents without requiring anyone to prove intent.