Replies: 1 comment 4 replies
-
There’s no built-in npm feature to validate all package-lock.json URLs before install. you can, however, parse the lock file with a custom script to ensure all resolved links match your configured registry a smart way to catch anything suspicious. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to validate registry links in the
package-lock.json
before install?My requirement is to verify that all resolved links originate from the same registry as my local configuration.
It should be helpful to identify those malicious records in the package-lock.json.
Beta Was this translation helpful? Give feedback.
All reactions