Repository navigation
fix(check): secrets verified-vs-unverified + semgrep fixture noise → 1.26.0 - #101
Merged
Merged
Conversation
…se → 1.26.0 Stops kit's own security board failing on noise (the #1 adoption blocker): - secrets scan: only a VERIFIED-LIVE secret (trufflehog confirmed it works) is a critical fail; unverified secret-shaped strings (test fixtures, example conn strings, docs) are a warn to review. New pure classifyTrufflehogFindings. - .semgrepignore: exclude *.test.ts (intentional fake-secret fixtures) and .github/ (covered by kit gha-audit #60; only FP'd on ${{ secrets.* }} refs). On kit itself: secrets critical-fail -> warn (0 verified-live), semgrep fail(16) -> warn(7 genuine low). Zero real findings were suppressed. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
|
✅ Docker image built successfully
|
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.
Why
kit checkon kit itself was RED — but the triage found zero real security issues. The red was its own test fixtures:criticalon 16 unverified Postgres example strings (trufflehog verified-live = 0) in tests/docs/dev-compose.${{ secrets.SONAR_TOKEN }}reference + low-severity docker/regexp warns.Failing a clean repo on its own fixtures is the #1 security-tool adoption blocker (#50). This makes the board honest: green = no real findings, not "fixtures suppressed."
Changes
criticalfail; unverified →warn. Only a secret trufflehog confirmed works blocks the gate ("rotate now"); secret-shaped-but-unconfirmed strings are surfaced to review ("0 verified-live — review for test/example data"). New pure, fixture-testedclassifyTrufflehogFindings..semgrepignore:*.test.ts+.github/. Test fixtures = intentional fake secrets (tests aren't shipped). Workflow YAML is covered bykit gha-audit(GitHub Actions hardening — static YAML lint (SHA-pinning, pwn-request) #60); semgrep only FP'd there on${{ secrets.* }}.Result on kit
critical fail→warn(0 verified-live)fail(16) →warn(7 genuine low: docker-compose hardening recs + dynamic-regexp)Verify
check-securitytests 19/19 (incl.classifyTrufflehogFindings+classifySocketResult).🤖 Generated with Claude Code