Skip to content

feat(check): GuardDog local malware scanner (opt-in) + scan/air_gap config sections → 1.28.0 - #107

Merged
sandstream merged 1 commit into
mainfrom
feat/guarddog-scanner
Jun 24, 2026
Merged

sandstream merged 1 commit into
mainfrom
feat/guarddog-scanner

Conversation

@sandstream

Copy link
Copy Markdown
Owner

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.

Fix: config sections

scan (#65 [scan.tooling]) and air_gap (#85) are valid (in the zod schema) but were missing from KNOWN_SECTIONS → spurious "unknown section" warning on every command. Added both.

Verify

  • scoped tsc clean; 15 new/affected tests green (guarddog 7 + config); confirmed guarddog npm verify … --output-format=json is a valid command (not a dead one). Board: guarddog shows as opt-in skip; no more [scan] warning.

🤖 Generated with Claude Code

…/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>
@github-actions

Copy link
Copy Markdown

✅ Docker image built successfully

  • CLI image: docker.io/sandstream/kit:test

@sandstream
sandstream merged commit e8bf268 into main Jun 24, 2026
16 checks passed
@sandstream
sandstream deleted the feat/guarddog-scanner branch June 24, 2026 07:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Evaluate GuardDog as kit's local behavioral-malware scanner (local-first Socket replacement)

1 participant