3 Commits
Author SHA1 Message Date
kevinveenbirkenbachandClaude Opus 5.5 cc555566bc test(test-e2e-playwright): assert the trusting scrub mutant by what it publishes
The negative control asserted the exit code of a mutant scrub that trusts a failed container removal. The stuck fake container keeps writing junit.part and renaming playwright-junit.xml every 0.1 s, so a write landing between the mutant's rmtree unlink and rmdir made its own fail-closed check report scrub 1 (2/400 runs under disk and CPU load, red on PR CI). The control now asserts the outcome that does not race: the mutant publishes before its rmtree, the real masker never publishes while the container may run. The fixed 0.3 s and 0.5 s sleeps in stopped_run waited for nothing and are gone. Masker code unchanged.

🎯 Fix: 92 %
💥 Break: 2 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 90 %
🏆 Score: 81
🚦 Gate: ⚠️ security 90 % < 100: moved subprocess.run context re-flagged; operator word 2026-11-23, accept row queued

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:31:25 +00:00
kevinveenbirkenbachandClaude Opus 5.5 702b363e7c fix(test-e2e-playwright): mask the Basic boundary group and bound the rerun container removal
- base64_forms adds the forms of ":" + value and "\0:" + value, so behind a user: of any length no value byte shows; basic_leaks compares each masked Basic header exactly.
- remove_container takes the run's container name and removes by name only when no .cid names one, under the same REMOVAL_SECONDS deadline and MISSING match; the rerun hands the name to scrub once its masker has started, and the shell copy of the removal is gone.
- HUP, INT and TERM traps forward the signal and wait; the EXIT trap then removes the container by name.
- settle names the container; README, the Ansible fail messages and the rerun say that a report whose path holds a value stays unpublished while the rest is published masked.
- Replies to the CodeRabbit round on PR #2414 corrected to match the code.
- MEDUSA: accepted WEB-AUTH-002 at tests/unit/python/roles/test-e2e-playwright/_spec_secrets_forms.py:163 (test constant BASIC fed to the in-process masker, by design); the FTSCAN-231 hit was removed by splitting the select line.

🎯 Fix: 90 %
💥 Break: 7 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 84
🚦 Gate: ⛔ break 7 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:05:04 +00:00
kevinveenbirkenbachandClaude Opus 5.5 23aeb76b25 fix(test-e2e-playwright): harden spec secret masking per PR 2414 review
Address the Main review and the CodeRabbit, CodeQL and code-quality threads on PR 2414: the detached hold child and stage digests are gone, every run reports into its own run directory, the masker covers short and encoded values, and the scrub proves the container gone. Container trust moves into spec_secrets_container.py: an exact DOCKER_CONFIG key allowlist, owner and mode checks, the CA trust words bound to the deploy, and a non-UTF-8 .ca-trust failing closed. rerun-spec.sh checks its arguments word by word and refuses a command override. Code-clean: the remaining non-free defaults are now explicit at every caller.

🎯 Fix: 90 %
💥 Break: 6 %
💸 Tokens: 100 %
⏱️ Velocity: 100 %
🛡️ Security: 100 %
🏆 Score: 85
🚦 Gate: ⛔ break 6 % > 5

Created-with: https://s.veen.world/skills
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 18:18:56 +00:00