SDCS Red: First-Principles Cold-Context Adversarial Verification for Autonomous Coding Agents
Self-review by autonomous coding agents fails systematically due to shared blind spots and green-light bias. This technical report presents SDCS Red, an open-source, zero-dependency adversarial verification harness grounded in four mechanical gates: (1) static AST and polyglot pre-scanning without executing untrusted code (red_prescan.py), (2) cold-context read-only refutation across 7 mandatory failure buckets governed by Contract Supremacy (with optional cross-model Mode 2 isolation), (3) diff-scoped AST mutation testing in isolated temporary sandboxes (mutate_diff.py), and (4) baseline-fail / fix-pass proofs (prove_diff.py) paired with a 3-part Claim-Check Receipt. Without any domain-specific finance or shell rules inside the auditor, SDCS Red uncovered an agent-built close-only trailing-stop mirage (+16,598.5% BTC collapsing to +110.9%), missing 25-year dividends, 9 silently deleted COVID zero-yield days, a leaky ML placebo splitting 81x on unshuffled SEC ROE, post-end-date leakage, surviving 1-line look-ahead mutants matching a published Journal of Financial Economics replication defect, and 6 dead double-quoted bash globs across green repositories. Open-source software repository: https://github.com/adamm285-dev/SDCS-Red. Companion Bookkeeper report: https://doi.org/10.5281/zenodo.24547767.
Authors
- Adam Murphy
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-30
- DOI
- https://doi.org/10.5281/zenodo.24702887
- Primary Topic
- Software Testing and Debugging Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00