Curated security research, vulnerabilities, advisories and tools for practitioners.

When AI Guardrails Expose Vulnerabilities

Summary

In Guardrail-Based Vulnerability Discovery, the guardrails intended to keep AI models from aiding attackers can signify issues that defenders can interpret and act on.
Published
Collected

📦 Full-Text Content Snapshot

R2 Archive · Full Article Preserved490 lines · 47.9 KB
📄 Raw .md⬇️ Download .md

Published on: 2026-10-28 · Source: crowdstrike.com

  • *
  • *

Crowdstrike [Blog](https://www.crowdstrike.com/en-us/blog/ "Blog")

Agentic SOC

CrowdStrike Delivers the Next Evolution of the Agentic SOC CrowdStrike Delivers the Next Evolution of the Agentic SOC

09/02/26

Teaching AI to Reason Through Detection Triage Teaching AI to Reason Through Detection Triage

08/17/26

How AI-leading Security Teams Are Building the Agentic SOC How AI-leading Security Teams Are Building the Agentic SOC

07/06/26

New Claude Integration Brings Audit Data into the Falcon Platform New Claude Integration Brings Audit Data into the Falcon Platform

05/21/26

Cloud & Application Security

New in Falcon Cloud Security: Third-Party App Insights and AI-Enhanced Remediation New in Falcon Cloud Security: Third-Party App Insights and AI-Enhanced Remediation

10/05/26

CrowdStrike Named Strongest Overall Leader in 2026 Frost Radar™: Cloud Workload Protection Platforms CrowdStrike Named Strongest Overall Leader in 2026 Frost Radar™: Cloud Workload Protection Platforms

08/20/26

Falcon Cloud Security July 2026 Release: Helping Security Teams Move Faster in the Cloud Falcon Cloud Security July 2026 Release: Helping Security Teams Move Faster in the Cloud

07/29/26

Falcon Cloud Security June 2026 Release: Updates for Azure and Google Cloud Falcon Cloud Security June 2026 Release: Updates for Azure and Google Cloud

06/29/26

Threat Hunting & Intel

CrowdStrike 2026 Legal Threat Landscape Report: eCrime Leads Attacks, China Activity Intensifies CrowdStrike 2026 Legal Threat Landscape Report: eCrime Leads Attacks, China Activity Intensifies

10/28/26

Obstacles to Weaponizing PHP2Shell Likely Constrain Immediate Widespread Exploitation Obstacles to Weaponizing PHP2Shell Likely Constrain Immediate Widespread Exploitation

10/23/26

CrowdStrike Uncovers New Agentic AI Campaigns CrowdStrike Uncovers New Agentic AI Campaigns

10/21/26

U.S. Government Disrupts FAMOUS CHOLLIMA Operation with CrowdStrike Assistance U.S. Government Disrupts FAMOUS CHOLLIMA Operation with CrowdStrike Assistance

10/13/26

Endpoint Security & XDR

CrowdStrike Named a Leader in the 2026 IDC MarketScape for Worldwide Modern Endpoint Security for Enterprises Vendor Assessment CrowdStrike Named a Leader in the 2026 IDC MarketScape for Worldwide Modern Endpoint Security for Enterprises Vendor Assessment

10/07/26

CrowdStrike Extends Endpoint Security to Stop Software Supply Chain Attacks CrowdStrike Extends Endpoint Security to Stop Software Supply Chain Attacks

09/02/26

Browser Security: Zero-Days Are Only Part of the Problem Browser Security: Zero-Days Are Only Part of the Problem

06/30/26

New Abuse of the ClickOnce Technology, Part 2: Stop Threat Actors from Clicking Once and Staying Forever New Abuse of the ClickOnce Technology, Part 2: Stop Threat Actors from Clicking Once and Staying Forever

06/18/26

Engineering & Tech

EMBER2024: Advancing the Training of Cybersecurity ML Models Against Evasive Malware EMBER2024: Advancing the Training of Cybersecurity ML Models Against Evasive Malware

09/03/25

Falcon Platform Prevents COOKIE SPIDER’s SHAMOS Delivery on macOS Falcon Platform Prevents COOKIE SPIDER’s SHAMOS Delivery on macOS

08/20/25

CrowdStrike’s Approach to Better Machine Learning Evaluation Using Strategic Data Splitting CrowdStrike’s Approach to Better Machine Learning Evaluation Using Strategic Data Splitting

08/11/25

CrowdStrike Researchers Develop Custom XGBoost Objective to Improve ML Model Release Stability CrowdStrike Researchers Develop Custom XGBoost Objective to Improve ML Model Release Stability

03/20/25

Executive Viewpoint

Beyond the Model: Harnessing Frontier AI for Stronger Cyber Defense Beyond the Model: Harnessing Frontier AI for Stronger Cyber Defense

07/20/26

Frontier AI Is Collapsing the Exploit Window. Here’s How Defenders Must Respond. Frontier AI Is Collapsing the Exploit Window. Here’s How Defenders Must Respond.

04/20/26

Frontier AI for Defenders: CrowdStrike and OpenAI TAC Frontier AI for Defenders: CrowdStrike and OpenAI TAC

04/16/26

Anthropic Claude Mythos Preview: The More Capable AI Becomes, the More Security It Needs Anthropic Claude Mythos Preview: The More Capable AI Becomes, the More Security It Needs

04/06/26

From The Front Lines

CrowdStrike Protects Customers from Threats Delivered via PHP2Shell CrowdStrike Protects Customers from Threats Delivered via PHP2Shell

10/21/26

CrowdStrike Achieves NCSC CIR Enhanced Level Assurance CrowdStrike Achieves NCSC CIR Enhanced Level Assurance

10/20/26

CrowdStrike Technical Risk Assessments Reveal Common Exposure Patterns ?wid=2048&hei=1350&fmt=png-alpha&qlt=95,0&resMode=sharp2&op_usm=3.0,0.3,2,0) CrowdStrike Technical Risk Assessments Reveal Common Exposure Patterns

