- core_engine: base64 candidates were extracted from a lowercased string, but
base64 is case-sensitive, so every encoded payload decoded to garbage and
scored 0. An encoded "ignore previous instructions and bypass restrictions"
passed cleanly while the plaintext scored 100. Candidates are now taken from
the original-case text and padded before decoding.
- core_engine: sys.exit(403) was truncated to 147 by the OS (exit statuses are
mod 256). Replaced with documented in-range exit constants.
- core_engine: semgrep failures no longer silently score 0 on a security
control; a missing scanner is scored as unscanned. trufflehog absence fails
closed explicitly.
- scripts: orchestrator interpolated bash's lowercase false/true into generated
Python, raising NameError under 'set -euo pipefail' and aborting the run
BEFORE risk scoring ever executed.
- Add 5 regression tests covering each prompt-injection vector.
v7.2: fix historical velocity tracking (repo_id), session UUID collision, read-only repo mount, SQLite pre-score, batched semgrep, real CI patch content