Skip to content

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

Closed

Description

@sandstream

Follow-up to #103 (Socket dropped — cloud-only). Socket's unique value was behavioral / install-script / malware heuristics on package source. The local-first equivalent:

GuardDog (DataDog, OSS — github.com/DataDog/guarddog): a CLI that flags malicious npm/PyPI/Go/RubyGems/GitHub-actions/VSCode packages via Semgrep rules on package source + metadata heuristics. Runs locally, no cloud upload — fits kit's local-first model (unlike Socket).

Proposal

Add GuardDog as kit's local behavioral-malware scanner — fills the Socket niche the on-brand way.

Integration options:

  1. kit scan registry (Scanner-runner registry: run external scanners (Snyk/Trivy/Grype/Semgrep/OSV) → merge into one local verdict #62) row — needs a small GuardDog-JSON → SecurityCheckResult adapter (GuardDog emits its own JSON, not SARIF/OSV; like Socket it doesn't fit the existing ingest, so a guarddog format parser is required).
  2. A dedicated checkGuardDog in kit check (mirrors the other scanner checks), mise-resolved (pipx:guarddog), parsing GuardDog JSON.

Notes:

Decision needed: registry row (1) vs dedicated check (2), and default-on vs opt-in (it pulls pipx/Semgrep — heavier).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions