News for hackers. Stuff that matters.
Re:Npm packages with over 1b weekly downloads, incl. Chalk, ... by behindsight on Monday September 08, 2025 @03:42PM (#45172960)
> How is it possible that this code (line 9 of the index.js) isn't present in the source github repo, but can be seen in the beta feature of npmjs.com

You may also be interested in npm package provenance [1] which lets you sign your npm published builds to prove it is built directly from the source being displayed.

This is something ALL projects should strive to setup, especially if they have a lot of dependent projects.

1: https://github.blog/security/supply-chain-security/introduci...

There are no comments on this comment yet.