Monitoring Activations for Real-Time Detection of Cyber Misuse
Carlo Alfano, Adam Stein, Neil Gollapudi, David Renardy, Nick Fram
Abstract
A large language model (LLM) that helps a defender secure a system can also assist a user attempting to compromise it. To prevent harmful misuse of LLMs, monitors can be used to recognize when a user starts misusing it and when the LLM starts to provide harmful assistance. However, using a second LLM to check each step of an agentic interaction adds significant inference cost and latency often making this impractical. We introduce Iris Cyber Probe (ICP), a small recurrent classifier that reads the deployed model's activations at every token. We train ICP on top of Beam-501B-A23B using over a million labeled chunks of agentic traces sourced from automated red teaming and vendors where labels identify harmful user requests and model assistance. ICP detects 93.1% of harmful test chunks compared with 72.7% from a Kimi K3 text monitor, when calibrated to flag at most 5% of benign validation traces. For practical real-time use, we integrate ICP into vLLM and SGLang. With SGLang, we measure only a 0.6% reduction in output throughput at 64 concurrent users when the probe runs on one additional GPU.
Create a lesson
Metadata
- Categories
- cs.CR, cs.AI, cs.LG
- Comments
- 25 pages, 15 figures, 14 tables
Related papers
Building Resilience in Immature Organisations Against Cyber Crises Through Immersive Training
Shared title terminologycs.CRMarc Parenthoen, Jose Manuel Castillo, Nicolas Louveton et al.
JANUS: Permission-Guided Intrusion Detection in Kubernetes via Cross-Modal Association
Shared title terminologycs.CRYongqiang Li, Tao Luo, Guohua Xin et al.
QRNet: QR-Specific Representation Learning for Direct Image-Based Quishing Detection
Shared title terminologycs.CRJohn Harb, Fouad Trad, Ali Chehab
Prompt Injection Detection using DeBERTa-v3: A Position-Neutral Dataset for AI Security
Shared title terminologycs.CRMirza Akhi
Observability, Not Placement: A PyCPS-IDS Simulation Study of Edge, Fog, Cloud, and Hybrid Intrusion Detection in Smart-City IoT
Shared title terminologycs.CRMustafa S. Aljumaily, Hayder Kareem Abd, Nawar S. Alseelawi
An Empirical Evaluation of Validation Practices for Machine Learning-Based Network Intrusion Detection
Shared title terminologycs.CRJoão R. Campos