Skip to content

build(supply-chain): refresh the Socket baseline to 0.8.4 and move the badge with it - #226

Merged
lnorton89 merged 2 commits into
mainfrom
chore/socket-baseline-0.8.4
Nov 26, 2026
Merged

lnorton89 merged 2 commits into
mainfrom
chore/socket-baseline-0.8.4

Conversation

@lnorton89

Copy link
Copy Markdown
Collaborator

Summary

Closes #220. The README's Socket badge named 0.8.3 while 0.8.4 was published. The badge follows the Socket baseline, so this moves both and adds a test that keeps them together.

  • Baseline: Socket CLI deep score of the published metaplate@0.8.4, captured 2026-11-25. The importer, the disposition verifier, and their tests move from 0.8.3 to 0.8.4.
  • Alerts:
    • string.prototype.codepointat@0.2.1 (high, under the Satori peer) carries over.
    • The tslib@2.9.1 ownership alert no longer appears.
    • New: obfuscatedFile (high) on caniuse-lite@1.0.30001828, reached through the optional next peer and development tooling. A diff of the 1.0.30001809 and 1.0.30001828 tarballs shows a new run-length data encoding with documented decoders: no eval, Function, network, filesystem, child_process, or process.env use. It was published by GitHub Actions with SLSA v1 provenance. It is accepted with evidence, expiring 2027-04-30. The development-only lockfile entry moves to 1.0.30001828 so the disposition covers the resolved version.
    • No critical alert.
  • Badge: it now names 0.8.4. A new repository test fails when the badge and socket-score-report.json name different versions; I checked that it fails with the old badge.

These changes were split out of the 0.9.0 release preparation, so #220 closes now rather than with the release.

Test plan

  • node scripts/supply-chain/verify-socket-dispositions.mjs: 2 alerts, complete
  • npm run check:dependencies
  • npx vitest run tests/repo: 115 passed
  • CI

…e badge with it

Import the Socket CLI deep score of the published metaplate@0.8.4
(socket package score npm metaplate@0.8.4 --json, captured 2026-11-25, raw
export sha256 374985ebce825156c6235ab3bcb698e28fc8e39297591e0355a0db6a9b125fd8)
and move the importer, disposition verifier, and their tests from 0.8.3 to
0.8.4.

string.prototype.codepointat@0.2.1 carries over. The tslib@2.9.1 ownership
alert no longer appears. A new high obfuscatedFile alert on
caniuse-lite@1.0.30001828 is dispositioned with evidence: a tarball diff
against 1.0.30001809 shows a new run-length data encoding and rewritten
decoders with no dynamic code, network, filesystem, or environment access,
published with SLSA provenance. The lockfile moves the development-only
caniuse-lite to 1.0.30001828 so the disposition covers the resolved version.
No critical alert.

The README Socket badge still named 0.8.3. It now names the release the
baseline certifies, and a repository test fails when the badge and
socket-score-report.json disagree, so the two cannot drift apart again.

Closes #220
@lnorton89
lnorton89 merged commit f20b5c3 into main Nov 26, 2026
12 checks passed
@lnorton89
lnorton89 deleted the chore/socket-baseline-0.8.4 branch November 26, 2026 04:23
@lnorton89 lnorton89 mentioned this pull request Nov 26, 2026
2 of 3 tasks
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.

Docs: README Socket badge is pinned to 0.8.3 while 0.8.4 is published

1 participant