▲ | aj_g 3 days ago | ||||||||||||||||||||||
Anyone have a good solution to scan all code in our Github org for uses of the affected packages? Many of the methods we've tried have dead ended. Inability to reliably search branches is quite annoying here. | |||||||||||||||||||||||
▲ | cube00 3 days ago | parent | next [-] | ||||||||||||||||||||||
If you have tens of thousands of repos with branches to match you'll be scanning all year. Proxy NPM with something like Artifactory which stops the bad package getting back in or ending up in any new builds. Follow it up with endpoint protection to weed the package out of the local checked out copies and .npm on the individual dev boxes. | |||||||||||||||||||||||
▲ | 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
[deleted] | |||||||||||||||||||||||
▲ | ozim 3 days ago | parent | prev | next [-] | ||||||||||||||||||||||
Have you tried Dependency Track from OWASP? Generate SBOM from each repo/projects and post it with API to DT and you have full overview. You have to hook it up so it is done automatically because of course stuff will always move. | |||||||||||||||||||||||
▲ | ankit_mishra 2 days ago | parent | prev | next [-] | ||||||||||||||||||||||
npm audit - will tell you if there's any packages with known vulnerabilities. https://docs.npmjs.com/cli/v11/commands/npm-audit I'd imagine it's considerably slower than search, but hopefully more reliable. | |||||||||||||||||||||||
▲ | TZubiri 3 days ago | parent | prev [-] | ||||||||||||||||||||||
Any junior engineer should be able to solve this with grep in an afternoon. | |||||||||||||||||||||||
|