By NHI Mgmt Group Editorial TeamBased on HiddenLayer: “EchoGram: The Hidden Vulnerability Undermining AI Guardrails” (November 13, 2025)

TL;DR: Carefully chosen token sequences can flip verdicts in LLM guardrails, causing harmful prompts to be marked safe or benign prompts to trigger false alarms, according to HiddenLayer research. The finding matters because it weakens trust in the models protecting LLMs and exposes a broader fragility in AI safety layers.


At a glance

What this is: HiddenLayer’s EchoGram research shows that small token sequences can flip AI guardrail verdicts, causing harmful prompts to be marked safe and benign prompts to trigger false alarms.

Why it matters: IAM and security teams using LLM controls need to treat guardrails as attackable decision systems, because verdict manipulation can weaken the protections around sensitive prompts, secrets, and downstream automation.


Context

EchoGram is a guardrail bypass technique against LLM security controls, not an LLM jailbreak itself. It targets the verification layer that decides whether a prompt should be allowed to reach a model, which means the security problem sits in the policy layer rather than the model being protected.

That matters for AI governance because many organisations treat prompt classifiers and LLM-as-a-judge systems as reliable decision gates. HiddenLayer’s finding shows those gates can be manipulated by token patterns, so confidence in a guardrail cannot rest on training data alone.

The article focuses on classification and moderation models used in front of chatbots and similar LLM workflows. The starting position is typical for modern AI deployments, where defensive layers are added after the core model but are still assumed to provide dependable enforcement.


Key questions

Q: What fails when an AI guardrail can be flipped by a token sequence?

A: The failure is the control boundary, not the model’s core reasoning. A token-sensitive guardrail can misclassify malicious prompts as safe or benign prompts as unsafe, which means the security decision becomes unstable. That undermines trust in the gate that is supposed to protect the downstream LLM from prompt injection and harmful instruction execution.

Q: Why do prompt classifiers and LLM-as-a-judge systems become vulnerable to the same bypass pattern?

A: They often learn from similar prompt distributions and safety labels, so both can pick up shallow statistical cues instead of robust intent signals. When an attacker discovers token sequences that exploit those cues, the same style of bypass can affect multiple guardrail types. That makes the weakness portable across different AI safety implementations.

Q: How should security teams test AI guardrails before deployment?

A: Test guardrails with adversarial variation, not just known-bad prompts. Include obfuscation, encoding, role-play, and multi-step jailbreak patterns, then measure whether the control still blocks the request under repeat attempts and operational load. A guardrail that only performs in benchmark conditions is not ready to serve as the primary enforcement layer.

Q: Should organisations rely on a single guardrail to approve risky LLM prompts?

A: No. A single gate is too easy to become a single point of failure when its decision surface can be manipulated. Sensitive workflows should use layered controls, including separate policy checks, restricted tool permissions, and human review for high-impact actions. The key question is not whether one classifier works, but whether the overall control path still holds if it is bypassed.


Technical breakdown

How EchoGram flips guardrail verdicts

EchoGram exploits the fact that many prompt classifiers and LLM-as-a-judge systems are trained on similar benign and malicious datasets. If a model learns shallow correlations in those datasets, a carefully chosen token sequence can push the internal representation across the decision boundary without changing the underlying harmful prompt. The result is a verdict flip: malicious content can be scored as safe, or benign content can be flagged as unsafe. That is a failure of classification stability, not prompt content itself.

Practical implication: treat guardrail verdicts as probabilistic outputs that require independent validation, not as a hard security boundary.

Why wordlist generation matters in guardrail attacks

EchoGram’s first phase is candidate token discovery. The attacker can mine likely flip tokens from dataset distillation, looking for sequences that are overrepresented in a target class, or by probing a model’s tokenizer directly in white-box conditions. Both methods search for tokens that have outsized influence on verdicts relative to their semantic meaning. That makes the attack portable across prompts because the token sequence is acting on the guardrail model’s learned decision surface, not on the business logic of the application.

