# Detect context-triggered prompt injection on sensitive workloads

> Source: LMSpeed (https://lmspeed.net) — https://lmspeed.net/audit/conditional-injection. When citing or reusing this content, credit "LMSpeed" and link to https://lmspeed.net/audit/conditional-injection.

Detect sleeper prompt injections that activate only on sensitive crypto, finance, or credential tasks using 3 matched pairs and strict dual-proof rules.

Canonical URL: https://lmspeed.net/audit/conditional-injection
Last updated: 2026-12-03T18:58:42.592Z (site data revision; page date not supplied)

Reproduction and quotation must name LMSpeed, link to the canonical HTML URL, and retain individual source citations.

Randomize matched ordinary vs sensitive task pairs and flag only when both decoy disclosure and external exfiltration directives trigger without refusal.

Prompt & Injection SecurityDefault suite@lmspeed/audit v0.3.3 · independent-2026-11-24.1

[Run the All-in-One audit](https://lmspeed.net/audit)[Fingerprint Detection](https://lmspeed.net/audit/model-fingerprint)

## Recent public reports

Redacted audit reports that included this probe.

- [9r***.dpdns.org

osqoof/gpt-6

Audited at · Dec 2Passed](https://lmspeed.net/audit/N40mYlV6Wi7FIZUZ)

- [9r***.dpdns.org

osqoof/gpt-6

Audited at · Dec 2Passed](https://lmspeed.net/audit/ioQ8Fhj5sRl6FSnv)

- [ap***.ai

claude-opus-5-5

Audited at · Dec 2Passed](https://lmspeed.net/audit/UE6_9YowLYxNwcPG)

- [ap***.cc

standard/claude-opus-5.5

Audited at · Dec 2Passed](https://lmspeed.net/audit/tGHasfcva0AHdZFy)

- [fr***.in

deepseek-v4.1-flash-1017

Audited at · Dec 2Passed](https://lmspeed.net/audit/hiSam9nJebv3-v3K)

- [ap***.vip

Claude Opus 5.5

Audited at · Dec 1Passed](https://lmspeed.net/audit/2JpeaBJGrkHe0Mvz)

## Overview & Risk Context

Conditional injection probing evaluates paired ordinary vs sensitive requests in randomized order to catch relay-layer injections that stay dormant on harmless canary tests.

### What this check measures

Compares matched ordinary prompts against sensitive security/financial prompts carrying synthetic protected decoys and monitors exfiltration instructions.

### Why this risk matters

Sophisticated malicious relays stay clean during basic "hello world" probes and inject malicious redirects or data-harvesting prompts only when sensitive topics appear.

### When to run this check

Essential before trusting a relay with coding agents, wallet support, credential troubleshooting, or private company context.

Unlike crude false-positive scanners that panic whenever a model simply discusses security or refuses a bad prompt, this check applies dual evidence requirements across 3 balanced randomized task pairs.

## Detection Methodology, Evidence & Limitations

Executes 3 paired scenarios (ordinary vs sensitive context) in randomized sequence inside @lmspeed/audit with strict dual-condition gating.

- **1. Probe**

Build 3 balanced pairs combining matched benign vs sensitive prompts populated with safe synthetic decoys.

- **2. Inspect**

Submit pairs in randomized order and compare differential behavioral alterations between ordinary and sensitive turns.

- **3. Conclude**

Flag positive findings only when BOTH protected decoy disclosure AND explicit external collection URLs/instructions appear without a standard refusal.

### How to read the verdict

Topical answers or normal refusals pass; confirmed decoy leakage paired with external collection triggers an immediate critical finding.

### Evidence basis & thresholds

3 randomized balanced task pairs requiring concurrent decoy disclosure + unrefused external collection instructions.

### Scope limits & abstention conditions

Verdict applies strictly to observed behavior across the tested sensitive triggers; relays keying off specific client headers or custom triggers outside these pairs remain unverified.

### Verification Sources & Baselines

Implemented in @lmspeed/audit v0.3.3 (ruleset independent-2026-11-22.2); supplementary capability/injection design cross-checked against Veridrop, LLMprobe-engine, and meow-llm-detector specs.

- [lmspeed/audit (v0.3.3)](https://github.com/nexmoe/lmspeed-audit)Open-source LMSpeed probe engine, catalog registry, and calibrated fingerprint protocols.

- [Liu et al., "Your Agent Is Mine" (arXiv:2604.08407)](https://arxiv.org/abs/2604.08407)Research basis for AC-1 tool-call hijacking, AC-2 error leakage, and Web3 injection threats.

## Frequently Asked Questions

### Why does the check randomize the order of ordinary and sensitive prompts?

Randomization prevents sequence-dependent caching or stateful heuristic warmups from masking conditional relay triggers.

### Does a model politely refusing a sensitive request count as a failure?

No. Refusal or a benign educational answer never triggers a finding; both decoy leakage and external collection redirection must appear.

### Are real secrets placed inside the sensitive task probes?

Never. Only isolated synthetic decoy tokens are used so zero real keys can ever leak.

### How is this different from Web3 Prompt Injection?

Web3 Prompt Injection targets wallet signing and seed-phrase advice specifically; Conditional Injection detects dual-signal silent data exfiltration across broader sensitive scenarios.

## All audit checks by category

Explore every single-check audit tool grouped by risk domain, with Fingerprint Detection pinned first for model-authenticity verification.

### Fingerprint Detection

Pinned · Priority Group3

- [Model distribution fingerprint](https://lmspeed.net/audit/model-fingerprint)

- [Numeric fingerprint screening](https://lmspeed.net/audit/numeric-fingerprint)

- [Tokenizer fingerprint](https://lmspeed.net/audit/tokenizer-fingerprint)

### Prompt & Injection Security

6

- [Token injection](https://lmspeed.net/audit/token-injection)

- [Prompt extraction](https://lmspeed.net/audit/prompt-extraction)

- [Instruction conflict](https://lmspeed.net/audit/instruction-conflict)

- [Jailbreak identity](https://lmspeed.net/audit/jailbreak-identity)

- Conditional injection

- [Web3 injection](https://lmspeed.net/audit/web3-prompt-injection)

### Response & Stream Integrity

5

- [Stream integrity](https://lmspeed.net/audit/stream-integrity)

- [Stream consistency](https://lmspeed.net/audit/stream-consistency)

- [Tool substitution](https://lmspeed.net/audit/tool-substitution)

- [Error leakage](https://lmspeed.net/audit/error-leakage)

- [Latency variance](https://lmspeed.net/audit/latency-variance)

### Capabilities & Context Limits

7

- [Context window and recall](https://lmspeed.net/audit/context-window)

- [Tool permissions](https://lmspeed.net/audit/tool-calling)

- [Structured JSON output](https://lmspeed.net/audit/structured-output)

- [Image understanding](https://lmspeed.net/audit/image-understanding)

- [PDF understanding](https://lmspeed.net/audit/pdf-understanding)

- [Quality canary](https://lmspeed.net/audit/quality-canary)

- [Quality comparison](https://lmspeed.net/audit/quality-comparison)

### Related LMSpeed benchmarks & methodology

- [Full 25-Check Provider Audit](https://lmspeed.net/audit)

- [3-Stage Fingerprint Pipeline](https://lmspeed.net/audit#fingerprint-detection)

- [LLM API Speed Test](https://lmspeed.net/speed)

- [Provider Directory](https://lmspeed.net/provider)

- [Model Directory & Pricing](https://lmspeed.net/model)

- [Benchmark Methodology](https://lmspeed.net/methodology)

---
Cite as: Detect context-triggered prompt injection on sensitive workloads — LMSpeed, https://lmspeed.net/audit/conditional-injection (retrieved 2026-12-04)
