Papers for

ai security engineers

Papers whose findings have a practical use for this group, as judged from the abstract. Open a paper to read what it means in practice.

Llms confuse who says what enabling fake role attacks

Understanding and Mitigating Role Spoofing in LLMs

Abstract: Despite growing capabilities, LLMs remain susceptible to prompt injections: malicious inputs that can manipulate or hijack models. In particular, it has recently been observed that LLMs can exhibit role confusion (Ye et al., 2026), where models attribute the source of text based on its style instead of its labeled role. Malicious text in tool outputs (for instance, a malicious webpage accessed by an agent) can leverage role confusion to impersonate the user, an attack we call role spoofing}. In this work, we seek to understand and mitigate role spoofing. We study how models track "who said what" in a conversation, showing that they use cues from both content (e.g., semantics and writing style) and structure (e.g., control tokens and formatting). We show that LLMs are highly susceptible to role spoofing attacks that combine both fake structure and content. Additionally, in a toy setting, we show that adversarial training which teaches the model to ignore content-based injections does mitigate content-based attacks but leaves the model susceptible to structure-based attacks. This can explain why frontier models, with increased resistance to many injection attacks, can still be susceptible to role spoofing. Finally, we propose a new method for detecting role spoofing using linear probes trained to predict roles in a conversation, and show that it is effective across different settings.

Thu 29 OctCryptography and SecurityArtificial Intelligence
The gist
Large language models (LLMs) can be tricked into mixing up who said what during a conversation. This mix-up can let attackers pretend to be someone else by changing style and labels in the text. The authors show that models rely on both how text looks and what it says to track speakers, and attackers can exploit both. They test a training method that helps the model ignore misleading content but not misleading text structure, explaining why newer models still fail. Finally, they introduce a way to detect these impersonation attacks effectively.
Open → 2610.40396v1

Multi trigger backdoor defense reduces attacks with hardware friendly design

Combinatorial Lock for Trojan-Resilient AI Engines via Hash-Assisted Spectral Filtering

Abstract: Multi-trigger backdoor attacks, in which heterogeneous trigger mechanisms (e.g., patch, blend, warping, and the latent-domain Spy-Watermark) coexist within a single poisoned model, cannot be addressed by existing shortcut-based defenses that assume a single, static attack mechanism. Current multi-trigger remedies (BU+FT, BU+ANP, and BU+ABL) rely on backdoor unlearning, which incurs high training costs and loses effectiveness at low poisoning ratios. This paper proposes Combinatorial Lock, a training-free, reference-calibrated defense that reduces multi-trigger identification to a combinatorial problem over binary activation signatures. This formulation is the key novelty: it yields a multi-trigger defense that is training-free, trigger-oblivious, and directly implementable in hardware, since its decision rules can be evaluated with integer and logic operations. The framework combines anomaly-gated spectral scrubbing, which removes the malicious subspace only from inputs identified as anomalous, with a hash-compressed combinatorial signature verified by an ensemble of detection experts, including a compound-attack-aware expert for multi-trigger inputs. A joint threshold-shrinkage search identifies an operating point ($τ$ at the 97.1st percentile, $γ= 0.78$) that reduces the attack success rate (ASR) to as low as 0.1% while preserving 97.8% clean accuracy. Evaluation on six models (ResNet18, VGG16, MobileNet, AlexNet, ViT-Small, ViT-Base) shows strong generalization: near-100% ASR drops to single digits across poisoning rates of 1-10% and 1-9 simultaneous triggers, with only gradual degradation in clean accuracy. ASIC and FPGA implementations confirm practicality, adding a consistent 19-20% latency overhead across all evaluated architectures and establishing Combinatorial Lock as a hardware-native approach to multi-trigger backdoor mitigation.

Sat 24 OctCryptography and SecurityHardware ArchitectureMachine Learning
The gist
Backdoor attacks in AI models use various secret triggers to make the AI behave badly, and current defenses usually only handle one type of trigger. The authors propose Combinatorial Lock, which can spot multiple hidden triggers at once without extra training, using simple digital logic that hardware can handle easily. Their method filters out malicious behavior only for suspicious inputs and keeps the AI working well on normal data. Tests on various AI models show it greatly reduces these attacks while keeping accurate results and hardware tests confirm it adds only a small delay.
Open → 2610.33437v1

