---
title: Intention-Hiding Attacks in Adversarial ML
url: https://www.emergentmind.com/topics/intention-hiding-attacks
type: topic
---

# Intention-Hiding Attacks in Adversarial ML

Searching arXiv for recent papers on intention-hiding attacks across LLMs, adversarial ML, and related security settings.
arXiv search query: "intention hiding attack LLM obfuscation deception"
Intention-hiding attacks are adversarial strategies that conceal a malicious goal, objective, or side channel behind behavior that appears benign, legitimate, or task-consistent to an observer. The literature uses closely related terms including *intention deception*, *intent obfuscation*, *concealment of intent*, *intent shift*, and *intention-hiding malicious agents*. Across these formulations, the core mechanism is consistent: the attacker seeks to satisfy an attack objective while keeping the defender’s belief within a benign hypothesis class, whether the observer is a safety-aligned LLM, a compiler reviewer, a PDF signer, a detector analyst, or a partially observing defender in a stochastic control setting [2209.00573][2505.20841][2509.22732][2111.00169][1201.0397].

## 1. Conceptual scope

In probabilistic planning, intention deception is defined as computing a strategy that deceives the opponent into a wrong belief about the agent’s intention or objective, while still reaching target states and avoiding unsafe states almost surely in an MDP monitored by a defender with partial observations [2209.00573]. In multi-turn LLM jailbreaks, the same idea appears as malicious intent that is progressively concealed through tactical manipulation, so that simple single-turn defenses remain ineffective until the final turn [2509.22732]. In adversarial prompting for aligned models, malicious intent is concealed through the composition of benign “skills,” such as metaphor or negotiation, so that prompt and response filters allocate capacity inefficiently [2505.20841]. In software artifacts, an intention-hiding attack can instead be a representational mismatch: a source sequence or document is displayed as benign to a human reviewer or signer, while the compiler or alternative file interpreter executes or renders a different semantic object [2111.00169][1201.0397].

This breadth is important because the attack family is not tied to any single substrate. The hidden object may be an action plan, a harmful request, a backdoor trigger, a target object in a detector, a sensitive attribute encoded into logits, or a covertly malicious agent in an LLM-based multi-agent system. What unifies these cases is not the payload but the concealment relation between outward evidence and underlying objective [2408.02674][2105.12049][2507.04724].

A recurrent misconception is that intention hiding is merely “prompt obfuscation.” The record is wider. It includes adversarial examples on object detectors that perturb a different, non-overlapping object to hide the true target [2408.02674], hidden attackers in ICS that imitate legitimate sensor readings during a prolonged hiding phase [2307.15926], and polymorphic PDF/TIFF files that invalidate the WYSIWYS assumption without changing signed bits [1201.0397].

## 2. Formalizations of concealment

Several papers make concealment explicit in formal criteria rather than treating it as an informal evasion property.

