
Albert Hung-Ren Ko · Zenodo (CERN European Organization for Nuclear Research) 2026 · 2026
DOI: 10.5281/zenodo.24733630
Counts differ because each database indexes a different set of publications. We treat OpenAlex as the canonical count; Google Scholar is not shown (no API, and crawling it violates its ToS).
Autonomous coding agents often operate over long horizons interrupted by context compaction and session resets. Under realistic data-loss-prevention (DLP) policies, two actions may each be permissible in isolation—inspecting sandbox environment variables for debugging, or uploading a non-secret continuous integration summary—while their composition across turns, compaction boundaries or sessions is a violation. Stateless monitors, sliding-window auditors and scalar sequential detectors either discard the history needed to recognize such compositions or retain it at a token cost that grows with trajectory length. In this paper, we propose the State-Action Matrix (SAM) monitor. A lightweight extractor maps each proposed tool call onto an 8×8 semantic state-action space, and a persistent accumulator with per-state decay and a lagged bilinear coupling term carries security-relevant state across boundaries in a fixed-size representation, a median 62.2× shorter than the raw trajectory. A four-dimensional risk projection (severity, irreversibility, impact and blast radius) supports three-tier pre-execution routing. On a 650-trajectory benchmark derived from SWE-agent logs, with symmetric hard-benign negatives and five attack classes, SAM matches the strongest baseline in AUROC (0.996) and reaches 97.3% recall at 0.8% benign false positive rate, at 7.7–8.5 times lower cost than full-history monitoring. On the two cross-boundary attack classes, it detects 60 of 60 attacks against 53 for a provenance-graph baseline (exact McNemar p = 0.016); without the coupling term, recall on these classes falls to 63.3% and 76.7%. Our results suggest that a small, structured state memory may recover compositional evidence that transcript truncation destroys, although the benchmark is template-based and evaluation against adaptive attackers remains to be done.
Zenodo (CERN European Organization for Nuclear Research) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2026 · 2026 · 0 citations95% match
arXiv (Cornell University) 2014 · 2014 · 8145 citations90% match
2016 · 5389 citations90% match
arXiv (Cornell University) 2017 · 2017 · 4803 citations90% match
OASIcs : OpenAccess Series in Informatics 2025 · 2025 · 4742 citations90% match
2016 · 3971 citations90% match
No comments yet — start the discussion below.
2017 · 3530 citations90% match
2018 · 3031 citations90% match
arXiv (Cornell University) 2016 · 2016 · 3010 citations90% match