Encrypted instructions in AI skills can bypass security checks

Encrypted Skills Can Become New Security Exploits If AI Agents Know How to Decipher

Abstract: Third-party skills can expose LLM agents to malicious instructions hidden by encoding. We introduce Ciphered Skill Injection (CSI), which embeds such instructions in skill files for agents to decode and follow. We evaluate Caesar and layered variants across eight models and 139 injection-task pairs, separating instruction recovery from attack success. In the primary setting with shortened skills, the variants achieve attack success rates of up to 47.5% and 40.3%, respectively. Successful decoding does not guarantee attack success, and layering has model-dependent effects. The tested skill scanners rarely flag injected skills. These findings highlight the risk of promoting decoded, untrusted content into actionable instructions.

Tue 13 OctCryptography and SecurityArtificial IntelligenceComputation and Language
The gist
Sometimes, AI assistants use extra 'skills' from outside sources to do tasks. This research found that those skills can hide harmful instructions by encoding them, which AI agents can decode and follow without anyone noticing. The authors tested different ways to hide messages and found many were not caught by current security scans, making AI agents vulnerable to attacks. This shows a new risk when trusting third-party AI skills that might contain hidden commands.
Open → 2610.18262v1

LLM-agent security shows identical attack failure rates but different guarantees

The Same Zero: Why Identical ASR Can Imply Different Guarantees in LLM-Agent Security

Abstract: LLM-agent security has produced a dense landscape of defenses - prompt hardening, content filters, permission gates, sandboxes - yet no framework tells a deployer what a defense actually guarantees, or where that guarantee comes from. We apply Verification Autonomy Levels (VAL) - L0: LLM self-declaration; L1: deterministic rules; L2: objective ground truth; L3/L4: decidable completeness; L5: impossible - to 22 agent-security defenses; the taxonomy is falsifiable (10/10 prediction hits on frozen cards, flagged). We run the first controlled deployment-value comparison: at equal budget, a VAL-guided stack (confirmation gate + schema sandbox) versus a mainstream intuition stack (prompt hardening + keyword filter), 50 scenarios, 12 attack variants, adaptive/white-box/PAIR escalation (~7,000 testbed calls; ~10,000 harness calls on AgentDojo/JADE). The VAL stack holds 0.000 attack success at 1.000 benign success (0.5% ASR at 79.7% utility on AgentDojo banking vs 4.3% undefended); the intuition stack reaches 0.000 ASR but kills all benign actions - security by model-behavior luck, not structure. Across testbeds of rising attack-surface hardness the intuition stack's zero drifts (0->1.9%->6.2%, n=16 on JADE) while the VAL stack's holds within its ODD (0->0->0), its only breach a disclosed out-of-ODD password gap (0.5%). The same zero, two different guarantees: zero is an outcome, not a guarantee.

Sat 3 OctCryptography and SecurityComputation and Language
The gist
LLM-agent security uses different methods to protect AI assistants, but it’s unclear what each method really guarantees. The authors used a special classification system to compare 22 defenses and tested two defense setups in many attack scenarios. They found that two setups both stopped attacks, but only one kept helping normal users work efficiently. This shows that having zero attacks doesn’t always mean the same level of security, depending on the defense’s underlying guarantees.
Open → 2610.04504v1

Residual authority replay increases attack risk in long-lived AI agents

When Consent Outlives Context: Residual Authority Replay in Long-Lived Agents

