Back to Feed
Agents / Safety & Alignment

Detecting Cross-Session AI Agent Misuse

Original: Magnet: Detecting Cross-Session AI Misuse Through Capability Accumulation

Listen to the summary

Uses a voice available on your device

Audio options
On this page

Key Takeaways

  • Existing safety frameworks often miss multi-session attacks where a harmful objective is decomposed into innocuous sub-steps.
  • Magnet represents each session as a binary vector mapped to a predefined capability taxonomy and tracks state across sessions using a bitwise OR inventory.
  • The system achieved an F1 score of 84.0 percent, outperforming per-session detectors at 61.0 percent and compression detectors at 81.8 percent.
  • The method successfully identifies misuse even when attackers decompose objectives, though it currently relies on manual attack structure definitions.

Summary & Methodology Analysis

Magnet operates by addressing the vulnerability of stateless AI safety monitoring. While standard systems evaluate single requests, attackers can avoid triggering alarms by splitting a malicious payload into discrete, benign prompts sent to fresh agent instances. To counter this, the Magnet architecture decomposes target objectives into sub-capabilities. Each session is processed into a binary vector based on an expert-authored taxonomy. The system then maintains a persistent state for each entity by aggregating these vectors using a bitwise OR operation, which effectively captures the accumulation of malicious intent across the entire lifecycle of an entity's interactions.

Interactive System Flowchart

Click diagram to expand and zoom

Cross-Examination & FAQs

A deeper dive clarifying mechanics, constraints, and baseline evaluations.

Q1. What is the primary problem Magnet solves?

It addresses the gap where attackers decompose harmful goals into smaller, benign subtasks across multiple sessions to evade traditional, single-turn safety filters.

Q2. How does the detection mechanism work?

It represents each session as a binary vector based on a taxonomy of capabilities and tracks those capabilities over time using a bitwise OR operation to build a cumulative inventory.

Q3. Did Magnet perform better than existing detection methods?

Yes, Magnet achieved an F1 score of 84.0 percent, which is higher than the 61.0 percent for per-session detectors and 81.8 percent for compression detectors.

Q4. What models and datasets were used in the research?

The study utilized a wide range of models including Claude (Sonnet 4.5, Opus 4.8, Haiku 4.5), GPT (5.4, 5-mini, 5.6-sol), and Gemini (2.5-pro, 3.1-pro-preview, 3.5-flash). Datasets included WildChat-1M, MOSAIC-Bench, CSTM-Bench, and the MITRE ATT CK framework.

Q5. Does Magnet automatically discover new ways to perform attacks?

No, the paper notes that the detector relies on pre-authored decompositions and cannot automatically discover novel attack structures.

Q6. What are the limitations regarding the types of harm the system can detect?

The study is limited to two specific domains: phishing and the assembly of incendiary devices.

Q7. Does the system account for adaptive attackers who rotate user IDs?

No, the current scope assumes a non-adaptive attacker who consistently uses a single user ID for all sessions.

Q8. What was the average attack success rate for the multi-session pipeline tested?

The multi-session pipeline achieved an average attack success rate of 37.4 percent across the sample.

Q9. Does the paper specify the inference latency or hardware costs of running Magnet?

The paper does not specify these metrics.