Repository navigation
feat(check): GuardDog local malware scanner (opt-in) + scan/air_gap config sections → 1.28.0 - #107
Merged
Merged
Conversation
…/air_gap config → 1.28.0 #105: GuardDog (DataDog OSS) as the local-first replacement for the dropped cloud Socket scanner (#103). Opt-in via KIT_GUARDDOG=1 (needs semgrep + verify is heavy); otherwise a skip with the enable hint. Pure classifyGuardDog is fail-closed — zero-issues-with-rule-errors (e.g. missing semgrep) is a warn (UNVERIFIED), never a false pass; real indicators always fail. mise-resolved (pipx:guarddog), triaged 100/100 before adding. Also fixes: [scan] + [air_gap] were valid config sections (zod, #65/#85) but missing from KNOWN_SECTIONS, so they warned as "unknown section" on every command. Closes #105 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.
Closes #105.
GuardDog — the local-first Socket replacement
After dropping the cloud Socket scanner (#103), this adds GuardDog (DataDog, OSS) as kit's local behavioral-malware scanner: Semgrep-rules-on-source + metadata heuristics for npm/PyPI, runs locally, no manifest upload.
KIT_GUARDDOG=1) — GuardDog needs Semgrep andverifyfetches/scans each dep, too heavy for the default check; otherwise askipwith the enable hint. Resolved mise-first (pipx:guarddog).classifyGuardDog(pure, fixture-tested): apassrequires a COMPLETE scan. Zero indicators with rule-errors (e.g. the real "unable to find semgrep binary" case) is awarn("INCOMPLETE/UNVERIFIED") — never a false pass. Real indicators (issues > 0) always fail. (Same lesson as socket kit check Socket scan uses a removed command (socket check) — broken against Socket CLI v1.x #103 / scan fix(scan): surface unparseable scanner output as error, not "ran clean" #74.)kit triage pip guarddog→ 100/100, 0 critical.Fix: config sections
scan(#65[scan.tooling]) andair_gap(#85) are valid (in the zod schema) but were missing fromKNOWN_SECTIONS→ spurious "unknown section" warning on every command. Added both.Verify
guarddog7 +config); confirmedguarddog npm verify … --output-format=jsonis a valid command (not a dead one). Board: guarddog shows as opt-inskip; no more[scan]warning.🤖 Generated with Claude Code