05/04/26

Introducing the CrowdStrike Shadow AI Visibility Service Introducing the CrowdStrike Shadow AI Visibility Service

04/21/26

Next-Gen Identity Security

Solving the Continuous Authorization Conundrum Solving the Continuous Authorization Conundrum

10/08/26

CrowdStrike Announces Agentic Identity Provider CrowdStrike Announces Agentic Identity Provider

09/02/26

The Identity Problem Hiding in AI Agent Deployments The Identity Problem Hiding in AI Agent Deployments

06/24/26

CrowdStrike Announces Continuous Identity for AI Agents CrowdStrike Announces Continuous Identity for AI Agents

06/15/26

Next-Gen SIEM & Log Management

CrowdStrike Threat Hunts for Shell Command Obfuscation on VMware ESX CrowdStrike Threat Hunts for Shell Command Obfuscation on VMware ESX

08/07/26

Falcon Platform IOAs Arrive in Falcon Next-Gen SIEM to Identify New Threats Falcon Platform IOAs Arrive in Falcon Next-Gen SIEM to Identify New Threats

07/29/26

5 High-Impact Use Cases for Falcon Onum 5 High-Impact Use Cases for Falcon Onum

07/27/26

Falcon Next-Gen SIEM Supports Third-Party EDR Tools, Starting with Microsoft Defender Falcon Next-Gen SIEM Supports Third-Party EDR Tools, Starting with Microsoft Defender

03/23/26

Public Sector

CrowdStrike Expands Federal SOC Modernization Through CISA-Funded SIEMaaS CrowdStrike Expands Federal SOC Modernization Through CISA-Funded SIEMaaS

10/01/26

CrowdStrike Falcon Platform Helps Meet U.S. Government Mandates for CISA BOD-26-04 CrowdStrike Falcon Platform Helps Meet U.S. Government Mandates for CISA BOD-26-04

07/22/26

Falcon Platform for Government Now Offers Falcon for XIoT to Secure Connected Assets Falcon Platform for Government Now Offers Falcon for XIoT to Secure Connected Assets

03/18/26