Abstract: LLM agents increasingly rely on user approval to authorize security-sensitive actions at runtime. Such approvals are granted within a specific task and execution context. In long-lived agents, authorization decisions may need to persist across tasks or sessions. We find that this continuity can outlive the context that originally justified the approval, creating residual authority reusable without renewed consent. We expose this failure mode through a longitudinal attack that starts from a target security-sensitive action, identifies the authority required to execute it, induces benign interactions that legitimately obtain that authority, and later replays the residual authority during adversarial execution. Across controlled and live settings, we demonstrate that residual-authority replay arises in practice and substantially increases the success of prompt-injection and context-rebinding attacks. We evaluate 508 AgentDojo attack cases across six LLM families using production-derived authorization semantics. With residual authority, attack success rate (ASR) increases by up to 35.1 percentage points compared with a fresh authorization state. In live context-rebinding attacks on 55 Terminal-Bench cases across three real-world production coding agents, residual-authority replay increases ASR by 24.9 percentage points on average. These findings expose a fundamental mismatch between persistent authorization and the contextual nature of user consent in long-lived LLM agents.

Sun 27 SeptArtificial Intelligence
The gist
Long-lived AI agents that ask users for permission to do sensitive tasks can end up remembering permissions beyond their intended context. The authors found that attackers can exploit this leftover permission—called residual authority—to perform harmful actions later without asking again. This makes AI agents more vulnerable to attacks that reuse old permissions improperly. The authors tested many attacks across popular AI models and real coding assistants, showing that this problem greatly increases the chance of successful attacks.
Open → 2609.33910v1

Multi-agent framework reveals safety gaps in AI defenses

ORBIT: A Framework for Multi-Agent Safety and Security Evaluations

Abstract: Multi-agent LLM systems are increasingly deployed for complex, long-horizon tasks or emerge as a natural consequence of agents interacting in the wild. Yet they give rise to significant safety and security risks: the flexible protocols that enable task generalization also expose novel threats, from cascading prompt injection to inter-agent collusion. Progress in defending against these threats has been slowed by a lack of shared empirical infrastructure, which forces bespoke environment development for every new defense and makes standardized comparison impossible. Existing evaluations address isolated threat models or single-agent settings, but none jointly vary attack, defense, and architecture across realistic multi-agent environments. To address this gap, we introduce ORBIT, a configurable evaluation framework for empirical multi-agent safety and security research, built on UK AISI's Inspect. ORBIT lets researchers configure communication topologies, memory, scheduling, and agent roles. It supports four threat types and four defense strategies, as well as non-adversarial failures, with a benchmark suite spanning five scenario families covering browser use, computer use, agentic coding, customer service, and cooperative allocation. Our central finding is a gap in defense transferability across threats: per-action defenses that cut a compromised agent's attack success by 60 points on multi-issue coding give no measurable protection against colluding agents, and none of the defenses we tested generalized over all attacks tested. We further demonstrate security-performance tradeoffs and interactions between architecture and defense effectiveness. We make ORBIT available open-source at https://github.com/wlanderson0/orbit.

Sun 27 SeptMultiagent SystemsCryptography and Security
The gist
Complex groups of AI agents working together can face security problems like tricking each other or teaming up to cheat. The authors created ORBIT, a tool that lets researchers test different ways these AI agents communicate and protect themselves against attacks. Their experiments found that defenses that stop some attacks don’t always work against others, especially when agents collude. This tool helps understand and improve safety in AI systems where many agents interact.
Open → 2609.33102v1

Issues in evaluating AI security against hidden prompt attacks

Silent Failures in Agentic Security Evaluation: A Validated Harness for Tool-Call Mediation Under Indirect Prompt Injection

Abstract: LLM agents that invoke privileged tools are vulnerable to indirect prompt injection (IPI), in which adversarial instructions embedded in retrieved data hijack the agent's actions. A growing body of work evaluates defenses against IPI, but the validity of that evaluation is rarely examined. We audit an IPI benchmark and its harness and identify four defect classes -- silent payload non-delivery, attack success scored by tool identity rather than arguments, false-rejection rate conflated with model incapacity, and the absence of an audit trail -- each of which yields a plausible, publishable, and incorrect number. We quantify the distortion by re-scoring identical execution traces under the defective and corrected definitions: on real agent behaviour, the tool-identity scorer reports a 21.7% attack-success rate where the true argument-level rate is 1.2%. In the sharpest case, an open model previously reported at 62.8% registers 0% under the corrected harness -- the prior figure largely an artifact of undelivered payloads and identity-level scoring. We release a harness whose construction makes each defect unrepresentable -- machine-checkable payload placement, argument-level attacker predicates, per-scenario environments, and mandatory trace persistence -- and use it to report three quantities the field does not: whether a compromised agent discloses the attack, the full security/utility operating curve of an LLM-judge defense, and tool-calling capability disentangled from defensive over-blocking. A corrected harness further overturns a reported "capability barrier": a model deemed incapable of tool use is in fact fully capable, its earlier result an artifact of environment mismatch. We argue that evaluation validity is a prerequisite for, not a footnote to, defense claims in agentic security, and provide an instrument that enforces it.

