Skip to content

Route CI dependency installs through Socket Firewall registry#179

Merged
DecIntercom merged 1 commit into
masterfrom
socket-firewall-coverage
Jun 10, 2026
Merged

Route CI dependency installs through Socket Firewall registry#179
DecIntercom merged 1 commit into
masterfrom
socket-firewall-coverage

Conversation

@DecIntercom

Copy link
Copy Markdown
Contributor

Why?

Part of a CI supply-chain hardening effort: dependency installs should be scanned by Socket Firewall before they're fetched. This repo's CI ran yarn install directly from the public npm registry with no such scanning.

How?

Adds an .npmrc pointing yarn at the Socket Firewall registry, with the token injected at runtime via the socket-firewall CircleCI context — no credential committed — plus a verify step that fails the build if installs aren't routed through Socket. All dependencies are public, so no scoped-registry exception is needed.

Generated with Claude Code

Points yarn at the Socket Firewall registry so CI dependency installs are
scanned for supply-chain risk before fetch. Auth is injected at runtime via
the socket-firewall CircleCI context — no credential committed.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@DecIntercom DecIntercom enabled auto-merge (squash) June 10, 2026 13:53
@DecIntercom DecIntercom merged commit 744693f into master Jun 10, 2026
4 checks passed
@DecIntercom DecIntercom deleted the socket-firewall-coverage branch June 10, 2026 13:53
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.

2 participants