Practical implication: evaluate guardrails for token-sensitivity, not just prompt content coverage, because brittle decision surfaces are exploitable at scale.

How combined tokens amplify false positives and false negatives

The article shows that single flip tokens may only partially influence a model, but combining multiple tokens can materially increase the bypass rate. That works because the attack stacks several weak signals until they overwhelm the classifier’s learned notion of safety or danger. The same mechanism can be used in reverse to create false positives, which is operationally important because alert fatigue can hide genuine abuse. In both cases, the security failure is the same: verdict logic that is overly sensitive to token artefacts.

Practical implication: test guardrails for both false negatives and false positives, because an attacker can weaponise either outcome to weaken your control plane.


Threat narrative

Attacker objective: The attacker wants to make the guardrail approve malicious prompts or drown defenders in false alerts so that downstream LLM abuse becomes easier.

  1. Entry begins with a crafted prompt injection payload that includes a token sequence designed to manipulate the guardrail model’s verdict before the prompt reaches the target LLM.
  2. Credential or control access is not the issue here; the attacker gains control over the decision boundary by forcing the guardrail to misclassify the input as safe or malicious as needed.
  3. Escalation occurs when the bypassed guardrail allows harmful instructions through, or when false positives flood defenders with noise that masks real malicious prompts.
  4. Impact is downstream model abuse, where the LLM can be tricked into revealing secrets, generating harmful output, or executing instructions that the guardrail was supposed to block.
  • DPD chatbot incident 2024: A customer got DPD's AI chatbot to swear and mock its owner; DPD blamed an error after a system update and disabled the AI element.
  • DeepSeek database exposure 2025: An unauthenticated DeepSeek ClickHouse database exposed over a million log lines with plaintext chat history and API keys in 2025.

Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.


NHI Mgmt Group analysis

EchoGram reveals a guardrail verdict-flip problem, not merely a prompt-injection problem. The attacker is not trying to persuade the LLM directly. The target is the control that decides whether the prompt deserves inspection at all, which means the failure sits in the enforcement layer. For practitioners, that changes how AI security must be evaluated: the question is whether the gate can be manipulated, not whether the underlying model can recognise bad prompts.

Shared training patterns create a false sense of separation between defence and attack. HiddenLayer’s research shows that classification models and LLM-as-a-judge systems often learn from the same broad prompt distributions that attackers can mine for flip tokens. Guardrail fragility: when safety logic is trained on the same statistical surface as the threat it is meant to detect, small token changes can move verdicts more than intent does. Practitioners should treat training-data provenance and decision stability as first-class governance issues.

AI guardrails are now part of the identity and access control surface for LLM workflows. When a prompt gate decides whether a request may reach a model that can expose secrets or trigger actions, that gate is performing authorisation-like work. The implication is that AI security cannot be separated from access governance. If the control can be bypassed with a token pattern, then the organisation has a policy system that looks like enforcement but behaves like suggestion.

False positives are a governance problem as much as false negatives. EchoGram can flood defenders with spurious alerts, which reduces trust in the control and slows response to real abuse. That is a classic control degradation pattern: once teams stop believing the signal, the safety layer becomes operationally weaker even if it still exists. The right lens is resilience of the decision system, not just detection accuracy in a lab benchmark.

From our research library:

What this signals

Guardrail trust debt: teams that deploy prompt filters or LLM judges as if they were deterministic controls are accumulating risk, because verdict instability can turn a safety layer into an enforcement illusion. The operational response is to assume bypass is possible and design for layered decision paths, not single-model approval.

The broader lesson is that AI security controls fail when they are treated as static policy engines. Guardrails must be evaluated for adversarial perturbation resilience, alert noise tolerance, and whether they still protect downstream secrets and tools when the token surface changes.