Sat 26 SeptCryptography and SecurityMachine Learning
The gist
Large language model agents that use special tools can be tricked by hidden bad instructions in things they read, leading to unexpected actions. The authors found that many tests checking how well these agents resist these tricks have big flaws, making their results misleading. They fixed these flaws and built a new testing setup that accurately shows how well agents defend against attacks and use tools. This helps make sure defense claims for AI agents are trustworthy.
Open → 2609.32691v1

Backchain memory attacks expose hidden security risks in AI agents

BMA: Backchain Memory Attacks Create Unauthorized Control Paths in LLM Agents

Abstract: Persistent memory enables LLM agents to reuse prior experience, but creates a new security boundary: what an agent may remember is not what it should act on. We expose an unauthorized control path where edited low-trust evidence is consolidated into persistent memory, retrieved on a clean task, and used to drive a protected action. Crucially, the adversary neither writes memory nor alters the task. We introduce Backchain Memory Attack (BMA), a grey-box, LLM-driven inverse-planning attack that reasons backward from the target action to the memory that would trigger it, then to the evidence edit that would form it. BMA has two phases: preparation uses resettable trials to localize the first failed link and build experience; execution uses the frozen experience to rank and commit candidate edits without feedback. We introduce the Pathway-Certified Attack Success Rate (Path-CASR) to separate memory-mediated from coincidental hits: registered memory must form, be retrieved, drive the target behavior, and pass matched-intervention checks. Across four substrates and three decision backbones, BMA achieves 18.8% Macro Path-CASR, compared with 13.4% for the strongest access-matched baseline. Of BMA's behavioral hits, 60.3% pass all registered pathway and intervention checks versus 36.7% for the baseline. Frozen BMA edits retain 78.0% of their certified effect on average across four held-out consolidation policies. Representative memory-side controls leave 11.0% Path-CASR, whereas provenance-bound authorization reduces it to 2.0% while preserving 92.1% legitimate-action success.

Sat 26 SeptCryptography and Security
The gist
Large language model (LLM) agents remember past experiences to perform better, but this memory can be tricked. The authors show a new type of attack where bad information inserted earlier causes the AI to take unauthorized actions later, without changing the current task or memory directly. They created an attack method called Backchain Memory Attack (BMA) that figures out what memory would lead to a target action and then creates edits to trigger that. Their tests show BMA is more effective at making AI act wrongly through memory compared to other methods, but also suggest ways to reduce these risks.
Open → 2609.32186v1

Generative AI policy enforcement needs clearer unified approach

From Alignment to Access Control: A Framework for GenAI Policy Enforcement

Abstract: Generative AI (GenAI) applications have flourished enabling users to chat with large language models, and to create agents to act on their behalf for a variety of tasks. The pace of development of capabilities in this field is incredibly fast with security and safety taking a back seat. Unfortunately, the slower pace at which security and safety mechanisms have evolved has led to real incidents. Policy enables the definition of desirable behavior of applications, and for that reason, it is a cornerstone of making systems secure and compliant. Policy however means different things to different practitioners creating confusion and siloed solutions that are not adequate for compliance. This paper takes a tour of the good, the bad and the ugly when it comes to policy enforcement in GenAI applications. We propose a methodology to systematically analyze and dissect existing approaches to define and enforce policy found in the wild. Based on this principled analysis, we provide recommendations and call for action for the community to address. This paper is a companion extension of USENIX Security 2026 Enigma talk titled "From Alignment to Access Control: A Unified View of GenAI Policy Enforcement" by the author Nathalie Baracaldo.

