Research
Academic papers, new techniques, benchmarks, and theoretical findings in AI/LLM security.
Academic papers, new techniques, benchmarks, and theoretical findings in AI/LLM security.
814 items
Researchers tested whether an LLM approval reviewer treats the same unverified claim differently depending on whether it arrives inside the original request or as a separate follow-up after a scripted reply of "Noted." The follow-up was approved more often in six of seven model settings, by up to 43.0 percentage points, and a replication reproduced the gap in four of seven settings. A system-prompt instruction that all customer-written content is unverified held follow-up approvals to 5.2% or below for three of four model families, but was less effective in two settings after a scripted reviewer turn promised to consider more information.
Fix: Evaluations of approval models should include claims that arrive as follow-up messages. A system-prompt instruction that everything the customer writes is unverified reduced follow-up approvals for three of four model…
Arxiv (cs.CR + cs.CL + cs.LG)VeilLens is an explainable framework that identifies privacy-relevant cues in images, protects them through controllable generative editing, and verifies residual leakage in an iterative loop. Evaluated on 1,454 images and more than 20,000 VLM API calls, it cut mean inferred privacy risk by 48.7% on 500 compositional-privacy images and reduced block-level (≤0.5 km) geolocation success under Gemini-3.1-Pro-Preview from 40.2% to 14.6%. A 25-participant user study found improved privacy awareness and a 70.7% preference for protected images.
Researchers study safety alignment for multimodal large reasoning models (MLRMs), which can reason over images and text. They find that fine-tuning on traces from stronger external teacher models lowers attack success rate but raises over-refusal, where benign inputs with sensitive cues are rejected. They propose Self-Guided Safety Alignment (SGSA), which applies a reasoning-level intervention followed by a decision-level intervention to generate self-supervision. On LLaVA-CoT, SGSA matches the external-teacher baseline's ASR while cutting average over-refusal from 71.7% to 55.9%.
Fix: The source proposes Self-Guided Safety Alignment (SGSA) as the approach: it first applies a reasoning-level intervention to elicit a safety-aware trace, then a decision-level intervention that generates the final…
Arxiv (cs.RO + cs.CV security)Researchers introduce SteeringFrames, a method that uses mechanistic interpretability to build innocuous perturbations for multimodal LLMs. The perturbations are encoded as universal picture frames altering only an image border, or as short audio clips, and steer Vision and Audio LLMs toward compliant, evil, or sycophantic personas. Trained frames work zero-shot on unseen inputs and survive blurring and compression. Across 9 Vision LLMs and 3 Audio LLMs, magnifying the refusal direction cut accuracy on visual question answering, audio question answering, and speech transcription by 95% on average.
Researchers present HAMLOCK-style hardware-model co-attacks against LLMs, where a malicious supplier splits a backdoor between edited model weights and edge accelerator hardware. Trigger detection is generalized to rarely visited regions of joint activation space, and the hardware separates prompt processing from decoding so that self-generated triggers can activate the attack. Across three models and three tasks, the attack reaches up to 99.5% success with triggers in input prompts and 99.9% with self-generated triggers on targeted refusal tasks, while preserving benign utility and evading representative model-level defenses and RTL-level hardware inspections.
Researchers show that an attacker who poisons both a document and a numerical dataset can make an LLM-driven, retrieval-assisted workflow produce a flawed analytical model for flow-assisted laser-induced plasma micro-machining. The poisoned literature claims enter retrieved summaries and shift predictions at chosen operating conditions, significantly degrading clean-test accuracy. Because coefficient refitting preserves baseline residuals, standard internal diagnostic checks fail to flag the compromise.
Researchers present the "Goldilocks Zone," a method for stress-testing vision models between small perturbations and large distribution shifts. The method captions benchmark test images, searches for caption perturbations within a perplexity range as a proxy for linguistic plausibility, and feeds the perturbed captions to text-to-image generators to build harder datasets at multiple depths. State-of-the-art vision models lose about 45% accuracy on image classification and vision-language models lose about 23% on visual question answering under these stress tests.
This study measures how far the linear approximation given by an image encoder's input Jacobian holds before the encoder's response departs from it. The linear regime is surprisingly short, with departure occurring below one gray level and often below the 8-bit rounding error, especially along the Jacobian's leading singular directions. The pattern holds across convolutional and transformer encoders and across supervised, self-supervised, and vision-language training.
This research paper presents a keyless distinguisher against the permuted Reed--Solomon code (PRSC), a pseudorandom error-correcting code used for LLM watermarking. The distinguisher counts symbol agreements between response pairs and yields a sample cost of T≈6/√D, growing as 2^Θ(k log k) in the message dimension k. Measured GPT-2 and Llama-2-7B statistics translate this into costs of roughly 2^29 to 2^58 for a 300-word response, with 2^128 requiring about 1000--1600 words for GPT-2 and 3500--4400 for Llama-2-7B.
Internal safety collapse, where a text LLM completes a benign task whose only valid output is harmful, is migrated to video via ISC-G, which places the harmful query in a data field of a benign record. Across five open video LLMs, the models retain a harm representation, but the first-token decision fails to follow it when harm arrives as task data. Decision-Token Tuning (DTT), a LoRA adapter trained on a few dozen labeled examples, reduces harmful responses to zero on three query distributions and to 2 of 200 or 8 of 200 on two others.
Fix: Decision-Token Tuning (DTT): a small LoRA adapter that trains the first-token decision on a few dozen labeled harmful and benign examples. Code is available at https://github.com/fzjcdt/iscg-dtt.
Arxiv (cs.CR + cs.CL + cs.LG)Researchers evaluated the auto-mode permission checkers of three coding agents, Claude Code, Codex, and Qwen Code, on DevOps and prompt injection benchmarks. Under the original user requests, the checkers incorrectly approved 54%-93% of out-of-scope actions, and neither stronger models nor extra context consistently lowered these miss rates. Adding explicit authorization rules to the user requests cut miss rates for 132 of 143 out-of-scope actions from 67%-92% to 8%-26%.
Fix: Reliable automatic approval requires clearly defined permissions, accurate identification of action targets, and approval decisions that consistently follow authorization rules.
Arxiv (cs.CR + cs.CL + cs.LG)VoteAlign is a detector for adversarial images aimed at vision-language models. It averages head scores across several CLIP layers, sets its threshold on normal images, and uses a fixed linear support vector machine to check alarms and reject high-scoring normal images. Under the same conditions it beat the strongest baseline by 8.64% in detection rate and reduced false alarms from four to three.
Cryptanalytic model extraction recovers the hidden parameters of a neural network from black-box input-output queries. The authors present the first end-to-end extraction of a complete single dual pre-RMSNorm residual Transformer block, handling both biased ReLU and bias-free SwiGLU feed-forward networks in one pipeline. On blocks up to d=256, H=8 and m=1024 (over one million parameters), extraction uses 0.26-0.47 queries per parameter and reaches relative L2 errors at each format's rounding floor, from 2.20 x 10^-15 in FP64 to 8.16 x 10^-3 in BF16.
Language models show only partial invariance to non-canonical tokenizations of the same prompt, and this invariance is fragile. Adversarial tokenizations can circumvent safety alignment. The authors propose consistency-training objectives that enforce agreement across retokenizations of the prompt, which make three tested model families more robust to adversarial tokenization at some cost in benchmark accuracy.
Researchers propose a defense that flags prompt injection in tool-integrated LLM agents by checking whether a tool's description matches summaries of its underlying code. They tested it on a dataset of 503 tools, 377 prompt injected and 126 benign, drawn from open-source repositories and existing benchmarks, across five LLMs. The method reached 93.8% overall detection accuracy, outperforming PromptArmor, DataSentinel, LLM-Based Detection and Perplexity Filter.
Instruction-tuned language models refuse harmful requests written in Arabic or Hindi script but answer the same requests in Latin letters. The authors test whether models can recover the meaning of rewritten requests using two tests that avoid generating responses, and find recovery exceeds engagement by 22.0 to 80.5 percentage points in every interpretable cell. They conclude that cross-script jailbreak rates measure meaning recovery as much as safety, and that asking models to decode the request before answering restores refusal in eleven of fifteen cells.
Fix: The source describes a decode-then-answer wrapper, which asks the model to decode the request first and answer its own decoding. The authors release the two recovery tests and this wrapper.
Arxiv (cs.CR + cs.CL + cs.LG)The authors introduce JARC, a two-stage static jailbreak that first sets an alignment-research context and then asks the victim model to fill template blanks through function calls. JARC reportedly reaches 80.7% average Attack Success Rate on GPT-5.1-Codex-Max, Gemini 3.1 Pro, and Claude Sonnet 4.5, and Claude Code can instantiate it as an agentic skill-based workflow. The study concludes that agentic capabilities may weaken safety alignment and that agentic harnesses can automate and scale such attacks.
Researchers tested whether planted text in the free-text Item E of aviation NOTAMs can steer language models assessing them while coded Q-line fields stay valid. In synthetic scenarios, injection raised compromised output by 26 points under an understated-verdict rule and 72 points when relaying planted content to the crew also counted. On real FAA NOTAMs, every undefended model of seven relayed planted content in 6 to 40 per cent of attacked outputs, against none of 60 clean notices.
Fix: A system prompt rule that Item E cannot override the Q line removed both effects on the payloads it was written for in all five commercial models, which flagged at least 37 of 40 attacks.
Arxiv (cs.CR + cs.CL + cs.LG)This controlled study tests whether representation matching during fine-tuning makes refusal harder to suppress by projecting out a refusal direction. Under an iterated protocol excluding the final 20% of source layers, Mean + KD on Llama first pushed harmful-prompt refusal's 95% Wilson upper bound below 30% at rank K=11, versus K=4 for the untouched checkpoint, but results were checkpoint-specific and model-dependent, and the Qwen2.5-1.5B checkpoint showed K=1 for Mean + KD versus K=2 for untouched Qwen.
Researchers ask whether LLM failure modes can be reshaped so that, when defenses fail, outputs are less actionable. Inspired by honeypots in computer security, they build responses that automated judges often flag as harmful but that offer little real-world operational value, and train on them as hard negatives. The authors report that this shaping reduces both real-world impact and the frequency of harmful failures, and they position it as a complement to attack success rate evaluations. Code is at https://github.com/samuelsimko/training_with_honeypots.