✓ Works 100% in your browser — no download required.Engineering & DevOps$0 Local-Only Safe

Package Lockfile Levenshtein Typosquatting & Dependency-Confusion Gate

Checks newly added npm/PyPI/Cargo dependencies locally via Damerau-Levenshtein edit distance (`<= 2`) and scope-namespace rules to block typosquatted supply-chain packages.

Run Workflow in Browser →Run via /api/v1 Clearinghouse

Governed Workflow Steps (3)

  1. 1. Extract Newly Added Package Names &

    Extract Newly Added Package Names & Registry Scopes From Diff: consume [addedPackages, trustedCorpus] via ingest.local_lockfile_diff_extractor to emit [packageCandidates]. Verify invariant: packageCandidates.length > 0.

  2. 2. Compute Levenshtein Distance,

    Compute Levenshtein Distance, Homoglyphs & Scope Mismatches: consume [packageCandidates, trustedCorpus] via vault.vault-sbom-levenshtein-typosquat-scanner to emit [typosquatFlags, confusionFlags]. Verify invariant: Array.isArray(typosquatFlags).

  3. 3. Enforce Fail-Closed Merge Block on

    Enforce Fail-Closed Merge Block on Distance-1/2 Impersonators: consume [typosquatFlags, confusionFlags] via oracle.supply_chain_typosquat_oracle to emit [gateVerdict]. Verify invariant: gateVerdict === "PASS" || typosquatFlags.length > 0.

Related Engineering & DevOps Workflows

PR Diff → Line-Referenced Security & Risk Brief
Audit code diffs locally for auth bypass, injection, concurrency bugs, and missing tests w
Outage Timeline → Blameless Postmortem & Jira
Synthesize incident chat logs into a blameless 5-Whys postmortem and gate Jira follow-up c
Merged Commits → Release Notes & GitHub Gate
Group commits into customer-readable release notes with breaking-change alerts and gated p
Lockfile CVE Scan → Patch Priority Matrix
Triage advisory lists by real reachability and CVSS severity to eliminate false-positive u
On-Call Alert Log → Noise Reduction & Runbook Map
Analyze weekly pager exports to surface flapping alerts, threshold fixes, and missing auto
Design RFC Notes → Structured ADR & Rollback Plan
Turn rough architecture notes into a formal ADR covering trade-offs, failure modes, and ro