Skip to content

OpenSec: Measuring Calibration of Incident Response Agents under Adversarial EvidenceOpenSec: Measuring Incident Response Agent Calibration Under Adversarial Evidence

arXiv· arXiv:2601.21083· Jarrod Barnes·Indexed by this site · 2026-10-12· Originally publishedEvaluation

Quick read

Evaluation and benchmarks

Based on the paper PDF (AI-generated); refer to the original

OpenSec evaluates four models, the authors say over-containment; GPT-5.2's FP is 0.825 (40 standard-tier).

Questions
Incident response agents with containment authority encounter evidence with prompt injection, but existing benchmarks treat executing actions as correct execution, hiding calibration failures. The authors argue that over-containment can be induced by injection.
Methods
OpenSec is a dual-control simulator. The defender views logs, alerts, and emails, and can investigate or contain; the attacker advances a fixed kill chain within a hard state machine. Scoring only looks at state-changing actions, with rewards covering attribution, containment, injection violations, and steps.
Experiments and results
Four frontier models, 40 standard-tier each. The authors say all over-contain, the gap is in restraint rather than detection. GPT-5.2 containment rate 1.00, FP 0.825, TTFC 4.1; Sonnet 4.5 is 0.625, 0.45, 10.6 (Table 1).
Limitations and future work
The authors state that the environment does not execute real exploits or malware, the attacker is state-constrained rather than free-form, and the scenario runs from phish to exfil. There are 40 standard-tier seeds per model, and thresholds are benchmarked against observed models, not human experts. The paper does not report the attacker model name or the number of repetitions.
Experimental setupGPT-5.2、Claude Sonnet 4.5 et al. · OpenSec · containment rate、false positive rate et al.
Evaluated models
GPT-5.2Claude Sonnet 4.5Gemini 3DeepSeek 3.2Qwen/Qwen3-4B-Instruct
Benchmarks
OpenSec
Metrics
containment ratefalse positive rateEGARTTFCTTRblast radiusinjection violation ratereward
AI summaryThe researchers propose OpenSec, a dual-control reinforcement learning environment that evaluates incident response (IR) agents under realistic prompt injection scenarios using execution-based scoring, with metrics including time to first containment (TTFC), evidence-gated action rate (EGAR), impact scope, and hierarchical injection violation rate. Evaluating four frontier models on 40 standard-difficulty episodes, they find consistent over-triggering: GPT-5.2 executes containment in 100% of episodes with a false positive rate of 82.5%, acting at step 4 before sufficient evidence is collected; Claude Sonnet 4.5 shows partial calibration with a containment rate of 62.5%, false positive rate of 45%, and TTFC of 10.6. All models correctly identify real threats when acting; the calibration gap lies not in detection but in restraint. Code at https://github.com/jbarnes850/opensec-env。

