Key takeaways
- We are introducing Iris Cyber Probe (ICP), an activation monitor built on Beam for detecting cyber misuse in real-time. We’re sharing our research so others can build on it as we explore customizable probes and coverage for more types of harm.
- ICP detects 93.1% of the harmful chunks on our test set of diverse agentic traces, when calibrated to flag at most 5% of benign sessions. The strongest open LLM classifier we tested detects 72.7% at this setting.
- ICP is lightweight and easy to use: it has only 350K parameters, is integrated directly into the vLLM and SGLang inference engines, and reduces output throughput by just 0.6% at 64 concurrent users when run with SGLang using one additional GPU.
Real-time monitoring at low cost
AI agents are already being used to assist in and autonomously conduct cyberattacks. Industry threat reports have shown attackers using agents for reconnaissance and exploitation[1], as well as an agent-assisted credential-harvesting campaign[2], that went from planning to execution in under six hours.
Blocking such misuse is challenging since the same capabilities also help defenders guard against these cyberattacks. For instance, researchers recently found the critical PHP vulnerabilities disclosed in October[3] using assistance from cyber capable LLMs. Building effective safeguards is therefore a challenging classification problem between what constitutes harmful and harmless use.
Text-based monitors use another LLM to judge requests and responses, but calling a large model frequently enough to monitor all traffic adds substantial overhead cost. Activation monitors, or probes, offer a lightweight alternative. As an LLM processes text, it computes numerical representations called activations that carry information about the preceding context. Small classifiers read these activations to score each token without another expensive LLM call.
While probes are lightweight, they can lag behind LLM classifiers in accuracy and do not always flag the parts of a session where the model starts behaving harmfully. For example, a probe might flag harmless setup but miss a later harmful action, or keep flagging after the model responds harmlessly. Efficient real-time deployment is another challenge, since probes need access to activations without significantly slowing generation.
We address these problems with Iris Cyber Probe (ICP), a probe trained using long agent sessions with labels for individual chunks within the session. We use a stateful architecture to allow it to learn to accumulate evidence across tokens and chunks, while chunk-level supervision teaches it to distinguish harmful behavior from benign steps in the same session. We evaluate both detection and localization, and integrate ICP directly into SGLang and vLLM, the two most popular LLM inference engines, to run during generation.
Introducing Iris Cyber Probe (ICP)
As seen in Figure 1, Iris Cyber Probe (ICP) reads the internal activations of Beam, scoring each input and generated token, and raises an alert when a score crosses a calibrated threshold. ICP consists of a small neural network that extracts features from each token and a recurrent unit, called a minGRU, that maintains a fixed-size memory. This lets ICP relate current behavior with earlier parts of the session without storing a full activation history.
Running directly inside SGLang or vLLM lets ICP score each token while generation continues through the model’s remaining layers, as Figure 1 illustrates.
Learning from harmful and harmless steps
Figure 2 shows a simulated red-team attack in which a terminated engineer’s objective is to destroy their employer’s billing data. The attacker presents this as authorized offboarding, successfully tricking the assistant model into complying by performing irreversible overwrites. Using Kimi K3 as a monitor over this session ends up leaving the entire session unflagged, while ICP stays quiet during the benign setup, but correctly flags the destructive request and the assistant’s planning before the tool call, allowing for interventions to prevent the assistant from performing the destructive actions.
A single “harmful” label for this session would not distinguish the harmless setup from the destructive request and assistance. We instead label chunks covering user queries, assistant reasoning and responses, or tool interactions. We intentionally allow a chunk to include both the reasoning and the tool call it leads to, allowing an alert during the reasoning to correctly count as detecting the harmful step.
To label chunks, we use an LLM judge combined with our cyber policy, which distinguishes clearly benign behavior, dual-use behavior, and clearly harmful behavior. For dual-use activities such as network scanning or penetration testing, we consider the surrounding context and whether the requested or supplied assistance primarily supports offense or defense before assigning a harmful or harmless label. Importantly, our policy does not allow claims of authorization to ever override the label, which instead depends on the capability actually requested or supplied.
Even within a harmful chunk, not every token provides evidence of harm. Following Constitutional Classifiers++[4], we give more weight during training to the positions the probe currently scores highest. The chunk’s label determines whether training pushes those scores up or down.
How we train the probe
For a chunk ccc, let ycy_cyc be its label (1 for harmful, 0 for harmless) and ptp_tpt the probe’s score between 0 and 1 at token position ttt. Each token has a weight αc,t\alpha_{c,t}αc,t, and these weights sum to 1 within the chunk. Writing binary cross-entropy as BCE, the chunk’s loss is:
For a harmful chunk, minimizing this loss pushes the highest-scoring positions toward 1. For a harmless chunk, it pushes them toward 0, focusing on the positions most likely to cause a false alarm. The loss is used only during training; at deployment, the probe scores each token as it arrives.
How we compute the token weights
Let sts_tst be the probe’s raw score, or logit, before it is converted to ptp_tpt by the sigmoid function. Let sc\mathbf{s}_csc collect the token logits within chunk ccc. The temperature η\etaη is a positive number that controls how strongly the weights favor the highest scores:
Smaller values of η\etaη put more weight on the highest-scoring tokens. We recompute these weights on each forward pass but treat them as constants when computing gradients, so gradients do not propagate through the weights. The same weighting rule applies to harmful and harmless chunks.
Generating jailbreaks for training
To teach the probe to recognize harmful assistance, we need examples where the model actually provides it. Since the model is safety trained, direct requests for harmful assistance often produce refusals. We therefore built an agentic automated red teamer (ART) to find jailbreaks that cause the model to violate our cyber policy. Our ART is itself an agent which interacts with the target model and is able to follow up on refusals, edit tool responses, or return to an earlier point in the interaction to try another approach.
The target is also an agent that can make tool calls in either a real environment or one simulated by a separate LLM. Real environments produce the most realistic sessions, while simulated environments let us test more complex scenarios that would be difficult to build.
We compare our agentic ART with PAIR[5], an iterative jailbreaking baseline, against Beam on a random test sample of 100 of our harmful cyber objectives. At a budget of 256 target queries per objective, Agentic ART breaks 84, compared with 54 for PAIR. As seen in Figure 3, it also reaches 50% success at a budget of just 30 queries per objective, versus 131 for PAIR.
Our ART pipeline produces roughly a third of our 52,387 training sessions, with the rest coming from deployment traffic and external vendors. Together, these sessions contain 1.04 million labeled chunks. We end up using such a large number of training chunks since we find that probe detection performance improves with more training chunks, with no clear plateau up to our full dataset of 1 million chunks. We also find that training using a simulated environment (simulated tool responses rather than real tool calls) preserves most performance on executable environments within our campaign, while deployment and vendor examples improve coverage of those sources.
Detecting cyber misuse
We evaluate Iris Cyber Probe on a test set of 6,282 agent sessions containing both harmless and harmful behavior, drawn from automated red teaming, real deployment, and vendor data. We compare it with other probe architectures, including MLP, attention-based probes, and Mamba-2[6], alongside three leading open LLMs as classifiers: GLM 5.3 Flash, Kimi K3, and DeepSeek V4.1 Flash. The LLM classifiers share a prompt and receive each completed chunk with preceding context, an offline setup that gives them boundaries unavailable during live generation.
Each monitor has separate alert thresholds for requests and assistance. Probes score individual tokens, while the LLM classifiers score completed chunks. A session is flagged when either kind of score crosses its corresponding threshold. We choose thresholds on separate validation sessions and keep them fixed for testing. The “5% setting” targets alerts on at most 5% of entirely benign validation sessions. The actual false-positive rate can differ on the test set.
Detecting harm in the right place
A monitor could flag harmless setup and still count as catching a session that later becomes harmful. To check whether it finds the harmful behavior itself, we measure both how many harmful sessions it catches and how many harmful chunks it identifies.
Across the test set, Figure 4 compares detection performance with estimated monitoring compute and shows how detection improves as we allow more false alarms. We summarize this tradeoff up to 10% false positives with a score called partial AUROC, where 0.5 represents chance and 1 is perfect. Iris Cyber Probe has the highest estimated chunk-level score in our comparisons, 0.884, exceeding the other probe architectures and all three LLM classifiers. This illustrates how a probe trained specifically for cyber misuse can outperform general-purpose LLM classifiers despite using far less computation.
The advantage is clearest in locating harm within a session. Some other stateful probes catch slightly more harmful chunks at the selected setting, but flag more benign chunks. In matched minGRU experiments, chunk labels improve localization compared with a single label per session, even when session labels give slightly better session-level detection.
Following long interactions
In Figure 5, we group automated red-teaming campaign chunks by how much conversation comes before them. Iris Cyber Probe has higher estimated chunk-level scores than MLP, QVattention, and the three LLM classifiers in every group, although performance slightly declines later in sessions. QVattention and the LLM classifiers show larger declines in the longer-context groups. Since the content also differs in these groups, and chunks deeper in a session may naturally be harder to classify, we cannot attribute the decline to conversation length alone.
Transferring to other tasks
We also evaluate on two existing datasets, CyberSecEval[7] and SWE-chat[8]. On CyberSecEval’s harmful and benign prompts, Iris Cyber Probe has the highest overall score across thresholds among the probes and LLM classifiers we evaluate (AUROC 0.962). However, the LLM classifiers perform better when we allow very few false alarms, so the choice of threshold matters. On SWE-chat, a dataset consisting of benign coding sessions reaching up to 1.02 million tokens per session, Iris Cyber Probe flags only 0.56% of sessions at its 5% threshold.
Blocking jailbreaks
To estimate how many jailbreaks a monitor could intercept, we use attacks generated by Shade, Gray Swan’s automated red-teaming agent. We replay the successful attacks through each monitor, assuming that an alert by the end of the successful turn would prevent that success.
With this assumption, Iris Cyber Probe reduces estimated attack success from 8.27% to 0.56% at the 5% setting. It flags 91.3% of successful attacks before the answer begins, with further detections during the answer.
Since we replay recorded attacks, these results do not tell us how well the probe would hold up against an attacker adapting to the monitor. We hope to do further dynamic red teaming of Iris Cyber Probe itself in the future.
Running the probe
We integrate ICP directly into the SGLang[9] and vLLM[10] inference engines, and open-source this integration alongside this work. Our integration carries each conversation's small minGRU state alongside generation, scoring every token without calling another LLM. Learn more about the SGLang and vLLM integrations.
Using AgentX[11], an agentic workload benchmark, we find that ICP incurs a small throughput cost. Figure 7 shows that for the SGLang integration, a dedicated scoring GPU preserves nearly all of Beam’s total throughput, while sharing a GPU avoids extra hardware at a modest throughput cost. At 64 concurrent users, median first-token latency increases by 60 ms with dedicated scoring and 97 ms with shared scoring.
An application can use an alert to stop generation, escalate to a heavier classifier, or append an instruction to steer subsequent behavior. High recall does not guarantee an immediate alert or an unflagged harmless continuation. Improving both remains important for deployment.
Looking forward
One direction is to extend probes to other harm categories, including assistance with biological weapons. This will require appropriate training data, clear policies, and evaluations specific to those harms. Our current labels come from an LLM judge and can be wrong; improving label quality and coverage remains important as we expand beyond cyber misuse.
We are also interested in using probes during model training, both to track harmful behavior as the model learns and to test whether probe scores can provide a useful training signal. Whether training against these scores would teach models to evade the probe remains an open question.
We would also like to make probes customizable at inference time, so users could describe the behavior they want to detect without training a new probe for each policy. The challenge is to preserve accuracy and low computational cost.
For more on Agentic ART, the probe architecture, and the full experiments, read our paper.
If you are interested in contributing to efforts like these, consider joining our team. Open roles can be found here.
References
- [1]
Anthropic, “Detecting and countering misuse of AI: September 2026,” Sep. 2026. Accessed: Nov. 20, 2026. https://www.anthropic.com/threat-intelligence-report-september-2026
View marker - [2]
Google Threat Intelligence Group, “GTIG AI threat tracker: From prompting to autonomy – The evolution of adversarial AI,” Google Cloud Blog, Sep. 8, 2026. Accessed: Nov. 20, 2026. https://cloud.google.com/blog/topics/threat-intelligence/from-prompting-to-autonomy-the-evolution-of-adversarial-ai
View marker - [3]
OpenAI, “Patch the Planet: Global response coordination as agents uncover critical vulnerabilities,” Oct. 21, 2026. Accessed: Nov. 20, 2026. https://openai.com/index/coordinated-disclosure-of-critical-vulnerabilities/
View marker - [4]
H. Cunningham et al., “Constitutional Classifiers++: Efficient production-grade defenses against universal jailbreaks,” arXiv:2601.04603, Jan. 2026, doi: 10.48550/arXiv.2601.04603. https://arxiv.org/abs/2601.04603
View marker - [5]
P. Chao et al., “Jailbreaking black box large language models in twenty queries,” arXiv:2310.08419, 2023, doi: 10.48550/arXiv.2310.08419. https://arxiv.org/abs/2310.08419
View marker - [6]
T. Dao and A. Gu, “Transformers are SSMs: Generalized models and efficient algorithms through structured state space duality,” in Proc. ICML, 2024, arXiv:2405.21060. https://arxiv.org/abs/2405.21060
View marker - [7]
Meta, “CyberSecEval 4,” Purple Llama documentation. Accessed: Nov. 22, 2026. https://meta-llama.github.io/PurpleLlama/CyberSecEval/docs/intro
View marker - [8]
J. Baumann, V. Padmakumar, X. Li, J. Yang, D. Yang, and S. Koyejo, “SWE-chat: Coding agent interactions from real users in the wild,” in Proc. Conf. Language Modeling (COLM), 2026. https://arxiv.org/abs/2604.20779
View marker - [9]
L. Zheng et al., “SGLang: Efficient execution of structured language model programs,” Adv. Neural Inf. Process. Syst., vol. 37, pp. 62557–62583, 2024. https://arxiv.org/abs/2312.07104
View marker - [10]
W. Kwon et al., “Efficient memory management for large language model serving with PagedAttention,” in Proc. 29th ACM Symp. Operating Systems Principles (SOSP), 2023. https://arxiv.org/abs/2309.06180
View marker - [11]
SemiAnalysis, “InferenceX AgentX MVP Benchmark,” AgentX Harness documentation. Accessed: Nov. 23, 2026. https://github.com/SemiAnalysisAI/agentx-harness/blob/master/docs/tutorials/agentx-mvp.md
View marker
Latest articles
SafetyAnnouncementIntroducing Iris Safety Evaluations v1
November 30, 2026|11 min read
SafetyNewsWhy NIST should develop guidance for open-weight model safety
November 30, 2026|9 min read
SafetySelective capability removal in open-weight models
November 30, 2026|15 min read

AI 热点