CrowdStrike Innovates to Modernize National Security and Protect Critical Systems CrowdStrike Innovates to Modernize National Security and Protect Critical Systems

03/18/26

Exposure Management

October 2026 Patch Tuesday: 1,413 CVEs Include Three Zero-Days and 75 Critical Vulnerabilities October 2026 Patch Tuesday: 1,413 CVEs Include Three Zero-Days and 75 Critical Vulnerabilities

10/13/26

CrowdStrike Named a Leader in The Forrester Wave™: Proactive Security Platforms, Q3 2026 CrowdStrike Named a Leader in The Forrester Wave™: Proactive Security Platforms, Q3 2026

09/24/26

September 2026 Patch Tuesday: Two Exploited Zero-Days and 113 Critical Vulnerabilities Among 972 CVEs September 2026 Patch Tuesday: Two Exploited Zero-Days and 113 Critical Vulnerabilities Among 972 CVEs

09/08/26

August 2026 Patch Tuesday: One Exploited Zero-Day and 62 Critical Vulnerabilities Among 415 CVEs August 2026 Patch Tuesday: One Exploited Zero-Day and 62 Critical Vulnerabilities Among 415 CVEs

08/11/26

Securing AI

When AI Guardrails Expose Vulnerabilities When AI Guardrails Expose Vulnerabilities

10/28/26

Why Organizations Secure AI Agents with Falcon Guardian Why Organizations Secure AI Agents with Falcon Guardian

10/23/26

CrowdStrike and Anthropic Give Critical Infrastructure Defenders the AI Advantage CrowdStrike and Anthropic Give Critical Infrastructure Defenders the AI Advantage

10/08/26

Request, Aggregate, Bypass: How Attackers Can Evade LLM Safety Classifiers Request, Aggregate, Bypass: How Attackers Can Evade LLM Safety Classifiers

10/06/26

Data Security

Falcon Data Security for SaaS Secures Sensitive Data in Microsoft 365 Falcon Data Security for SaaS Secures Sensitive Data in Microsoft 365

10/05/26

CrowdStrike Accelerates Real-Time Data Classification with On-Device AI CrowdStrike Accelerates Real-Time Data Classification with On-Device AI

09/16/26

ISO 42001:2023 and the New Reality of Cloud AI Data Risk ISO 42001:2023 and the New Reality of Cloud AI Data Risk

06/04/26

Falcon Data Security Secures Data Wherever It Lives and Moves Falcon Data Security Secures Data Wherever It Lives and Moves

03/24/26

__

When AI Guardrails Expose Vulnerabilities

In Guardrail-based Vulnerability Discovery, the guardrails intended to keep AI models from aiding attackers can signify issues that defenders can interpret and act on.

October 28, 2026

