You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
guarddog: too slow for the check budget — needs nightly CI job or per-package@version cache #205
guarddog (malware) is opt-in and installed, but even on kit's own 12 direct deps a guarddog npm verify package.json run takes ~5 minutes (~25s/package: tarball download
per-package semgrep heuristics). kit's check timeout is 300s, and the current target
is package-lock.json (12,546 packages) — guaranteed timeout, so the check honestly
reports "returned no results — UNVERIFIED" every time. Loud, but never useful.
Proposal
Target direct deps — swap candidate order to package.json first; transitives are
covered by bumblebee + osv-scanner. Say so in the detail line.
Per-package@version verdict cache (~/.kit/guarddog-cache.json): only new/changed
direct deps are scanned, so steady-state runs are seconds. Cache hit = verified-at
timestamp in the detail (no false "just scanned" claim).
Nightly CI job in security.yml runs the full uncached sweep with a generous timeout,
so the deep scan happens continuously without taxing the local gate.
Found while root-causing the not-run rows in kit coverage --verify (4.0.0).
Activity