Tue 22 SeptCryptography and SecurityArtificial Intelligence
The gist
Generative AI systems like chatbots and personal agents are developing very fast, but safety and security rules are not keeping up, causing problems. The authors look at how different groups use policies to try to keep these systems safe and compliant, but find these approaches are often confused and not connected. They provide a way to understand and compare these methods systematically and offer suggestions for improvement. This helps the AI community work better together to enforce rules in these systems.
Open → 2609.26682v1

Multi-agent AI systems face new injection risks and defenses

Beyond Single-Model Injection: A Threat Model and Defense Architecture for Prompt Injection in Multi-Agent Systems

Abstract: Existing prompt injection research focuses on single-model chatbot scenarios, where an attacker manipulates one LLM through crafted input. Multi-agent systems amplify this threat through three mechanisms absent from single-model settings: inter-agent message passing creates injection channels invisible to perimeter defenses, shared tool access enables privilege escalation across agent boundaries, and trust propagation allows a compromised agent to influence upstream orchestrators. We construct a threat model enumerating 14 attack vectors across four categories: direct injection via user input (3 vectors), indirect injection via tool outputs (4 vectors), inter-agent injection via message passing (4 vectors), and cascading injection through orchestrator manipulation (3 vectors). Testing all 14 vectors against a 6-agent production-representative system, we find that 67% of agents are vulnerable to at least one scope violation even with system-prompt-level guardrails, and indirect injection via tool outputs succeeds in 43% of attempts. Four architectural defenses reduce overall injection success from 31.2% to 4.2%: message signing with provenance tracking (inter-agent injection down 91%), input/output sanitization at agent boundaries (indirect injection down 78%), privilege-scoped tool access per agent role (privilege escalation eliminated entirely), and anomaly detection on inter-agent communication patterns (84% of cascading attempts caught).

Sat 19 SeptCryptography and SecurityArtificial IntelligenceComputation and Language
The gist
Prompt injection tricks an AI by giving it sneaky instructions hidden in user input. The authors show these tricks become more dangerous when multiple AI agents talk to each other because attacks can go unnoticed between agents and spread more easily. They tested many attack methods on a system with six AIs and found most agents were vulnerable despite security measures. The authors then designed defenses like verifying messages between agents and limiting tool access, which greatly lowered attack success.
Open → 2609.22949v1

Gated memory in large language models vulnerable to hidden backdoor attacks

BadEngram: Backdoor Attack on Gated Memory Components in LLMs

Abstract: To expand open-weight models' capacity without proportionally increasing computation, recent language models incorporate gated parametric memories that retrieve learned values and inject them into intermediate representations. Despite these efficiency benefits, such modules create a distinct attack surface: their parameters can be modified independently of the backbone while directly shaping its computation. We introduce BadEngram, a post-training attack that exploits this surface to implant persistent, trigger-dependent behavior while leaving conventional backbone weights and the execution graph unchanged. We first establish the attack's feasibility and causally characterize its mechanism in a controlled Engram model, where BadEngram achieves 96.6% ASR on triggered inputs while limiting false activation on matched trigger-free inputs to 0.1% and preserving 99.6% clean accuracy. Replacing the retrieved memory values with their clean counterparts or closing the memory gates reduces ASR to at most 0.32%, confirming that the backdoor is expressed through the gated-memory pathway. We then test whether this vulnerability extends to production scale in Qwen3.8-Flash-Next's native Per-Layer Embedding subsystem. Using independently trained checkpoints for the two benchmarks, BadEngram achieves 50.4% ASR on HarmBench and 60.0% on AdvBench, while dormant-condition ASR remains 0.9% and 0.0%, respectively. These results identify native gated-memory parameters as a security-critical part of the model whose integrity cannot be inferred from an unchanged backbone.

Fri 11 SeptCryptography and Security
The gist
Large language models use special memory parts to improve how they work without slowing down too much. The authors found a way to secretly change these memory parts after training to make the model behave badly when it sees certain hidden signals, without changing its main brain or making it obvious. They tested this trick on small and large models, showing it can work well and remain hidden. This means these memory parts are a weak spot that needs careful protection.
Open → 2609.13478v1

