mlsanityData to 14 Oct 2026

Post-Hoc Trajectory-Risk Certification for Modular LLM-Based Security Agents

arXiv 2608.05199 ↗First posted 4 Aug 2026cs.CR cs.AIcited by 1

On the map: LLM agents and tool use → Agent threats, guardrails and governance

Abstract (arXiv)

Autonomous security agents operate as staged pipelines, such as classifying network traffic and then attributing attacks to a specific technique. Split conformal prediction gives each stage finite-sample coverage, but deployment requires a trajectory-level guarantee across the full chain. These guarantees do not compose automatically when stages are independently trained and calibrated. Bonferroni allocation is distribution-free but conservative under correlated errors. We show that a natural pairwise-correlation extension to three or more stages is invalid because it gives a lower rather than an upper bound, and derive a valid spanning-tree alternative. We distinguish whether stages are dependent from whether an audit sample is large enough to certify that dependence, and give matching upper and information-theoretic lower sample-complexity bounds. We also show that coarse-to-fine label selection can create near-perfect measured correlation without learned dependence. On a two-stage intrusion-detection pipeline across 6 open LLMs and 2 datasets, removing this artifact reduces measured correlation from near 1 to 0-0.78. A direct audit of trajectory failure becomes 13.7% tighter than Bonferroni once the audit reaches the required sample size, but is worse when undersized. A modular certificate using per-stage certificates and a pairwise overlap bound yields a positive average gain of 0.6%, quantifying the cost of lacking joint access. Same-model, cross-model, and permuted-pairing tests show that residual dependence reflects shared sample difficulty, not shared model representations. Average trajectory coverage across 12 configurations is 92.7% +/- 2.4% at alpha = 0.10. Under cross-dataset deployment, single-step miscoverage reaches 100% even when accuracy remains 78%, showing that distribution shift destroys calibrated confidence before raw accuracy.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in Agent threats, guardrails and governance, one of 16 directions in LLM agents and tool use. Builds on 21 of its 35 references that are in the map. First posted on arXiv 4 Aug 2026.

Builds on

21 of 35 references.

References · 21

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2017On Calibration of Modern Neural Networkscited by 4,960
  5. 2023Mistral 7Bcited by 3,164
  6. 2024Qwen2 Technical Reportcited by 2,120
  7. 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,998
  8. 2021Adaptive Conformal Inference Under Distribution Shiftcited by 375
  9. 2022Conformal prediction beyond exchangeabilitycited by 355
  10. 2022Conformal Risk Controlcited by 299
  11. 2021Distribution-Free, Risk-Controlling Prediction Setscited by 288
  12. 2021Learn then Test: Calibrating Predictive Algorithms to Achieve Risk Controlcited by 271
9 more
  1. 2018Time-uniform, nonparametric, nonasymptotic confidence sequencescited by 229
  2. 2023Class-Conditional Conformal Prediction with Many Classescited by 109
  3. 2024AutoAttacker: A Large Language Model Guided System to Implement Automatic Cyber-attackscited by 96
  4. 2024Large Language Models for Cyber Security: A Systematic Literature Reviewcited by 68
  5. 2024Large Language Models in Cybersecurity: State-of-the-Artcited by 34
  6. 2023Non-Exchangeable Conformal Risk Controlcited by 29
  7. 2026Conformal Selective Acting: Anytime-Valid Risk Control for RLVR-Trained LLMscited by 8
  8. 2026PASC: Pipeline-Aware Conformal Prediction with Joint Coverage Guarantees for Multi-Stage NLP and LLM Pipelinescited by 7
  9. 2026Audited Selective Verification for Risk-Controlled N-1 Thermal Contingency Screening under Deployment Shiftcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026Structurally Close, Temporally Distant: Measuring Security Exposure in Long-Horizon LLM Agents
  2. 2026TRACES: Proactive Safety Auditing for Multi-Turn LLM Agents via Trajectory-State Modeling
  3. 2026TRACE: Trajectory Reasoning through Adaptive Cross-Step Evidence Aggregation for LLM Agents
  4. 2026HINTBench: Horizon-agent Intrinsic Non-attack Trajectory Benchmark
  5. 2026RouteGuard: Certifying Routing Gain in LLM Multi-Agent Systems When Complementarity Is Not Enough
  6. 2026TrajAD: Trajectory Anomaly Detection for Trustworthy LLM Agents
  7. 2026Enforcing Benign Trajectories: A Behavioral Firewall for Structured-Workflow AI Agents
  8. 2026TRACE: Trajectory Risk-Aware Compression for Long-Horizon Agent Safety