Skip to content

[sec] Fix npm registry — replace public registry with CodeArtifact#72

Open
revisai[bot] wants to merge 1 commit into
mainfrom
sec/fix-npm-registry
Open

[sec] Fix npm registry — replace public registry with CodeArtifact#72
revisai[bot] wants to merge 1 commit into
mainfrom
sec/fix-npm-registry

Conversation

@revisai
Copy link
Copy Markdown

@revisai revisai Bot commented May 21, 2026

What was detected

This repository ships configuration that resolves npm packages from the public
registry (registry.npmjs.org), exposing builds to supply-chain attacks.

Files changed by this PR

  • .npmrc (create)

After merging

Regenerate and commit your lockfile (npm install / yarn install / pnpm install) so it
resolves packages from CodeArtifact, not the public registry.

Why this matters

The public npm registry exposes the supply chain to dependency confusion, package hijacking,
and malicious package injection — any of which can silently compromise builds and production.
Migrating to the internal CodeArtifact mirror eliminates that exposure.


Questions? Reach out on #squad-application-security.

@revisai revisai Bot requested a review from a team as a code owner May 21, 2026 18:23
@revisai revisai Bot requested a review from lmassaoy May 21, 2026 18:23
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.

0 participants