Files
felhom.eu/documentation/audits/SPIKE-cc-creds-2026-10-17/probes/child.sh
T
adminandClaude Opus 5.5 b9c4f73bfa
gates / gates (push) Failing after 6m36s
SPIKE cc-creds: secret broker + CC transcript guards measured with canaries (R-1118..R-1122, 168 -> 173)
Mask PASS, PreToolUse refuse PASS, PostToolUse replace PARTIAL (crash and
large-output disk leaks, both with a measured fix), SOPS+age store PARTIAL
(private repo could not be created), transcript sweep PASS. Fake secrets
only; ~/.config/credentials not read; no CC settings changed. Files use
"creds": .gitignore *secret* ignores the brief's names. STATUS D10: the
store choice.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012qRErfCoiTkvDK9N5XHbzb
2026-10-17 11:57:24 +02:00

8 lines
515 B
Bash
Executable File

#!/bin/bash
# Run one throwaway headless CC child with a SCRUBBED environment (no RESEND_API, no CC session tokens),
# so a guard that fails cannot put a real value into the child's transcript.
# child.sh SETTINGS OUTJSON "prompt"
cd ~/spike-cc-secrets/work
exec env -i HOME="$HOME" USER="$USER" LOGNAME="$LOGNAME" PATH="$PATH" LANG=C.UTF-8 TERM=dumb SHELL=/bin/bash \
claude -p --add-dir /home/kisfenyo/spike-cc-secrets --settings "$1" --output-format json --max-turns 4 "$3" < /dev/null > "$2" 2> "$2.stderr"