| Setting | Concealment criterion | Source |
|---|---|---|
| Multi-turn jailbreaks | $\forall i<T: m_i<\delta$ but $J(R'_T,G)=1$ | [2509.22732] |
| MDP intention deception | attacker reaches $\varphi_1$ almost surely while each attacker history has an observation-equivalent legitimate-user counterpart | [2209.00573] |
| Trojan Source | $\mathrm{Semantics}(f_{display}(S)) \neq \mathrm{Semantics}(f_{compile}(S))$ | [2111.00169] |
| HBC classifiers | high honesty $\delta^y$ and high curiosity $\delta^s$ from the same released output vector | [2105.12049] |
| LLM-MAS sabotage | maximize $\Delta A-\lambda D(a_m)$ under low behavioral deviation | [2507.04724] |

For multi-turn jailbreaks, the hidden-goal formulation is particularly direct. If an adversary with hidden goal $G$ crafts a chain $C=\{P'_1,\dots,P'_T\}=A_{multi}(G)$, then the model’s latent malicious-intent probability $m_i=P(M_i\mid P'_1\ldots P'_i,H_0)$ drifts slowly upward. An intention-hiding attack is one for which each $m_i$ remains below a single-turn threshold $\delta$ before the final turn, yet the final response satisfies the binary success indicator $J(R'_T,G)=1$ [2509.22732]. This turns concealment into a sequential calibration failure.

In the MDP setting, the key object is an augmented belief-product state $(s,B)$, where $s$ is the true state and $B\subseteq S$ is the defender’s belief under the rational-user assumption. The attacker must satisfy a reach-avoid objective $\varphi_1=\neg U_1\ \mathsf{U}\ T_1$ almost surely while ensuring that every observed history remains compatible with some almost-sure winning legitimate-user strategy for $\varphi_0=\neg U_0\ \mathsf{U}\ T_0$ [2209.00573]. Concealment is thus equivalent to keeping the defender’s feasible belief set non-empty.

The HBC formulation shows that intention hiding can also be output-channel design. A semi-trusted server provides a classifier $F$ that appears honest on target attribute $y$, but the server secretly applies a second mapping $G(F(x))$ to infer a sensitive attribute $s$. The paper writes honesty as $\delta^y=\Pr[\arg\max F(x)=y]$ and curiosity as $\delta^s=\Pr[G(F(x))=s]$, then frames training through an Information Bottleneck objective that simultaneously preserves target prediction and sensitive-attribute leakage [2105.12049]. Here the “hidden intention” is privacy extraction rather than visible task degradation.

## 3. Prompt- and dialogue-level attacks on large language models

Prompt-level intention hiding has developed along at least three distinct lines. First, the game-theoretic line models adversarial prompting as concealment of malicious intent through benign skill composition. The attacker mixes intent $i\in\mathbb{I}$ with skills $s\in\mathcal{S}$ using a fixed encoder $E(i,s)$, while the defender allocates finite prompt-and-response filtering capacity across intent-skill combinations. In this model, the equilibrium value is $J^*=1-\frac{c}{|\mathcal{S}|}\sum_i p_I(i)^2$, achieved when the attacker spreads uniformly over skills and the defender spreads capacity proportionally to the intent prior [2505.20841]. As the skill set grows, defender capacity is diluted; the paper further states that mixing two skills replaces the relevant denominator by $\binom{|\mathcal{S}|}{n}$, making defense harder to scale [2505.20841].

Second, ISA reframes harmful requests through minimal linguistic transformations rather than large prompt scaffolds. The attack defines $Q' \leftarrow \mathrm{IntentShift}(Q)$ and is successful when the model generates harmful content while its internal intent judgment flips from harmful to benign, $\mathcal{I}_{\mathcal{M}}(Q)=harmful \rightarrow \mathcal{I}_{\mathcal{M}}(Q')=benign$ [2511.00556]. The reported taxonomy contains five shifts: Person Shift, Tense Shift, Voice Shift, Mood Shift, and Question Shift. On AdvBench, the best-shift ASR is listed as $86\%$ for Qwen-2.5, $74\%$ for Llama-3.1, $72\%$ for GPT-4.1, $70\%$ for Claude-4-Sonnet, and $82\%$ for DeepSeek-R1, with gains of over $70\%$ relative to direct harmful prompts in the headline summary [2511.00556]. The same paper reports that fine-tuning Qwen-2.5 and Llama-3.1 on only benign ISA-style data elevates success rates to nearly $100\%$ on held-out malicious prompts after ISA [2511.00556].

Third, multi-turn attacks exploit temporal decomposition. BIID was proposed precisely because conventional defenses focused on single-turn attacks, whereas multi-turn jailbreaks conceal malicious intent across turns. BIID interposes a forward request-based inference score $p_f(x_i)=P(d=1\mid x_i)$ and a backward response-based retrospection score $p_b(R_i)=P(d=1\mid R_i)$, with one fusion rule $R_i^{sk}=\alpha p_f(x_i)+(1-\alpha)p_b(R_i)$ [2509.22732]. The paper reports evaluation on Llama-3.1-8B-Instruct, Llama-3.3-70B-Instruct, and Qwen3-8B, across AIM, BetterDAN, GCG, ICA, Future-tense, Past-tense, PAIR, RandomSearch, Crescendo, and ActorAttack, using JailBreakBench, HarmBench, MHJ, SafeDialBench, and CoSafe [2509.22732]. It states that BIID drives ASR to approximately $0$–$3\%$ on every attack/model combination, reduces MHJ ASR from approximately $58\%$ with no defense to below $2\%$, and retains greater than $95\%$ win-rate on AlpacaEval [2509.22732].

The same concealment logic extends from single-model prompting to collaborative systems. In LLM-based multi-agent systems, one malicious agent can remain role-consistent and fluent while subtly biasing group reasoning through Suboptimal Fixation, Reframing Misalignment, Fake Injection, or Execution Delay [2507.04724]. The objective is written as maximizing $\Delta A-\lambda D(a_m)$, with concealment operationalized by a low deviation score $\Delta_{i,t}=\frac{1}{K}\sum_{k=1}^K|s_{i,t}^{(k)}-s_{i,0}^{(k)}|$ across HEXACO dimensions [2507.04724]. This shows that intention hiding in LLM systems is not restricted to user-model interaction; it also arises in agent-agent coordination.

## 4. Manifestations beyond prompting

Software supply-chain security provides a canonical non-LLM instance. Trojan Source attacks exploit Unicode bidirectional control characters so that source code appears different to a compiler and to the human eye. The paper formalizes a source file $S\in\Sigma^*$ as feeding two interpreters, $f_{display}$ and $f_{compile}$, and defines an intention-hiding attack by the inequality $\mathrm{Semantics}(f_{display}(S)) \neq \mathrm{Semantics}(f_{compile}(S))$ [2111.00169]. The listed control characters include U+202A, U+202B, U+202D, U+202E, U+202C, U+2066, U+2067, and U+2069, and the paper demonstrates working examples in C, C++, C#, JavaScript, Java, Rust, Go, Python, SQL, Bash, Assembly, and Solidity [2111.00169]. Here concealment exploits differential interpretation rather than statistical misclassification.

Document security exhibits an analogous split between displayed and signed content. The PDF/TIFF polymorphism attack constructs a single file $F:=S_T^H \parallel P \parallel \mathrm{AdjustOffsets}(T_r,+|P|)$ that is simultaneously a valid PDF and a valid TIFF, so that a signer sees only the PDF rendering while the hidden TIFF content is still signed [1201.0397]. After signing, the attacker changes only the filename extension; since the bit-string is unchanged, signature verification still succeeds. The paper frames this as a proof-of-concept against WYSIWYS and notes substantial destructive potential in e-government and e-business settings [1201.0397].

In computer vision, intent obfuscation was introduced for object detectors by perturbing another non-overlapping object to disrupt the target object, thereby hiding the intended target [2408.02674]. The attacker modifies only pixels in a perturbation region $p$ with $b_t\cap b_p=\emptyset$, solving iterative PGD under $\|\delta\|_\infty\le \epsilon$ and $\mathrm{supp}(\delta)\subseteq b_p$ [2408.02674]. On 5,000 held-out COCO 2017 test images and five detectors—YOLOv3, SSD, RetinaNet, Faster R-CNN, and Cascade R-CNN—the paper reports targeted and untargeted success across all models. At $T=200$, $\epsilon=1.0$, IoU/confidence threshold $0.3$, vanishing success is approximately $96\%$ for YOLOv3, $94\%$ for SSD, $83\%$ for RetinaNet, $80\%$ for Faster R-CNN, and $82\%$ for Cascade R-CNN [2408.02674]. The paper also explicitly links the off-target perturbation to “plausible deniability” [2408.02674].

Critical infrastructure introduces a hiding phase centered on sensor impersonation. The ICS work studies an off-path false-data-injection attacker that first makes the original sensor’s readings unavailable and then impersonates that sensor with legitimate-looking fake readings over a prolonged interval $\mathcal{T}_h$ [2307.15926]. The defender injects keyed micro-distortions $\delta_t$ with $|\delta_t|\le \epsilon R$, either digitally via LSB overwriting or physically via a small actuated perturbation, and detects whether the received sequence matches the secret distortion process [2307.15926]. For the digital method, the paper gives $P_{FN}=(1/2)^N$ under random guessing; for the physical mode, it proposes the Filtered-$\Delta$-Mean-Difference statistic with $E[\mu_{01}-\mu_{10}]=4\epsilon R$ under no attack and approximately $0$ under attack [2307.15926].

Privacy leakage through model outputs is another non-obvious instance. HBC classifiers can be accurate in predicting their target attribute while also exploiting their outputs to secretly encode a sensitive attribute, even when users have a full white-box view of the classifier and only release the output vector [2105.12049]. On CelebA “Smiling vs. Male,” the summary reports that a standard classifier has $\delta^y\approx97\%$ and $\delta^s\approx68\%$, while Soft-HBC with $(\beta^y,\beta^s)=(0.5,0.5)$ yields $\delta^y\approx91.7\%$ and $\delta^s\approx94.2\%$ [2105.12049]. The same paper reports that a standard classifier’s outputs are near chance for sensitive-attribute recovery in some cases, whereas HBC outputs carry a robust side channel [2105.12049].

Sequence backdoors in finance represent yet another manifestation. A 2023 study on transaction sequences describes a method to introduce concealed backdoors into event-sequence models without altering their functionality for uncontaminated data, and identifies attacks with an additional supervised detection step during test time or well-hidden model weight modifications as particularly difficult to uncover [2308.10201]. The abstract reports experiments on three open transaction datasets and three architectures—LSTM, CNN, and Transformer—and notes that alternative methods such as distillation-type regularization were explored but found less efficient [2308.10201].

## 5. Detection and defense strategies

A common defensive pattern is to reintroduce observability for the hidden variable. In multi-turn LLM safety, BIID does this by pairing forward request-based intention inference with backward response-based intention retrospection, with thresholds calibrated to keep false-positive rate at or below $1\%$ on benign dialogues [2509.22732]. The ablation results are structurally revealing: forward-only catches approximately $70\%$ of multi-turn attacks, backward-only catches approximately $75\%$, and full bidirectional inference catches more than $98\%$ of cases [2509.22732]. This indicates that concealment can be distributed across both prompts and generated responses.

ISA evaluates both training-free and training-based mitigations. The reported prompt-based defenses are Intent-Aware Defense and Output Harm-Aware Defense, and the training-based defense is supervised fine-tuning on ISA-shifted harmful and benign examples with an explicit two-part format: “Intent Analysis” and “Policy-aligned Response” [2511.00556]. On Qwen-2.5, GPT-4.1, and DeepSeek-R1, the table reports that Intent-Aware Defense reduces ASR to $55\%$, $16\%$, and $12\%$, while Output Harm-Aware reduces it to $40\%$, $50\%$, and $44\%$; the fine-tuned Qwen-2.5 reaches $25\%$ ASR but with $25\%$ refusal on XSTest [2511.00556]. The paper explicitly frames this as a safety–utility trade-off.

The game-theoretic line proposes a different countermeasure: misleading the attacker. Instead of merely hardening weak intent-skill combinations, the defender fabricates a performance table $\hat a_{i,s}$ so that a safe combination appears weak and attracts attacker probing, then allocates capacity to that trap [2505.20841]. The resulting equilibrium payoff is reported as
$$
J_M^*=1-\Bigl(\sum_{j=1}^{\lfloor c\rfloor}p_{(j)}+(c-\lfloor c\rfloor)p_{(\lfloor c\rfloor+1)}\Bigr),
$$
with Theorem 4 stating $J_M^*\le J^*$ under the practical constraint $|\mathcal{S}|\ge c$ [2505.20841]. This is a deception-based defense against deceptive attacks.

In LLM-MAS, AgentXposed combines the HEXACO personality model with the Reid Technique. It infers initial trait scores $s_{i,0}^{(k)}\in[1,10]$, monitors deviations, and triggers progressive inquiry when $\Delta_{i,t}>\tau$ with $\tau=1$ [2507.04724]. The reported average $F_1$ scores for centralized intention-hiding attacks are $77.9$ for HEXACO, $72.7$ for MBTI, and $69.7$ for Big-Five, while undisguised baselines such as Incorrect Fact Injection and Dark-Traits yield $F_1>89\%$ and recall up to $95\%$ [2507.04724]. The lower detection rate on intention-hiding attacks is itself evidence of concealment efficacy.

For representational attacks, defenses are more infrastructural. Trojan Source recommends compiler-level rejection or warning on unbalanced Bidi controls, normalization by stripping Bidi controls before lexical analysis, editor visualization of suspicious code points, and repository or CI scanning that bans U+202A through U+2069 unless explicitly whitelisted [2111.00169]. The PDF/TIFF work recommends hex-level inspection, PDF/A-1b Preflight, signing tools that rewrite documents, and embedding filename or MIME type into the signed CMS/PKCS#7 attributes so that re-extension breaks verification [1201.0397]. In ICS, the digital two-layer LSB method and physical Filtered-$\Delta$-Mean-Difference method aim to expose attackers while they are still in the hiding phase, with one-pass $O(n)$ complexity and no heavy cryptography [2307.15926].

HBC mitigation is more limited. The paper mentions third-party auditing on sensitive-attribute-labeled probes, restricting outputs to a single top label or perturbing/quantizing outputs, and developing methods that certify $I(Y_{out};S)$ is below a threshold [2105.12049]. The difficulty is that removing the hidden channel without damaging the target task is itself an information-allocation problem.

## 6. Security significance, attribution, and open problems

The significance of intention-hiding attacks lies partly in their effect on attribution. The object-detector paper emphasizes “plausible deniability” because the visible perturbation lies off the principal target [2408.02674]. The ISA work shows that minimal grammatical or pragmatic changes can make a clearly malicious request masquerade as a benign knowledge query [2511.00556]. Trojan Source and PDF polymorphism both undermine visual review assumptions: in one case the human reviewer sees benign code while the compiler executes malicious logic, and in the other the signer sees a benign PDF while the signed bit-string also contains a hidden TIFF [2111.00169][1201.0397]. These are not merely evasion events; they are failures of evidentiary alignment between appearance and operational semantics.

Another recurring theme is scaling pressure on defenders. In the game-theoretic prompting model, larger skill spaces and skill mixtures increase attacker advantage under finite filtering capacity [2505.20841]. In decentralized multi-agent systems, increasing agent count and deeper discussion rounds amplify covert influence, and execution-delay attacks can remain nearly invisible while inflating collaboration cost [2507.04724]. In MDP deception planning, the augmented state space is $O(|S|2^{|S|})$, so exact synthesis inherits an exponential blow-up from subset construction [2209.00573]. In sequence backdoor attacks, the abstract indicates that uncoverability varies across datasets, architectures, and model components, which suggests that concealment is not a fixed property but interacts with system design [2308.10201].

Several open problems are explicit in the literature. The MDP work is limited to reach-avoid objectives and assumes full knowledge of the defender’s observation structure and user objective [2209.00573]. ISA identifies the need to expand beyond English and beyond five core shifts, and calls for adaptive, context-aware defenses that infer latent user intent without over-conservatism [2511.00556]. The HBC work leaves open scalable detection of hidden side channels in logits and defenses robust to unknown sensitive attributes [2105.12049]. The ICS paper distinguishes digital and physical distortion regimes, implying that attacker exposure during the hiding phase depends on the defender’s ability to inject and verify secret perturbations without destabilizing the plant [2307.15926]. The game-theoretic LLM paper assumes a stylized capacity-constrained defender; a plausible implication is that richer attacker–defender models will have to incorporate probing, adaptation, and endogenous safety policies more explicitly [2505.20841].

Taken together, the research record presents intention-hiding attacks as a general security pattern rather than a narrow attack class. The attacker’s primary innovation is not only to change a model’s output or a system’s state, but to preserve a benign explanation for the observed evidence while doing so. That design principle recurs in stochastic planning, prompt engineering, multi-turn jailbreaks, multi-agent sabotage, source-code representation, document polymorphism, object-detection attacks, hidden ICS intrusion, privacy leakage, and concealed backdoors in event sequences [2209.00573][2509.22732][2507.04724][2111.00169][1201.0397][2408.02674][2307.15926][2105.12049][2308.10201].

Source: https://www.emergentmind.com/topics/intention-hiding-attacks