AI-related credential leaks surged 81.5% year-over-year in 2025, with the surrounding AI infrastructure leaking 5x faster than core LLM providers, according to the State of Secrets Sprawl 2026. That trend reinforces the same point: the weak link is often the control perimeter around the model, not the model alone.


For practitioners

  • Test guardrails for verdict stability Run red-team style prompt sets against every deployed prompt classifier and LLM-as-a-judge control, then measure whether small token additions change safety decisions without changing intent.
  • Separate safety policy from model similarity Review whether your defensive model is trained on datasets that closely mirror the attack patterns it must detect, because overlap can make the decision boundary easier to manipulate.
  • Add independent enforcement checks Place a second control in front of sensitive LLM actions so that one verdict flip cannot alone approve access to secrets, tool use, or downstream automation.
  • Measure false-positive drag on operations Track how often benign prompts are flagged and how alert volume changes after tuning, because noisy guardrails can degrade analyst trust and slow real incident handling.

Key takeaways

  • EchoGram shows that AI guardrails can be manipulated at the decision layer, which turns safety controls into an attack surface of their own.
  • The article demonstrates a practical bypass pattern that can both let harmful prompts through and generate false positives that weaken defender confidence.
  • Practitioners should test guardrail stability under adversarial token changes and add independent enforcement before sensitive LLM actions.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

OWASP Agentic AI Top 10, MITRE ATT&CK and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
OWASP Agentic AI Top 10ASI03 — Identity & Privilege AbuseThe article concerns AI safety controls that gate model access and action approval.
Recommendation — Treat guardrail verdict manipulation as privilege abuse and add independent enforcement before sensitive AI actions.
NIST AI RMFMANAGE — AI Risk ManagementEchoGram shows an operational AI control failing under adversarial perturbation.
Recommendation — Manage AI control risk by testing guardrail resilience and tracking decision stability across deployments.
NIST CSF 2.0PR.AA-05 — Access Permissions, Entitlements and AuthorizationsPrompt gates function as authorisation-like controls for downstream LLM actions and data access.
Recommendation — Apply authorisation controls so one guardrail verdict cannot alone unlock sensitive LLM workflows.
MITRE ATT&CKTA0005; TA0006 — Stealth; Credential AccessThe attack hides malicious prompts and can expose secrets through downstream model abuse.
Recommendation — Map guardrail bypass to stealth and credential-access paths when hunting for AI abuse indicators.
CSA MAESTROThreat Modeling for Agentic AIThe research exposes a concrete control failure in AI safety layers that threat modeling should capture.
Recommendation — Model guardrails as adversarial control points and test them for bypass, noise flooding, and downstream abuse.

Key terms

  • Guardrail Verdict Integrity: The degree to which a moderation system consistently labels harmful and harmless AI input correctly under normal and adversarial conditions. In practice, verdict integrity is a control property, not a model feature, because it determines whether policy enforcement can be trusted when attackers deliberately probe for bypasses.
  • LLM-as-a-judge: A control pattern where one language model evaluates another model's prompts, tool calls, or outputs against policy. It is not content moderation alone. In practice, it acts as a runtime decision layer that can allow, block, redact, or escalate based on semantic context and organisational rules.
  • Prompt Injection Classifier: A prompt injection classifier is a page-scanning control that looks for content intended to manipulate an agent’s behavior. It runs alongside the planner and can block obviously malicious text, but it is not a complete defense. Ordinary-looking instructions that fit the task can still slip through, which is why it must sit inside a wider control stack.
  • False Positive Flooding: A deliberate attack pattern that makes a security control over-alert on harmless inputs. In AI operations, this degrades analyst confidence and can hide genuine abuse because the control plane becomes noisy enough that teams begin to ignore it.

Deepen your knowledge

NHI governance, agentic AI identity, and machine identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM or AI security programme, it is worth exploring.
NHIMG Editorial Note
Published by the NHIMG editorial team on July 5, 2026.
Updated on October 11, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org