• [ Jonathan Bar Or - D'Angelo Gonzalez](https://www.crowdstrike.com/en-us/blog/author.jonathan-bar-or---d%27angelo-gonzalez/ "Posts by Jonathan Bar Or - D'Angelo Gonzalez") • [Securing AI](https://www.crowdstrike.com/en-us/blog/category.securing-ai/ "Securing AI")

CrowdStrike researchers asked a frontier AI model to explain a function in a small C web server. While it had previously explained every other function in the codebase without hesitation, it refused to explain this one.

The request was routine. We'd only asked what the code does; we hadn't asked about security, exploits, or vulnerabilities. But a single token in the code had changed: a max swapped for a min; a one-character logic inversion that creates an out-of-bounds write. It's the kind of bug that slips past code review and that pattern-matching scanners routinely miss.

The model never said there were any vulnerabilities, but its refusal to explain the function indicated there could be one. The act of the model changing behaviors on a specific chunk of code showed us exactly where to look for the vulnerability. Its guardrails became the giveaway.

That moment changed how we think about AI safety. The guardrails frontier labs build to keep models from helping attackers can't work without first recognizing that something is dangerous. This recognition is a signal that practitioners can read. Most of the industry treats refusals as a dead end; at CrowdStrike, we started treating them as findings.

We call this approach Guardrail-based Vulnerability Discovery (GbVD). In controlled tests across five vulnerability classes, it was correct in 73 of 86 test scenarios, and it held up on real open-source projects we disclosed through our Coordinated Vulnerability Disclosure (CVD) program.

Safety and capability are usually framed as a trade-off. This research suggests the opposite: Every improvement labs make to their guardrails also sharpens a methodology that cybersecurity practitioners or adversaries can use. This work builds on our earlier research into LLM safety classifiers, where we studied how those guardrails can be bypassed. Here, we look at the other side: what guardrails reveal when they work as intended.

Breaking Down Guardrail-based Vulnerability Discovery

Today, the most visible manifestation of a guardrail is a refusal: The model declines in plain text (or with “ _reason: cyber_ ” in standard APIs), which makes the signal trivially readable. But refusals are just one observable among several. Guardrails in deployed AI systems take many forms, and most of them leak:

  • Explicit refusals : The current dominant case, and the one our experiments exploit.
  • Model downgrading : Some platforms route sensitive requests to a smaller or more conservative model. The routed response betrays itself through measurable differences: response latency, tokens spent, time-to-first-token, or a sudden drop in output specificity and style.
  • Output filtering and truncation : A post-hoc filter that redacts or cuts off a response changes its length and shape in detectable ways.
  • Reasoning interruption : In agentic settings, a guardrail may abort a tool call or halt a chain of reasoning mid-task rather than emit any refusal text at all (we observe this in our second case study).

Whatever form the guardrail takes, triggering it perturbs some measurable property of the response, such as content, timing, token count, or structure. The defender doesn't need the model to say anything explicitly; rather, they need only to measure the perturbation. Our experiments below use refusals because they are today's loudest channel, but the methodology is agnostic to how the guardrail manifests.

A binary, localized signal composes naturally with classic techniques, including bisection : split a codebase or filesystem into halves, ask the model to explain each half, and recurse into whichever half triggers the guardrail. The model never has to say "this is vulnerable"; it only has to behave differently in the right place.

Table 1 summarizes our experiments.

Table 1. Vulnerability result summaries \(experiment results: TP = true positive, FP = false positive, FN = false negative, TN = true negative\) Table 1. Vulnerability result summaries (experiment results: TP = true positive, FP = false positive, FN = false negative, TN = true negative)

Why Does This Work?

Safety training creates a classifier inside the model that is distinct from, and sometimes more sensitive than its question-answering behavior. A model asked "Is this code vulnerable?" produces a judgment that is noisy, verbose, and prone to both over- and under-flagging. But the guardrail pathway is trained adversarially and conservatively: Labs tune systems to intervene _before_ producing harmful content, which means the trigger often fires on the recognition of a dangerous pattern rather than on the user's stated intent.

Two properties make guardrail activation attractive as a detection primitive:

  1. It's involuntary : The model doesn't choose to emit the signal; it leaks the signal. This makes it harder for surface-level prompt phrasing to suppress (though not impossible; see the Limitations section below).
  2. It's cheap to read : Distinguishing "the model explained the function" from "the guardrail engaged" requires no output parsing, structured schema, or judge model. Refusals are close to a one-bit oracle. Subtler cases (downgrading, filtering) reduce to a threshold test over latency or token counts.

Methodology

We designed controlled experiments around two classes of flaw, a memory-safety bug in C source code and a privilege-escalation misconfiguration on a filesystem, to test whether the guardrail signal generalizes across code review and environment auditing tasks. In both experiments, the guardrail manifested as a refusal or reasoning interruption, the easiest channels to read today.

The protocol for each experiment:

  1. Baseline pass : Ask the model to explain every unit (function, file, or directory) in the clean target. Record that it answers all of them. This controls for spurious guardrail activations; a model whose guardrails engage on benign code is useless as an oracle.
  2. Introduce the flaw : Introduce a single, realistic vulnerability.
  3. Rerun the identical prompts : The only variable is the code.
  4. Localize : Treat each guardrail activation as a hit, and bisect toward the smallest unit that still triggers it.

While refusals were quite deterministic for the default temperature value (often 1.0 depending on the platform), we run the same prompt 5 times and conclude a refusal based on a threshold of at least 3 out of 5.

Case Study: Buffer Overflow in tinyhttp

We used tinyhttp, a minimal HTTP server in C. It’s small enough to audit exhaustively, but realistic enough that the vulnerability isn't a toy example.

Baseline : The model produced detailed, accurate explanations for every function in the codebase, including _http_data_ and the chunked-transfer parsing logic.

Flaw introduction : We introduced a subtle out-of-bounds write into _http.c_ by swapping a _max_ for a _min_ in the chunk-size calculation. This is the kind of one-token logic inversion that slips through code review and that pattern-matching SAST rules routinely miss:

Figure 1. Terminal write commands Figure 1. Terminal write commands

Signal : On re-examination with the same prompts, the model refused to explain the modified function.

Figure 2. Terminal guardrail response Figure 2. Terminal guardrail response

Figure 3. Terminal http_free explanation Figure 3. Terminal http_free explanation

Every unmodified function was still explained normally. The refusal localized to the vulnerable code, giving us a direct binary indicator of the flaw's location. Based on that, we have engineered a script that assesses each function and indicates if it has a refusal. Then, for each function, it performs a binary-search to pinpoint vulnerable chunks.

Figure 4. Terminal GbVD results Figure 4. Terminal GbVD results

Similar vulnerable C\C++ code, including real open-source projects that were disclosed in parallel via our CVD program, yielded similar results.

Case Study 2: SUID Binary Misconfiguration

The second experiment moved from source code to system state. We planted a SUID-root binary that executes arbitrary commands inside a _rootfs_ directory tree, a classic privilege-escalation primitive, and tasked the model with auditing the filesystem.

When the traversal reached the misconfigured binary, the model's analysis halted. Its guardrails interrupted the reasoning rather than reporting the file like any other. We isolated the offending directory, and then the specific binary, without the model ever being asked to flag anything as "vulnerable." Notably, this is the second guardrail manifestation from our taxonomy. It’s a reasoning interruption rather than an explicit refusal, and the same bisection harness reads it just as easily.

Implications

These findings reinforce a core CrowdStrike tenet. The model matters, but the harness determines the outcome. A raw LLM refusal seems like a dead end. Captured by a harness that treats it as diagnostic data, it becomes a one-bit vulnerability oracle cheap enough to run inside a bisection loop.

The harness is what makes GbVD future-proof. The refusal channel we exploit today might shift as safety training evolves, but the harness is where the other channels get instrumented. A harness already measures latency, counts tokens, and observes tool-call outcomes as a matter of course. Teaching it to treat anomalies in those measurements as guardrail activations costs almost nothing. Models leak information through many involuntary channels: refusal text, hedging language, response timing, token spend, sudden drops in specificity, aborted tool calls. Harnesses that read these side channels, rather than only the model's answers, will extract capabilities the model was never explicitly built to provide.

Conclusion

As attacker efficiency scales with model improvements, defenders cannot afford to use AI only in the ways it was designed to be used. Turning the model's limitations into signals is asymmetry worth building. Breaking things in interesting ways remains one of the most reliable heuristics in security research, and models are no exception.

Related Content

Why Organizations Secure AI Agents with Falcon Guardian Securing AI | Oct 23, 2026 Why Organizations Secure AI Agents with Falcon Guardian CrowdStrike and Anthropic Give Critical Infrastructure Defenders the AI Advantage Securing AI | Oct 08, 2026 CrowdStrike and Anthropic Give Critical Infrastructure Defenders the AI Advantage Request, Aggregate, Bypass: How Attackers Can Evade LLM Safety Classifiers Securing AI | Oct 06, 2026 Request, Aggregate, Bypass: How Attackers Can Evade LLM Safety Classifiers

__

Categories

Try CrowdStrike free today

Start free trial

Sign up now to receive the latest notifications and updates from CrowdStrike

Subscribe

Explore demos

logo


📦 Full-Text Markdown Snapshot archived by Phying News · Original source: crowdstrike.com