I came across this interesting rant the other day: https://github.com/uNetworking/uWebSockets.js/blob/master/mi... It does make sense that the right way would be to fork every dependency you use and install from your own repo reviewing and merging from upstream as needed. Would be a giant PITA though. :)
Malicious npm packages detected across Red Hat Cloud Services
41–50 of 494 posts
Re: Malicious npm packages detected across Red Hat Cloud Services
#42Re: Malicious npm packages detected across Red Hat Cloud Services
#43Earlier quoted context omitted.
The big attacks of today are spread across several package ecosystems: TrapDoor and Shai-Hulud have been hitting npm, pypi, composer, and crates with the same malware.
And all of them "thought" of security as an after-after-after-after-after-thought.
1. Lifecycle Hook Execution
2. CI/CD Identity Plane Attacks
3. Maintainer Account Takeover and Malicious Publish
4. Self-Replicating npm Worms
Re: Malicious npm packages detected across Red Hat Cloud Services
#44Earlier quoted context omitted.
What happens when everyone adopts this policy? You just change it to two weeks?
You rely on the security companies scanning the packages.
Re: Malicious npm packages detected across Red Hat Cloud Services
#45That’s why I switched to Java.
Re: Malicious npm packages detected across Red Hat Cloud Services
#46That’s why I switched to Java.
AbstractFinalFactoryShaiHuludSerialisedFactoryRe: Malicious npm packages detected across Red Hat Cloud Services
#47Chainguard based images, packages and libraries are first line of defense. Expensive? Yes. Foolproof? No. I think these types services will be mandatory in the near future.
Though I would expect that Insights uses RPM packages to ship components and not the public NPM packages.
Re: Malicious npm packages detected across Red Hat Cloud Services
#48Re: Malicious npm packages detected across Red Hat Cloud Services
#49'No Way to Prevent This,' Says Only package manager Where This Regularly Happens Edit: some people don't understand that it's a defence to https://en.wikipedia.org/wiki/%27No_Way_to_Prevent_This,%27_...
Re: Malicious npm packages detected across Red Hat Cloud Services
#50I came across this interesting rant the other day: https://github.com/uNetworking/uWebSockets.js/blob/master/mi... It does make sense that the right way would be to fork every dependency you use and install from your own repo reviewing and merging from upstream as needed. Would be a giant PITA though. :)