Paper: decomposition attacks can bypass LLM stateful defenses across unlinkable identitiesDecomposition Attacks Across Unlinkable Identities: Limits of Stateful Defenses for LLM Services
Formalize decomposition attacks across unlinkable identities and evaluate 10 strategies; under a 1% comparison interception cap, actual defenses still have a single-attempt ASR of 97.64%, rising to 100% after retries.
The attacker uses unlinked new identities to break harmful tasks into individually compliant sub-requests and combine them offline, adaptively retrying and adjusting profiles based on binary feedback; the victim system is a causal stateful service with request-level history and metadata but unable to observe offline merging.
- For task decomposition attacks against large language model services, an attacker can break a harmful goal into individually compliant sub-requests and submit them through unlinkable identities to evade stateful defenses; existing research lacks a systematic analysis of defense capability boundaries when attackers hide merged responses across identities.
- Formalize decomposition attacks under unlinkable identities, derive the security-utility theoretical frontier with and without retries; construct a benchmark containing 91 executable tasks, 365 operations, and 11,393 capability-matched control requests, eliminate source artifacts through balanced recoloring, and evaluate 8 practical defenses and an ideal ledger.
- Under the constraints of a 1% capability-matched control interception rate and a 0.5% background interception rate, the only compliant defense M5 on the main evaluation set achieves a single-attempt ASR of 97.64%; with retries introduced, the compliant defense's ASR rises to 100% on unseen task clusters; Thompson sampling based on ALLOW/BLOCK feedback achieves an ASR of 99.4%.
- Evaluated only on synthetic network programming tasks, not covering multiple domains or uncontrolled real traffic; open-language search or general POMDP adaptive attacks were not evaluated; the tested defenses are all request-level single-channel, not including systems with native observation responses or tools; relies on specific API aliases.
- Evaluated models
- Granite GuardianTwinGate
- Benchmarks
- 91 executable tasks (82 families)11,393 capability-matched benign controlsWildChat (1.2M)StackExchange (150k)MS MARCO (150k)Outer cohort (11 families, 23 suites, 629 variants)
- Metrics
- ASR (family-average abstract attack success rate)MCD (matched-control denial)BBR (background block rate)ρ (ATK/MCD ratio)AUROC
The paper proposes a new threat model for decomposition attacks: the attacker splits a harmful task into requests that are individually compliant, then merges the answers outside the service, and submits them under new identities that the service cannot link, thereby removing the grouping signal for stateful monitoring. The authors prove that under a fixed attack strategy without retries, the safety-utility tradeoff depends entirely on how benign requests of the same capability are grouped; once retries are allowed and the attacker learns from Allow/Block feedback, this favorable operating point disappears. Experiments based on 91 executable tasks, 365 operational requests, and 11,393 capability-matched benign requests, under a 1% matched control rejection rate and a 0.5% background traffic rejection rate cap, show that all ten tested policies, including a privileged policy with exact request-to-operation mappings, either fail to block the attack or exceed the budget; on unseen task families, the attack succeeds with at least 99% probability after one attempt and 100% after two. The authors argue that effective defense requires additional evidence such as reliable identity linking, costs for new identities, or control over answer usage.
Why it was selectedThe paper uses 91 executable tasks and over 11,000 benign requests with the same capabilities to quantify the security and collateral damage boundaries of decomposition attacks under stateful defenses.
Paper analysis
What problem does this paper attempt to solve?
Investigate the security and utility boundaries of stateful defenses under decomposition attacks across unlinkable identities.
This paper attempts to address whether stateful defenses can effectively block decomposition attacks across unlinkable identities in large language model services while preserving usability for normal users.
- Scenario and importance: LLM services often rely on stateless defenses to intercept harmful requests, but decomposition attacks can break a harmful goal into subtasks that are individually compliant and also requested by benign users; defenders must maintain state across requests, yet when attackers merge outputs offline and are distributed across unlinkable identities, stateful monitoring faces attribution boundary problems.
- Limitations of existing defenses: Existing stateful defenses typically assume complete observation of session or account history containing all attack requests; once attackers use multiple new identities that cannot be linked on the service side, per-account state is fragmented, while cross-global clustering easily causes collateral damage to benign users providing the same capabilities.
- Core observation and hypothesis: The authors argue that request content itself only reflects functional semantics and cannot identify who ultimately merges the responses; benign matching requests and attack requests are interchangeable at the operation level, and without independent linking signals, the defender's ability to distinguish attacks from normal use depends entirely on the identity grouping structure of benign requests.
- Threat model:
- Attacker goal: Cause the offline storage of the attack coalition (Access Coalition) to collect all atomic operation capabilities required for the target task, successfully synthesizing the complete harmful task.
- Attacker knowledge: Black-box access to the service, observing only the ALLOW/BLOCK binary decision result and response content of each request, without knowing the defender's internal representations and thresholds.
- Attacker capabilities: Control request semantics (including functionally equivalent rewrites and irrelevant padding), submission order, retry strategy, and the identity dimension (reusable visible groups or entirely new unlinkable identities).
- Victim system: A stateful LLM service with causal global history, visible group labels, and metadata, which must make allow or block decisions before generating and releasing responses.
- Main contributions of the paper: Formalize the definitions of visible groups and access coalitions, derive the security-utility theoretical frontier under single and finite retries; construct a benchmark containing 91 executable tasks, exclude text template artifacts through balanced recoloring, and empirically evaluate the theoretical frontier and 8 types of practical defenses.
What related research exists?
Reviewed three groups of related work: composition attacks, stateful monitoring, and classical system security.
The paper organizes related research into three groups: capability composition attacks, stateful defenses and their observation dimensions, and system security metrics:
Capability Composition
- Direct jailbreaks and multi-turn dialogue attacks: Anil et al. (2024) studied diverse-sample jailbreaks; Li et al. (2024)'s DrAttack and Russinovich et al. (2025)'s Crescendo studied dispersing malicious goals across multi-turn sessions; the authors note that decomposition attacks differ in that each subtask is itself fully compliant, and harm only emerges when combined.
- Model composition and capability leakage: Glukhov et al. (2024) formalized unsafe information leakage in safe responses; Jones et al. (2025) noted that weak models can delegate compliant subtasks to aligned strong models; subsequent systems turn such compositions into executable forms. The authors build on this to introduce the question of how unlinkable identities can aggregate capabilities offline.
Stateful Defenses and Observability
- Single-session cumulative monitoring: Yueh-Han et al. (2025)'s DecomposedHarm accumulates dialogue context; Shen et al. (2026)'s TurnGate seeks the earliest response that closes multi-turn malicious capability; Yang et al. (2026)'s Paranoid Monitors propose a decoupled design for state tracking and safety judgment. The authors note that these systems all rely on the prior assumption of observing a complete shared interaction history.
- Cross-session and account aggregation systems: Brown et al. (2026) cluster multi-account transcripts online and escalate suspicious clusters; Sun et al. (2026)'s TwinGate matches similar intents in globally interleaved traffic based on asymmetric contrastive learning; the authors note that TwinGate struggles to balance false interception rates without identity metadata, and neither addresses the offline invisible merging problem.
Comparison with classical system security mechanisms
- Intrusion detection and Sybil defense baselines: Axelsson (2000) and Sommer et al. (2010) noted the constraints of baseline imbalance and benign overlap on detection; Fogla et al. (2006) studied simulated attack evasion; Douceur (2002) and Yu et al. (2006) distinguished accounts from entities in Sybil defense. The authors draw on these perspectives, emphasizing that account linking is a service-visible partition, while offline merging is the security boundary.
Baseline methods and benchmark positioning
- Comparison baselines: include no-defense M0, lexical classifier M1, Granite Guardian 3.1 (M2), TwinGate adapted version (M3), Brown-style clustering monitoring (M4), DecomposedHarm cumulative monitoring (M5), direct LLM judgment (M6), Paranoid Monitors ledger monitoring (M7), prototype-matching structured ledger (M8), and omniscient mapping privileged ledger (M9).
- Positioning distinction: the authors emphasize that this paper does not propose a new empirical detector, but is the first to formalize information-theoretic and causal constraints under unlinkable identities, giving the performance upper bound for all causal defenses based on request streams.
How does the paper address this problem?
Formalize theoretical boundaries and construct balanced executable protocols, proving that the defense boundary is determined by grouping.
The paper uses Causal Capability Frontier theoretical modeling combined with executable benchmark replay to derive defense limits theoretically and dissect mechanistically the disconnect between stateful defenses and offline capability merging.
Theoretical model and formalization
- Conceptual split: strictly distinguishes the system-observable "visible grouping" (a set of requests linked by the service based on credentials, IP, time, etc.) from the "access coalition" that actually merges responses (an attacker entity with unified physical storage), the latter being hidden from the defender.
- Operations and capability ledger: task h contains a necessary operation set Ih. The capability mapping Cap(Bt) of request Bt records the operations provided by its compliant response. Abstract attack success occurs when the coalition ledger collects Ih.
- Single-attempt security-utility frontier: under the role exchangeability assumption, the defender's minimum worst-case task ASR under expected benign comparison interception budget B satisfies: ASR∗1(B) = max{0, 1 − B/D} where D is the sum of minimum comparison samples per task; if benign matching requests all use new identities, the defender cannot distinguish attacks from benign requests, and reducing ASR necessarily causes a linear increase in comparison interception rate.
- Finite retry theoretical frontier: when each operation is allowed at most R retries and benign workflows also retry after interception, the defender's theoretical optimal frontier for request interception ratio β satisfies: ASR∗R(β) = max{0, 1 − β/(d{R − (R−1)β})} This formula shows that as the retry count R increases, the ASR lower bound under fixed benign overhead monotonically increases and approaches 1.
Observation closure and unidentifiability
- Request stream unidentifiability: proves that relying only on visible request history cannot identify potential coalition partitions; output text, embedding vectors, classifier scores, or test-time fine-tuned weights are all causal post-processing of the request stream, and by the data processing inequality, cannot provide additional offline aggregation evidence.
- Causal cost: online causal defenses, unable to foresee future completion sets, incur interception costs strictly greater than the offline hypergraph hitting set transversal number τ(H).
Experimental mechanisms to eliminate evaluation artifacts
- Balanced Recoloring: for each registered operation, mix its original attack requests with benign comparison requests, and under a fixed visible stream, rotate attack roles to ensure the text itself contains no prior role labels.
- Prefix template stripping: found that generated comparison samples carry a 162-character structural prefix that discriminators use as a shallow feature; this is stripped in experiments to ensure purity of semantic evaluation.
Stateful defense components and adaptation
- General processing flow: defenses intervene causally at the request prefill stage, with input limited to the current request, historical request summaries (up to 4 entries, 400 characters each), or retrieved task descriptions (up to 2 entries, 800 characters each).
- Unified judgment architecture: M4–M7 all connect to a unified 2B discriminator model (temperature 0), outputting a 0–100 risk score, combined with calibration-set-tuned thresholds to output ALLOW/BLOCK decisions.
What experiments did the paper conduct?
Experiments verify that compliant defenses generally have ASR exceeding 97%, and retries and feedback can bring ASR above 99%.
The paper conducts multiple groups of experiments around theoretical frontier validation, practical defense evaluation, adaptive learning, and sensitivity analysis.
Experimental Setup
- Models under test: The local attack and planning model uses the de-aligned version of Qwen3.5-35B-A3B; the discriminative defenses M4–M7 uniformly use the de-aligned version of Qwen3.5-2B; M2 uses Granite Guardian 3.1 2B; the retriever uses BGE-large-en-v1.5; task pre-screening uses the DeepSeek commercial API.
- Datasets and scale: The main evaluation set contains 91 executable network programming tasks (across 82 families, 365 operations), 11,393 single-operation capability-matched benign control requests; the external distribution generalization set contains 11 families unseen by the defenses (23 suites, 38 operations, 629 request variants); background noise contains 1.5 million requests (WildChat 1.2 million, StackExchange and MS MARCO 150,000 each).
- Baselines and metrics: Baselines include M0–M8 and privileged M9; core metrics are family-average abstract ASR, capability-matched control interception rate (MCD, upper bound 1%), background interception rate (BBR, upper bound 0.5%), and the interception ratio ρ = ATK/MCD.
- Calibration and statistical protocol: All thresholds are selected only on 12 calibration families; the main evaluation set uses 10,000 resamples of 19 constructed clusters to compute 95% confidence intervals.
Main Results
Under single attempt (R = 1), satisfying the constraints MCD ≤ 1% and BBR ≤ 0.5%, the results on the main evaluation set and defense-unseen external families are as follows (per Table 2):
Swipe horizontally to read the table
Method Main ASR (%) [95%] Main MCD (%) Main BBR (%) External ASR (%) [95%] External MCD (%) External BBR (%) M0 No defense 100 [100, 100] 0 0 100 [100, 100] 0 0 M1 Lexical model 94.61 [91.15, 97.62] 1.320 0 100 [100, 100] 0 0 M2 Granite 100 [100, 100] 0 0.498 99.01 [97.30, 100] 0.320 0.498 M3 TwinGate 100 [100, 100] 0 0 100 [100, 100] 0 0 M4 Brown style 100 [100, 100] 0 0 100 [100, 100] 0 0 M5 Cumulative monitoring 97.64 [96.79, 98.42] 0.641 0.135 2.54 [0.28, 6.00] 64.73 0.075 M6 Direct LLM 94.44 [93.36, 95.61] 1.377 0 48.60 [29.46, 67.72] 19.04 0 M7 Factorized ledger 100 [100, 100] 0 0 100 [100, 100] 0 0 M8 Structured ledger 93.88 [92.44, 95.14] 1.419 0 83.47 [74.80, 91.62] 4.56 0 M9 Privileged global ledger 0 [exact] 22.34 0 0 [exact] 25.49 0 - Compliant defenses block little: On the main evaluation set, M5 is the only method that satisfies the dual usability constraints and produces effective interception, with an ASR only 2.36 percentage points lower than no defense; M1, M6, and M8 have slightly lower ASR but all exceed the MCD limit; M2, M3, M4, and M7 barely intercept at all.
- External unseen families severely out of bounds: When transferring to external unseen families, M5's ASR drops to 2.54%, but the false interception rate MCD rises to 64.73%; if restricted within 1% MCD, the lowest ASR on the external distribution is still as high as 96.29% (per Section 7.2).
- The privileged ledger is also too costly: The M9 global ledger with a perfect semantic mapping, to achieve 0% ASR, incurs 22.34% and 25.49% benign false interception on the main evaluation and external distributions, respectively.
Disconnect between Capability Recognition and Attribution
- Semantic recognition and attribution tests: 5 of the 8 scoring functions achieve AUROC of 0.969–0.989 in distinguishing registered capabilities from ordinary background (Table 1); but after stripping the prefix template, the AUROC for distinguishing attacks from benign controls all fall back to 0.4889–0.5424 (near 0.5).
- Ratio statistics: On the main evaluation set, the 95% confidence intervals of ρ = ATK/MCD for all compliant strategies contain 1 (Table 3), and the median ρ over 1,381 test points on external families is 1.028, indicating that defenses cannot systematically bias interception toward attacks.
Retries and Black-Box Feedback Learning
- Retries dismantle the defense advantage: In the positive control experiment, M1 has an ASR of 8.75% on a single attempt, but with just one retry (R = 2) the ASR rises to 98.75%, and reaches 100% with five retries (Table 4).
- Adaptive feedback learning: Across 3,072 experimental units, an attacker running Thompson sampling using only ALLOW/BLOCK feedback achieves an ASR of 99.4%, close to the known true release probability upper bound of 99.8%, while a fixed profile achieves only 47.2% (Section 7.3).
- Benign density effect: At the highest benign density on external unseen families (mC = 11.553), all compliant methods achieve 100% ASR at R = 2 (Figure 3).
Other Ablations and Analyses
- The causal online policy pays 1.3056 times the interception excess cost compared to the offline optimal hit set on the same samples (Section B.15).
- When the operation sharing rate between tasks increases from 0 to 80%, the control interception rate for full blocking drops from 17.537% to 13.410% (Table 13).
- Variants written by the attacker's local model appear less suspicious to the discriminator than official rewrites (AUROC of 0.2458–0.3294, Table 14).
- Even when the MCD budget is relaxed to 10%, the ASR of the best compliant defense on the external distribution remains at 99.006% (Table 12).
What are some points that can be further explored?
The authors point out limitations in traffic distribution and task types; the experiments cover only the request channel and discrete profiles.
The paper gives a clear scope from both the authors' stated limitations and the actual experimental boundaries:
Limitations stated by the authors and future directions
- Cannot represent natural traffic distribution: public corpora contain neither offline merging nor reliable account linking; experimental evaluation is based on preset traffic and synthetic comparisons, not the entity and account cost distribution in natural deployment environments (Section 8, Section B.18).
- Coverage limits of executable verification: frozen single-operation tests can only verify independent functional contracts, not exhaust all possible recombinations, orderings, recoloring partitions, or rewriting combinations (Section 8, Section B.18).
- Limited black-box learning assumptions: feedback learning theory and experiments are based on a finite candidate profile library, stationary resettable release probabilities, and bounded retries, not addressing open language space search or general partially observable Markov decision processes (POMDP) (Section B.18).
- Standardization limits of evaluation channels: M0–M9 are uniformly compared under a single channel containing only requests, not reproducing defense systems natively dependent on responses, interactive tools, persistent sessions, or source credentials (Section 8, Section B.18).
- Task domain and commercial interface dependencies: synthetic network programming tasks, while facilitating objective execution verification and avoiding impact on real targets, limit task domain diversity; and the initial screening service relies on commercial API aliases observed at a specific time, so conclusions should not be directly generalized to other models or domains (Section 8, Section B.18).
- Potential defense expansion paths: in the discussion, the authors propose that future effective defenses must rely on independent clues or combined constraints, such as reliable identity linking, reputation mechanisms, payment and rate limits, privacy credentials, restricted tools, sandboxes, and fine-grained authorization (Section 8).
Experimental coverage
- Tested model scope: experiments involve Qwen3.5-35B-A3B (attack planning), Qwen3.5-2B and Granite Guardian 3.1 2B (discrimination), BGE-large-en-v1.5 (retrieval), and a specific-period DeepSeek interface, not including other models.
- Task categories and scale: the evaluation set covers 91 synthetic network security programming tasks and 11 external validation families, not including security tasks outside network programming domains.
- Usability constraint boundaries: all compliant thresholds are screened under fixed strict budgets of MCD ≤ 1% and BBR ≤ 0.5%.
- Retry and profile parameters: dynamic retry experiments set retry limits of R ∈ {1, 2, 5}, and feedback learning search is based on a discrete preset profile grid (R ∈ {1, 2, 4}).
- Observation channel conventions: experiments are limited to pre-generation request streams, visible metadata, and historical decisions, not evaluating streaming output blocking or dynamic interception based on execution feedback.
Summarize the main content of the paper
Prove that cross-identity decomposition attacks break stateful defense boundaries, with ASR still exceeding 97% under compliance.
This paper systematically characterizes the fundamental constraints that decomposition attacks across unlinkable identities impose on stateful defenses of large language models, pointing out that low false interception and high security cannot both be achieved without independent identity linking.
- Core problem positioning: targeting decomposition attacks that break harmful tasks into compliant sub-steps, submit them via multiple unlinkable identities, and aggregate answers offline, the study examines the limits of causal stateful defenses under practical usability boundaries.
- Method and theoretical derivation: strictly decoupling service-visible groupings from physical access coalitions, it derives the security-utility theoretical frontier under single-attempt and retry conditions; proves that output embeddings and post-processing cannot provide additional offline aggregation information; and constructs an unbiased benchmark containing 91 executable tasks and 11,393 capability comparisons.
- Key empirical findings:
- Under a 1% matching comparison and 0.5% background false interception cap, the best-performing compliant defense M5 on the main evaluation set still has an ASR as high as 97.64% (Table 2).
- Defenses cannot systematically distinguish attacks from benign comparisons; the median blocking ratio ρ across 1,381 threshold points on the external distribution is only 1.028 (Table 3/B.13).
- Even M9's privileged global ledger with perfect operational identification requires a 22.34% benign comparison interception cost to achieve 0% ASR (Table 2).
- An attacker using only ALLOW/BLOCK binary feedback for Thompson sampling can raise ASR to 99.4% under a limited budget (Section 7.3).
- Against unseen task families, allowing 1 retry makes all compliant defenses reach 100% ASR at the highest benign density (Figure 3).
- Conclusion and security implications: the authors argue that merely enhancing the model's understanding of request semantics or stacking request-level state cannot resolve the fundamental contradiction of missing offline attribution; building practical decomposition-resistant defenses requires introducing independent strong signals beyond the request stream, such as unforgeable identity credentials, identity creation and retry costs, fine-grained scoped authorization, or output execution sandbox controls.