Skip to content

feat: install-time supply-chain triage kit supply-chain → 1.17.0 (#49) - #56

Merged
sandstream merged 1 commit into
mainfrom
feat/supply-chain-triage-49
Jun 23, 2026
Merged

sandstream merged 1 commit into
mainfrom
feat/supply-chain-triage-49

Conversation

@sandstream

Copy link
Copy Markdown
Owner

kit supply-chain — four deterministic, local-first checks over package.json + package-lock.json (no network, no node_modules walk):

  • install-scripts — deps that run pre/post/install (lockfile hasInstallScript); the classic execution vector.
  • lockfile-drift — declared deps missing from the lockfile + packages resolved from a non-registry http/git source.
  • dep-confusion — a dep under a declared [supply_chain] internal_scopes entry that the lockfile resolves from the public registry.
  • slopsquat — a dep name ≤1 Damerau-Levenshtein edit (incl. transposition, lodahs→lodash) from a bundled top-npm corpus.

Pure check functions, fixture-tested (10 tests). Adds [supply_chain] internal_scopes config.

Closes #49

🤖 Generated with Claude Code

…rift, dep-confusion, slopsquat (#49) → 1.17.0

New `kit supply-chain` (+ src/supply-chain.ts): four deterministic, local-first
checks over package.json + package-lock.json:
- install-scripts: deps with pre/post/install (lockfile hasInstallScript)
- lockfile-drift: declared deps missing from lock + non-registry resolved sources
- dep-confusion: internal-scoped dep ([supply_chain] internal_scopes) resolved
  from the PUBLIC registry
- slopsquat: name ≤1 Damerau edit (incl. transposition) from a bundled top-npm
  corpus

Pure functions fixture-tested (10 tests). No network, no node_modules walk.

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 59289ab into main Jun 23, 2026
16 checks passed
@sandstream
sandstream deleted the feat/supply-chain-triage-49 branch June 23, 2026 08:16
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.

Install-time supply-chain triage checks (install-scripts, dep-confusion, slopsquat, lockfile drift)

1 participant