|
D-137 tier 2 (EXISTENCE): declared-location bound, existence checks, widened globs
Tooling only -- the LIVE three-site sweep has NOT run, so SEC-021's on-disk half, SEC-022 and SEC-023 are not yet reproduced as live findings. creds-manifests/vm-secret-locations (ruling 3): the absolute bound on discovery. Covers the jumphost creds folders, the SEC-022 headend shadow stores, the SEC-020 region secrets dir, the three dirs outside the SEC-009 convention, plus two the ruling's note did not name -- the in-clone PKI overlay and the DOCFIX-175 plaintext tfstate. Tenant dirs are LOCAL-only: no tenant VM/project/host is reachable from this file, so D-069 holds by construction rather than by good behaviour. `<repo>` is substituted at runtime (D-110: the repo name is never hardcoded). creds-matrix.py --tier2 [--remote]: E1 expected-but-absent, E2 mode, E3 undeclared-at-a-declared-location. Probes are `stat` over ssh -- metadata only, never content. An unreachable host SKIPS with an explicit [ok], because "could not look" must never read as "nothing there". --pending-stage is supplied by the CALLER so a not-yet-reached mint stage defers instead of failing; encoding which stages have run would put a status claim in code, and GA-R1 puts status in CURRENT-STATE only. creds-audit.sh sprawl globs widened for the SEC-023 blind spots (admin.pass, *.apikey, *.key, *.pem, *_ed25519, *_rsa, *openrc*). The old six patterns could not have matched the SEC-020 secret that sat undetected 12 days, any bare SSH key or PEM, or the predicted Stage-5 ~/admin-openrc. Harnesses: creds-matrix 33/33 (8 new tier-2 cases), creds-audit 13/13 (was 7; five blind-spot fixtures plus T13 asserting the widening did NOT become trigger-happy). Gauntlet ALL GREEN (80), repo-lint 0-fail. FLAGGED DIVERGENCE from the plan's Files list: --remote is implemented in creds-matrix.py, not creds-audit.sh. Tier 2 IS the preflight Pn and the matrix plus locations list both live there; splitting it would mean two implementations of one bounded walk. Ruling 3 names a bound, not a script. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01HvCyrwvYTTcDYnRErfMsNf |
|---|
|
|
| creds-manifests/vm-secret-locations 0 → 100644 |
|---|
| docs/CURRENT-STATE.md |
|---|
| docs/changelog-20260726-d137-tier1.md |
|---|
| scripts/creds-audit.sh |
|---|
| scripts/creds-matrix.py |
|---|
| tests/creds-audit/run-tests.sh |
|---|
| tests/creds-matrix/run-tests.sh |
|---|