The researchers propose OpenSec, a dual-control reinforcement learning environment that evaluates incident response (IR) agents under realistic prompt injection scenarios using execution-based scoring, with metrics including time to first containment (TTFC), evidence-gated action rate (EGAR), impact scope, and hierarchical injection violation rate. Evaluating four frontier models on 40 standard-difficulty episodes, they find consistent over-triggering: GPT-5.2 executes containment in 100% of episodes with a false positive rate of 82.5%, acting at step 4 before sufficient evidence is collected; Claude Sonnet 4.5 shows partial calibration with a containment rate of 62.5%, false positive rate of 45%, and TTFC of 10.6. All models correctly identify real threats when acting; the calibration gap lies not in detection but in restraint. Code at https://github.com/jbarnes850/opensec-env。

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Existing IR benchmarks cannot distinguish execution from correct execution; OpenSec uses execution scoring to measure over-containment under adversarial evidence.

    Existing IR benchmarks treat executing containment as correctly containing, and cannot measure whether agents overact under adversarial evidence.

    • Scenario: The authors state that agentic SOCs have emerged (Omdia, 2025, over 50 startups), with alert triage accuracy reaching 94% in controlled settings (Srinivas et al., 2025). The authors argue that offense is scaling faster than defense, citing Heelan (2026): 6 scenarios, 40+ working exploits, compute of roughly $30–50; the abstract also states under $50.
    • Limitation: The authors state that benchmarks measure capability, not calibration. This example is not an OpenSec measurement: a model with 94% classification accuracy could still contain 97% of alerts, including the 6% that should have been ignored. High false positives are described as a pain point LLMs are supposed to mitigate, but existing evaluations rarely examine whether false positives get better or worse once action authority is granted.
    • Evaluation target: IR agents with containment authority; evidence comes from logs, alerts, and emails and can contain prompt injection; the attacker continues advancing the kill chain. The authors aim to measure the gap between the willingness to act and the correctness of actions when evidence is adversarial and the stakes are operational. Barres et al. (2025) drop 28 points on τ²-bench when moving from reasoning-only to dual-control and state the main bottleneck is coordination failure.
    • Proposal: OpenSec, a dual-control reinforcement learning environment with deterministic execution scoring. Metrics are time-to-first-containment (TTFC), evidence-gated action rate (EGAR), blast radius, and per-tier injection violation rates. Scoring looks at actual actions, not report text.
  2. What related research exists?

    The authors place OpenSec alongside capability-based security benchmarks and dual-control environments, with the difference being measuring when to act.

    The paper discusses four groups of work in §8 and the introduction, criticizing only those it explicitly names as comparisons.

    • Safety benchmarks: CyberSecEval2 (Meta AI, 2024) tests code security and prompt injection resistance, and introduces the false refusal rate (FRR) to quantify the safety-usefulness trade-off; the authors say this is conceptually adjacent to calibration. CTIBench (Alam et al., 2024) evaluates intelligence tasks like CVE-to-CWE mapping and threat actor attribution. ExCyTIn-Bench (Wu et al., 2025) evaluates LLM agent threat investigation using security Q&A on Azure logs. The authors say these benchmarks answer "can it do X", not "does it know when to do X".
    • Interactive network environments: CybORG (Baillie et al., 2020) provides a training environment for red/blue autonomous agents in adversarial network scenarios. The authors say OpenSec differs by being centered on logs and SOC artifacts, explicitly including prompt injection, and measuring action calibration rather than making network-level decisions.
    • Dual control: The paper cites Bernstein et al. (2002): finite-horizon decentralized POMDP is NEXP-complete. τ²-Bench (Barres et al., 2025) writes that agents degrade when moving from single-control to dual-control, and formalizes the problem as a Dec-POMDP. ATLAS (Jaglan and Barnes, 2025) addresses this with a dual-agent architecture separating reasoning and execution. The authors say OpenSec applies dual control to IR: the attacker continues advancing while the defender investigates.
    • Cybersecurity RL: The authors say prior work mainly focuses on attack path discovery and penetration testing (Hammar, 2025). A survey by Lazer et al. (2026) lists benchmark standardization as a gap.

    The main experiments do not run the above benchmarks as comparisons. Four models are compared against each other on OpenSec's standard-tier; Appendix A compares the trained Qwen/Qwen3-4B-Instruct with Sonnet 4.5 on the main evaluation numbers. The authors position this paper as an IR calibration environment measuring "when to act", and provide reproducible, execution-based standardized scoring.

  3. How does the paper address this problem?

    OpenSec uses an attacker in a state machine, trust tiers, and execution-only rewards to measure whether containment is justified and whether there are false positives.

    OpenSec is a dual-control simulator: the defender investigates and contains, the attacker advances a fixed kill chain in a hard state machine, and scores only look at actions that change the world state, not report text (Figure 2 caption).

    Episodes and Roles

    • Each episode is an event with ground truth and an artifact timeline. The defender acts within a step limit, default max steps=15; if not contained, the attacker continues evolving the event.
    • The defender observes SQLite logs, alerts, and emails. Actions include query logs, fetch email, fetch alert, isolate host, block domain, reset user, submit report.
    • The attacker is a constrained autonomous LLM policy: it only selects legal actions consistent with the scenario, can choose among branches, and can use a replay cache keyed by (scenario id, step, attacker state, agent action hash). The paper does not give the model name for this policy.
    • The kill chain is phish sent, creds used, lateral move, data access, exfil attempt, with state constraints and optional branches.

    Scenarios and Seeds

    • Three design principles: stratified by taxonomy, artifacts with trust tiers and provenance, and variable objectives. Seeds have a taxonomy id and taxonomy family.
    • Three families with sampling weights: direct harm 0.50, data exfil 0.30, adaptive 0.20. The trust profile maps each surface to untrusted, corroborated, or verified.
    • Data: 160 training seeds, 60 evaluation seeds (trivial, easy, standard, 20 each). The paper writes that injection payloads appear in all scenarios; baseline evaluation uses 40 standard-tier seeds. Figure 3 caption says seeds have family labels and injection payloads, used for curriculum learning and targeted evaluation.
    • Attack graphs can use objectives lists and conditional state transitions for multi-objective scenarios, and can change max steps. The paper does not give the family counts for these 40 seeds in the methods section.

    Rewards

    • Sum of four deterministic components, used as training signal. Attribution: correct field +1, each unknown −0.5. Containment: correct action +1, false positive −0.5 and capped per category, the paper does not give the cap value. Injection safety: after exposure to injection content, each violation −2. Efficiency: −0.1 per step, to reduce unnecessary actions.
    • A violation is a substring match between tool call parameters and content appearing only in injection text (the paper gives domain or host identifiers as examples), counted per episode. Only behavioral compromise after exposure is penalized; the authors say avoiding reading is not an option.
    • The authors say false positive penalties are heavier than inaction, and deliberately do not penalize missed containment, to first see whether actions are chosen correctly. The authors also say: FP penalties are capped, and missed containment has no penalty, so exhausting the action space can still yield high rewards; therefore total reward is not a sufficient deployment metric. The asymmetric penalty was not ablated this time.

    Metrics and Judgments

    • containment rate: proportion of episodes with at least one containment action. FP rate: proportion of episodes with at least one erroneous containment. EGAR: proportion of containment actions where trusted evidence for the target entity was obtained beforehand; §6 says only trusted evidence counts.
    • TTFC is the step index of first containment, higher means more investigation before acting. TTR is the step index of submitting the final report. Blast radius is the ratio of erroneous containment to correct containment per episode.
    • Injection violation rates are graded in three tiers: T1 is obvious overrides, T2 is contextualized, domain-specific framing, T3 is complex, multi-step, or multilingual payloads.
    • The defender prompt enumerates all containment tools and gives JSON usage examples. Table 1's calibration labels are Uncalib. and Part. Cal.; §6 says these thresholds are provisional, compared against observed frontier model behavior, not human expert baselines. The authors cite OWASP (2025) listing tool/API access as an attack surface, and say OpenSec deliberately makes the defender handle attacker-controlled content.
  4. What experiments did the paper conduct?

    The authors state that across 40 standard-tier episodes the four models have FP of 45–82.5%, and the gap is in restraint, not detection.

    Experimental setup

    • Models tested: GPT-5.2, Claude Sonnet 4.5 (written as Sonnet 4.5 in the table), Gemini 3, DeepSeek 3.2. Appendix A additionally reports Qwen/Qwen3-4B-Instruct. The attacker is described only as an LLM policy; the paper does not give a model name.
    • Data: 160 training seeds; 60 evaluation seeds, 20 each for trivial, easy, standard. Injection payloads appear in all scenarios. Table 1 states 40 standard-tier episodes per model; §2 and §6 state the baseline uses 40 standard-tier seeds. The paper does not explain the relationship between this 40 and the "20 standard evaluation seeds," nor does it report the family counts for these 40 episodes.
    • Weights and steps: Family sampling weights are direct harm 0.50, data exfil 0.30, adaptive 0.20. Default max steps=15. Tables 1–2 do not give results for trivial and easy.
    • Metrics: containment rate and FP rate are episode proportions; EGAR is an action proportion; TTFC and TTR are step indices; blast radius is the ratio of false positives to correct containment; there are also per-tier injection violation rates and the sum of four rewards.
    • Scoring: Output is JSONL. Containment is scored only for actions that change world state, not by an LLM judge. Violations are defined per episode as substring matches between tool arguments and content appearing only in injected text.
    • Not reported: The paper does not report sampling temperature, number of repetitions, or agreement with human judgment. Calibration labels are in Table 1; §6 calls them provisional, benchmarked against observed frontier model behavior, not human-expert baselines.

    Main results

    Per Table 1, 40 standard-tier episodes per model. Header model names follow the paper's notation.

    Swipe horizontally to read the table

    ModelRewardCont.FPEGARTTFC
    GPT-5.23.071.000.8250.3754.1
    Sonnet 4.52.370.6250.450.39210.6
    Gemini 32.610.750.5750.4298.6
    DeepSeek 3.23.450.9250.650.5429.0
    • Calibration labels: The authors label only GPT-5.2 as Uncalib. and the other three as Part. Cal. The authors state that all four models identify the ground-truth threat when acting; the gap is in restraint, not detection.
    • Rewards: The authors state these rewards look non-trivial but reflect indiscriminate action; in production, false-positive containment would take down legitimate services along with real threats.
    • Difference from figure captions: The Figure 1 caption states that in representative timelines GPT-5.2 begins containment at step 4 with an 82% false positive rate, and Sonnet 4.5 gathers evidence until step 11 with a 45% false positive rate; this does not exactly match the aggregate columns in Table 1. The abstract states GPT-5.2 acts at step 4 with FP at 82.5%. The caption states the kill chain advances over 15 steps regardless of defender behavior, and both timelines identify the real threat.

    Operation time and injection tiers

    • Time and blast: Table 2 TTR values are 12.1, 13.5, 12.5, 13.2, and Blast are 0.43, 0.44, 0.44, 0.42 (model order as in Table 1). The authors state blast is similar, writing 0.42–0.44 in the main text, and that once false positives occur, magnitude is independent of timing. The authors state GPT-5.2 investigated only 27% of episodes, while Sonnet 4.5 investigated 70%.
    • Per tier: T1/T2/T3 are 0%, 25%, 7% for GPT-5.2; 0%, 20%, 0% for Sonnet 4.5; 7%, 15%, 5% for Gemini 3; and 5%, 15%, 10% for DeepSeek 3.2. The authors state T2 is the most effective attack surface across models, T1 rarely succeeds, and DeepSeek 3.2 has the highest T3; they also state injection robustness and containment calibration are independent. The Table 2 caption states Sonnet 4.5's T1/T3 are 0.
    • Denominator: The paper does not specify the denominator for these percentages, nor the sample size per tier. The main text separately states the T2 violation rate is 15–25%.

    Preliminary RL (Appendix A)

    • Approach: Training Qwen/Qwen3-4B-Instruct with Group reward-Decoupled Normalization Policy Optimization (GDPO), with rewards decomposed into attribution, containment, injection, and efficiency. The authors state GDPO normalizes each reward separately before aggregation to handle reward-advantage collapse in multi-reward settings. Rollout uses SGLang, on one A100. The authors state this is not a main contribution. The paper does not report steps, learning rate, or the evaluation seed tier.
    • Table 3: containment rate 0.75, FP rate 0.70, correct containment 0.475, injection violation rate 0.375, report submitted 0.25.
    • Author interpretation: Relative to the main evaluation of Sonnet 4.5, the authors state this is changed but not more calibrated; actions are more frequent but not more accurate. The authors consider the report submission proportion to indicate a reward shaping problem and argue that direct RL with multi-component rewards is insufficient, potentially requiring SFT warmup on successful trajectories, a staged curriculum, and explicit verification gates.

    Other ablations and analyses

    • Penalty asymmetry was not ablated; symmetric penalties are described as a future ablation with no numbers (§3.1).
    • Missed containment is not penalized and FP penalties are capped by category; the authors state that exhausting the action space can therefore still yield high reward (§3.1).
    • Observed during development: when artifacts lack real provenance and trust metadata, models perform fewer containments; no quantitative comparison (§5). The authors argue that unrealistic benchmarks may underestimate willingness to act and overestimate calibration.
    • The authors argue that calibration depends on factors beyond capability, possibly including alignment approach or training method; why it is Sonnet 4.5 rather than the other three models is stated to be an open question (§5).
  5. What are some points that can be further explored?

    The authors state the environment does not run real exploits, broader statistical confidence would require more seeds, and the thresholds are only provisional.

    Limitations and future directions noted by the authors

    • No real exploitation: The environment is log-centric and does not execute real exploits or malware; the goal is investigation and containment decisions, not exploit development (§6).
    • Attacker is not free-form: The attacker is state-constrained for determinism, not fully free-form (§6).
    • Scenario slices: The evaluation is limited to the common chain of phish, creds, lateral movement, exfil, for verifiability (§6).
    • Seeds and thresholds: 40 standard-tier seeds per model; the authors state that wider statistical confidence would require more seeds and repetitions. Containment capability thresholds are provisional, benchmarked against observed frontier model behavior, not human-expert baselines (§6).
    • Trust hierarchy: Metadata is used to compute EGAR but has not yet been analyzed as an independent variable; analyzing model behavior by evidence provenance quality is future work (§6, §7).
    • Training and open questions: The authors state that why Sonnet 4.5, rather than GPT-5.2, Gemini, or DeepSeek, is an open question (§5). Appendix A and §7 describe preliminary RL showing that prompt calibration behavior is trainable, but further research is needed; the authors believe a two-stage SFT+RL or curriculum is likely and that direct multi-component reward RL is insufficient. Injection curricula and trust-aware evaluation are also listed as future work (§7).

    Experimental coverage

    • Main results cover GPT-5.2, Sonnet 4.5, Gemini 3, DeepSeek 3.2, with 40 standard-tier episodes each; numbers are in Table 1 and Table 2.
    • §2 states 160 training seeds and 60 evaluation seeds (20 each for trivial, easy, standard), with injection payloads covering all scenarios; family weights are 0.50, 0.30, 0.20. Tables 1–2 do not report numbers for trivial and easy.
    • Injection violations are reported by T1, T2, T3; EGAR counts only trusted evidence. Defender actions include query logs, fetch email, fetch alert, isolate host, block domain, reset user, submit report, as listed in the paper.
    • Appendix A trains Qwen/Qwen3-4B-Instruct with GDPO, rollout with SGLang on one A100; Table 3 reports five metrics. The paper does not report training steps, learning rate, or the seed tier for that evaluation.
    • Scoring is execution matching, not an LLM judge. The paper does not report the attacker LLM's model name, sampling temperature, number of repetitions, or the denominator for the per-tier percentages in Table 2.
  6. Summarize the main content of the paper

    OpenSec uses execution scoring to measure whether IR agents over-contain under adversarial evidence; the authors state the gap is in restraint.

    OpenSec uses a dual-control incident environment to measure IR agent calibration under adversarial evidence: scores depend on actual containment, not report text.

    • The problem is that existing safety benchmarks conflate executing an action with executing it correctly. The authors care about whether agents with containment authority act on insufficient evidence when logs, alerts, and emails contain prompt injection and the attacker is still advancing.
    • The defender has at most 15 steps by default supervision, can investigate, and can also isolate host, block domain, reset user. The attacker is an LLM policy embedded in a fixed kill chain. Rewards separately account for attribution, containment, injection violations, and steps; false positives are penalized, missed containment is not.
    • Four frontier models, 40 standard-tier episodes each (Table 1): GPT-5.2 has containment rate 1.00, FP 0.825, EGAR 0.375, TTFC 4.1; Sonnet 4.5 has 0.625, 0.45, 0.392, 10.6; Gemini 3 has 0.75, 0.575, 0.429, 8.6; DeepSeek 3.2 has 0.925, 0.65, 0.542, 9.0. The authors label only GPT-5.2 as Uncalib. The abstract states it acts at step 4; Table 1 reports TTFC of 4.1.
    • The authors state that all four models identify the real threat when acting; the gap is in restraint. In Table 2, the highest T2 is GPT-5.2's 25%, and Sonnet 4.5's T1 and T3 are 0%; the main text writes blast as 0.42–0.44. The authors state that injection robustness and containment calibration are independent.
    • Appendix A trains Qwen/Qwen3-4B-Instruct with GDPO, with containment 0.75, FP 0.70. The authors state this is not a main contribution and is not more calibrated than Sonnet 4.5.
    • The authors conclude that total reward cannot replace deployment metrics; unrealistic benchmarks may underestimate willingness to act and overestimate calibration. The environment does not execute real exploits, and the thresholds are provisional.
Read originalarxiv.org