A malicious-prompt detector protects a firm's use of AI by inspecting every prompt for jailbreaks, prompt injections, and requests for harmful content. At scale, such a detector sees tens of millions of prompts a day. In CrowdStrike's production traffic, roughly one in 10,000 of those is malicious. If the detector wrongly flags just 1% of the harmless prompts, it raises a hundred false alarms for every real attack. Reviewing such a volume of alerts is impractical for most security teams, and a detector with a high false-alarm rate risks being ignored.
Recent findings suggest that the CrowdStrike Superintelligence Lab set out to solve this challenge. We presented our solution at Fal.Con EU 2026: CrowdStrike SafeMind Decision Models (SDM). SDM is a fine-tuned large language model that reads a prompt once and returns a score without generating any text. In our evaluation, described below, SDM detects attacks more reliably than generative LLM judges at low false-alarm rates, responds faster, and costs less.
This post explains how SDM works and what we learned building it. We expect these lessons to apply beyond prompt security, to detection tasks where threats are rare and volumes are high:.
In a recent development, securing AI applications means judging the intent of every prompt that reaches them. Attackers phrase things in endless ways, and much of what makes a prompt malicious lies in subtle nuances of intent, not in keywords. Detection must be cost-effective and fast enough to sit in the request path of every call.
Two properties of the traffic make this difficult.
Efficacy, cost, and latency rarely move together, which is why detection has historically required a trade-off between two classes of models.
What we needed was the intent understanding of a large model with the speed and tunability of a classifier.
A decision model is an LLM used as a classifier rather than a writer. Given a text, a question, and a list of answer options, it reads the input once and returns a score for each option, with no reasoning, explanation, or free-text verdict.
It has been revealed that decision models have recently gained attention: In a benchmark on 37 classification datasets, a commercial decision model outperformed a 27B-parameter LLM, scored by its option probabilities, on most of them.ยฒ Open-source decision models that followed use one of two designs. A trained head adds a dedicated scoring layer on top of the LLM. A letter readout writes the question into an ordinary prompt, labels each option with a letter, and derives the score from the probabilities the model assigns to those letters as its next token, with the existing output layer acting as the classifier. Reading answers from letter probabilities is established for multiple-choice evaluation,ยณ and LLM-based safety classifiers derive their score from the probability of the verdict token.โด.
We build on the letter readout for two reasons:.
SDM is a letter-readout decision model fine-tuned for malicious prompt detection. Our proprietary training data combines malicious prompts from a broad range of attack categories with everyday benign ones, including synthetic examples and anonymized real-world traffic.
An off-the-shelf LLM needs a written definition of "malicious" in every prompt. SDM learns that definition during fine-tuning, so a brief classification prompt is enough and request length is shortened.
It has been revealed that we compared models by how many attacks they catch while false alarms stay below 2%, measured as normalized partial area under the curve (AUC) and averaged over evaluation sets that include public benchmarks, multilingual and obfuscated attacks, and anonymized real-world traffic. This is the range that matters in production, where models operate at low false-positive rates.
An off-the-shelf LLM with the policy in its prompt already outperforms a small fine-tuned encoder at separating malicious from benign prompts when it generates its answer. With about two orders of magnitude more parameters, that is expected. Read out as a decision model, the same LLM with the same prompt scores even higher than when it generates its reasoning, a verdict, and a confidence. Answering in a single pass does not cost detection quality; it improves it. A generative judge tuned on its written confidence has only a few round values to choose from, and these rank prompts worse than the probability of the verdict letter.
Industry observers note that without fine-tuning or any added component, the letter readout performed on par with an open-source trained-head decision model of comparable size. SDM, its fine-tuned version, scores highest of all. In partial AUC, the encoder reaches 0.45, the generating LLM 0.64, its letter readout 0.70, the trained-head model 0.69, and SDM 0.76.
Recent findings suggest that in our measurements, SDM answers in about 150 ms at the median, which allows it to screen live traffic in real time. A generative judge needs another pass through the model for every token it writes and takes about 2 seconds for its full response. Fewer passes also mean less GPU time per prompt: On the same GPUs, the cost per prompt falls by 93%.
A decision model returns a continuous score rather than a verdict, so its threshold can be set at any operating point. This is a substantial advantage for security teams, who can decide how many false alarms they can afford and tune to it. But it raises a question: Where to set it?
Recent findings suggest that benchmarks consist mostly of malicious prompts, while production traffic is overwhelmingly benign, so a threshold chosen on a benchmark indicates little about the false alarms it will raise in production. We chose each model's threshold on real-world traffic, at one false alarm per 10,000 prompts (0.01%). All evaluation traffic is deduplicated and separated from training by time.
It has been revealed that at that rate, a flagged prompt is about 2.5 times as likely to be malicious for SDM as for the encoder. This was measured on production traffic, with every prompt flagged by any of the models labeled by two LLM annotators and disagreements resolved by human review. The same threshold, applied unchanged to the labeled evaluation sets, more than doubles the encoder's detection rate.
Sources indicate that the gap between the off-the-shelf and the fine-tuned model is widest here. At its own threshold, the off-the-shelf letter readout also keeps false alarms low, but it catches about a third fewer malicious prompts on the evaluation sets than SDM. To keep false alarms rare on real traffic, the off-the-shelf model needs a very strict threshold. SDM, which has seen real traffic during training, serves both with one threshold: few false alarms on traffic and a high detection rate on attack-heavy sets.
A decision model is fast enough to screen all prompts on its own, replacing the small encoder. However, it can also be used in a layered setup, which is more economical at high volume: The encoder handles the bulk of traffic, and the decision model takes the difficult cases, where its understanding of intent makes the difference.
It has been revealed that what a decision model gives up is the explanation, which matters when an analyst triages an alert or a block must be justified to a user. Explanations can be generated on demand, for every flagged prompt or only for close calls near the threshold. For that small share of traffic, a generative model can write a rationale for the decision model's verdict, or review the case with its own reasoning and make the final call. You pay for generation only where it adds value. Like any detector, a decision model can be targeted by attackers who adapt their prompts to it, which is why we keep retraining it on upcoming attacks.
It has been revealed that for teams deploying AI applications, a decision model means higher detection rates without the latency penalty of generative detectors or the alert fatigue of smaller ones. For practitioners building detectors, the lessons are portable: Decide in one pass, fine-tune the readout, set the threshold on production traffic.
Recent findings suggest that the conditions behind these results are common across cybersecurity: Positives are rare, volumes are high, and the false-alarm rate has to be set deliberately. We expect the same approach to carry over to other detection tasks of this kind, and we are applying it across our AI security work.
SDM is now available in early access in CrowdStrikeยฎ Falcon Guardianโข.
It has been revealed that ยน Xiong et al. (2024). Can LLMs Express Their Uncertainty? An Empirical Evaluation of Confidence Elicitation in LLMs. ICLR 2024. https://arxiv.org/abs/2306.13063.
ยฒ Deuรer et al. (2026). Evaluating and Benchmarking the System One Model Jev. https://arxiv.org/abs/2609.37647.
Recent findings suggest that ยณ Robinson et al. (2023). Leveraging Large Language Models for Multiple Choice Question Answering. ICLR 2023. https://arxiv.org/abs/2210.12353.
According to recent reports, โด Inan et al. (2023). Llama Guard: LLM-based Input-Output Safeguard for Human-AI Conversations. https://arxiv.org/abs/2312.06674.