Repository navigation
Harden evidence tooling and JS gauntlet commands after security audit - #18
Merged
Merged
Conversation
Three demo tooling defects found by an external audit: in-place mutation not surviving SIGTERM, the must-not scan echoing matched credentials, and source-state hashing symlink text instead of refusing it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- mutants.py runs every mutant in a throwaway copy and aborts unless that copy is what gets imported; a killed run can no longer leave a mutant in src/ (SIGTERM skipped the old finally-restore). - must_not_match prints file:line only, so a credential hit is not copied into CI logs; -H keeps single-file targets from leaking the line. - source_state refuses symlinks in scope instead of hashing link text, which let the target change under an unchanged binding. - gauntlet.md: JS commands use `npx --no-install`; bare npx auto-installs unpinned packages in CI, and `npx tsc` fetches an unrelated package. - SKILL.md / gauntlet.md: manual mutation runs in a disposable copy. New controls for the scan and source-state fail on the pre-fix code. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Source state is now `4c184cb` / `48000fb38edb5064`, from a fresh gauntlet run; the 52-test randomized suite was rerun 10/10 at this state. Records REVISION 8 as approved, unverified by an independent round, and found by an external audit rather than by the gauntlet. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes the security audit findings in the old-coder instructions and demo, including the three gaps found in the first PR review.
Changes
-Hpreserves the filename for GNU grep's single-file case.acb90b5, treec2c0431156288a42.Validation
The first local gauntlet stopped because the restricted environment could not prepare pip-audit; rerunning with network access passed. No gate was skipped. Final diff review found no remaining blocking findings. No fresh-context independent verification was performed; evidence records that downgrade. The disposable copy is not an OS sandbox against hostile tests or concurrent filesystem replacement.