Skip to content

Harden npm installs from supply chain attacks - #946

Open
IgorSteps wants to merge 1 commit into
mountebank-testing:masterfrom
IgorSteps:igor/harden-against-supply-chain-attacks
Open

Harden npm installs from supply chain attacks#946
IgorSteps wants to merge 1 commit into
mountebank-testing:masterfrom
IgorSteps:igor/harden-against-supply-chain-attacks

Conversation

@IgorSteps

Copy link
Copy Markdown

Summary

Nowadays supply chain attacks are more prevalent than ever and it would be a shame to be attacked via Mountebank, hence why it makes sense to implement several of best practices from https://github.com/lirantal/npm-security-best-practices.

Changes

  • Sets minimum age of packages that can be installed to 7 days.
  • Disables any installation scripts.
  • Disallows git based dependencies.

@sonarqubecloud

sonarqubecloud Bot commented Aug 7, 2026

Copy link
Copy Markdown

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.

1 participant