sigild 0.0.4 → 0.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -154,11 +154,11 @@ Key-management libraries die from supply chain compromise, not from clever attac
|
|
|
154
154
|
- **No MCP SDK.** The official `@modelcontextprotocol/sdk` pulls 92 transitive deps (ajv, hono, cors, cross-spawn, etc) — unacceptable surface. We implement the MCP wire protocol directly in ~200 lines.
|
|
155
155
|
- **No Bun.** Plain Node only. Bun is currently being weaponized by Mini Shai-Hulud as an evasion layer; we will not give that pattern any cover.
|
|
156
156
|
- **Provenance attestations on every npm publish.** Starting v0.0.4, releases are built by [a GitHub Actions workflow](./.github/workflows/release.yml) under OIDC trusted-publisher auth, signed with a Sigstore attestation. No long-lived npm token; tampered or out-of-band publishes fail signature verification.
|
|
157
|
+
- **CycloneDX SBOM attached to every GitHub Release.** Full transitive dep tree enumerated at release time.
|
|
158
|
+
- **Install-scripts CI guard.** Every PR fails if any package in the resolved tree declares `preinstall` / `install` / `postinstall`. `.npmrc` already has `ignore-scripts=true` so these never actually run for us; the guard catches new transitive deps that might run for a user without our `.npmrc`.
|
|
157
159
|
- **Still planned for v0.1.0:**
|
|
158
|
-
- SBOM (CycloneDX) attached to every release
|
|
159
160
|
- Signed standalone binaries from GitHub Releases for users who'd rather not touch npm
|
|
160
161
|
- Action SHA pinning rotation via Dependabot
|
|
161
|
-
- CI guard that fails the build if any dep in the resolved tree declares `postinstall` / `preinstall` / `prepare`
|
|
162
162
|
|
|
163
163
|
## Verifying a release
|
|
164
164
|
|
|
@@ -175,6 +175,14 @@ npm view sigild@<version> dist.attestations
|
|
|
175
175
|
|
|
176
176
|
What the attestation tells you: this tarball was built by `cdrn/sigil`'s `.github/workflows/release.yml`, at a specific commit on `main`, at a specific time. It does *not* tell you that commit is non-malicious — for that, read the diff between the version you trust and the version you're upgrading to. But it does mean an attacker who steals an npm token can't publish a malicious `sigild` under our name; they'd need to compromise the GitHub repo + push a tag, which leaves an audit trail.
|
|
177
177
|
|
|
178
|
+
Every release also publishes a [CycloneDX SBOM](https://cyclonedx.org/) as a GitHub Release asset, enumerating every package (direct + transitive) in the install tree at the version pinned by `package-lock.json`:
|
|
179
|
+
|
|
180
|
+
```sh
|
|
181
|
+
# Download + inspect the SBOM for a specific release:
|
|
182
|
+
gh release download v0.0.4 --repo cdrn/sigil --pattern '*.cdx.json'
|
|
183
|
+
# → produces sigild-v0.0.4.cdx.json — feed to syft/grype/etc. for vuln scan
|
|
184
|
+
```
|
|
185
|
+
|
|
178
186
|
## Threat model
|
|
179
187
|
|
|
180
188
|
See [THREAT_MODEL.md](./THREAT_MODEL.md). Read it before trusting this with anything.
|
package/package.json
CHANGED