Tree-Ring watermark forgery reproduced on limited GPU hardware

Forging Tree-Ring: Reproducing and Instrumenting Black-Box Semantic Watermark Forgery

Abstract: Semantic watermarking schemes such as Tree-Ring hide a detectable pattern in the initial noise latent of a diffusion model. Recent work shows these watermarks are not only removable but forgeable: an attacker who never sees the watermarking key can still produce images the genuine detector accepts. We reproduce the Reprompt forgery attack of Müller et al. against Tree-Ring on Stable Diffusion XL, using the authors' released code, on free-tier dual T4 GPUs with 14.6 GB of usable memory per device, substantially less per-GPU memory than the A40 hardware used in the original study. The attack reproduces. Over six trials of three arms we detect genuine images 6/6, clean images 0/6, and forged images 5/6, at 325-332 s per attack. Three further results came out of running it under constraint. The released detector computes a non-central $χ^2$ statistic and hands back only its CDF, so we recovered the discarded statistic; our recovery matches the released detector exactly, and two natural scores built from it separate the forged arm from the clean null at AUC 0.861 and 0.972 on the same eighteen observations. Running SDXL in half precision requires patching the pipeline's direct autoencoder calls, and a controlled probe confirms the patched path leaves the detector statistic unchanged. Finally, we report a prediction we made from reading the detector source that our measurements then contradicted. The notebook, the pinned fork and every measurement artifact are released with the paper.

Fri 11 SeptCryptography and Security
The gist
Some images made by AI models include hidden watermarks to prove they are genuine. This paper shows that attackers can copy these watermarks to fake such proofs without having the secret keys. The authors recreated a known attack to forge watermarks using less powerful computers than previous attempts and examined how the watermark detection works in more detail. They also fixed some technical details needed for their tests and shared all their tools and findings publicly.
Open → 2609.12909v1

Strong AI agent skills copied by watching weaker ones fail

AgentLeak: Cloning Stronger LLM Agent Capabilities onto Weaker Agents Beyond Skill Stealing

Abstract: Large language model (LLM) agents increasingly achieve long-horizon tasks by combining foundation models with explicit skills and implicit procedural knowledge acquired through execution. The resulting task-solving capabilities have become valuable proprietary assets, raising a new security question: can a substantially weaker attacker-controlled agent acquire the capabilities of a stronger proprietary agent through limited black-box interaction? Existing skill-stealing attacks recover explicit skill artifacts, yet we show that artifact leakage does not necessarily transfer capability: a weaker agent may possess the same skills but still fail because it lacks procedural behaviors implicitly realized by the stronger agent. Our key insight is that the skill execution gap itself forms a leakage surface, where missing behaviors are exposed through observable differences between successful victim executions and failed attacker executions. Based on this, we present AgentLeak, a black-box capability-cloning attack that identifies capability-critical behaviors from these execution differences and incorporates them into attacker-side skills, while keeping the attacker's model, harness, and tools unchanged. Across 20 task scenarios comprising 600 instances, diverse agent systems, and multiple backbone models, AgentLeak improves task pass rates by over 40% compared with direct skill reuse and recovers more than 80% of the victim--attacker capability gap. Our findings reveal a confidentiality risk in LLM agents: protecting explicit artifacts alone is insufficient, as observable execution behavior can leak the procedural knowledge required to reconstruct proprietary task-solving capabilities in low-capability and attacker-controlled agents.

Mon 7 SeptCryptography and SecurityArtificial Intelligence
The gist
This paper shows that smarter AI agents can have their problem-solving abilities copied by weaker AI agents just by observing differences in how they perform tasks. The authors find that copying obvious skills alone is not enough; watching what behaviors are missing helps the weaker agent learn deeper problem-solving methods. They created a new method called AgentLeak that helps a weaker agent get much better at tasks by learning from these execution differences without changing its core model. This reveals a new way AI systems might leak valuable secrets, even if their obvious skills are kept hidden.
Open → 2609.07131v1