/verify-supply-chain
Run the supply-chain verification surface in one shot.
Usage
/verify-supply-chain # quick: verify current install against shipped manifest
/verify-supply-chain --emit # generate SBOM + manifest in cwd
/verify-supply-chain --root /path/to/ecc --manifest /path/to/manifest.json
Behavior
- If a manifest is provided (or the default
manifest.jsonexists in--root), runsverifyagainst it. Reports modified, missing, and extra files. Exits non-zero on any tamper. - If
--emitis set, generates freshkodelyth-ecc-sbom.cdx.jsonandkodelyth-ecc-manifest.jsonin the current directory. - If neither, prints a quick summary of what's available and what to do next.
Flags
| Flag | Effect |
|---|---|
| --root DIR | Treat DIR as the kodelyth-ecc install root (default: package root). |
| --manifest FILE | Path to a manifest to verify against (default: ). |
| --emit | Generate fresh sbom.cdx.json + manifest.json in cwd. |
| --json | Machine-readable output (verify report or generated docs). |
Use cases
- Audit response. Generate fresh SBOM + manifest for a SOC 2 / ISO 27001 review.
- Tamper check. Confirm that an installed copy hasn't been modified after install (matches the manifest shipped with the release).
- Reproducibility check. Compare the manifest of an arbitrary downloaded release archive against the one published on GitHub.
- CI gate. Pair with
--jsonto fail a build when an installed dependency is tampered.
Companion commands
/security-audit— full red-team sweep using the devil-mode crew (focuses on app code)./devil-mode— adversarial review of recent changes./release— release-captain handoff. Should always run/verify-supply-chain --emitbefore tagging.
Hard rules
- Never suppress a non-zero exit from
verify. If a tamper is found, escalate. - Don't publish without the SBOM + manifest attached to the GitHub release. The publish workflow handles this automatically.
- Treat the on-release manifest as authoritative — don't substitute a freshly-generated one when verifying a customer's install.
Implementation
Backed by:
scripts/supply-chain/sbom.js— CycloneDX 1.5 generatorscripts/supply-chain/manifest.js— sha256 content manifestscripts/supply-chain/verify.js— pure-function verifier
kodelyth-ecc sbom, kodelyth-ecc manifest, kodelyth-ecc verify. See docs/supply-chain.md for the full reference.