News for hackers. Stuff that matters.
Re:Embedded Malicious Code in node-ipc by kevinsundar on Sunday March 20, 2022 @05:03PM (#30746595)
Upgrade to the latest version only after its been available for 7 days. Obviously this won't work if everyone starts doing it.
Re:Embedded Malicious Code in node-ipc by RKearney on Sunday March 20, 2022 @05:09PM (#30746647)
Wasn't SolarWinds compromised for 6+ months? 7 days doesn't sound like enough time. Although maybe that's not a good comparison as this was open source and SolarWinds is closed source.

I remember watching a Walmart talk on Node.js and how they vet every single update to every single module before they pull it into their internal repository for internal distribution. Perhaps the answer is to stop blinding pulling down dependancies from the internet?

Re:Embedded Malicious Code in node-ipc by kadoban on Sunday March 20, 2022 @05:20PM (#30746758)
It's also about threat models, who you're trying to realistically protect yourself from. Some solo idiot with a political cause, not particularly targetting you? Waiting a week before using a new version is probably good enough. A government specifically targetting you? Likely nowhere near good enough. There's a lot in between of course.
Re:Embedded Malicious Code in node-ipc by 41b696ef1113 on Sunday March 20, 2022 @05:59PM (#30747119)
>...Walmart talk on Node.js and how they vet every single update to every single module...

Most organizations are not as big as Walmart?

However, if the Walmarts/FANGS/etc with huge mega teams would publish their audited versions, that would be something. However, that seems like a liability without any potential gain for the mega teams.

Re:Embedded Malicious Code in node-ipc by jahewson on Sunday March 20, 2022 @05:06PM (#30746622)
But what happens when the latest version fixes a zero-day? Stay vulnerable for a week?
Re:Embedded Malicious Code in node-ipc by bastijn on Sunday March 20, 2022 @05:20PM (#30746764)
In the hypothetical case all versions but the newest are vulnerable and the zero-day is also a problem in your specific deployment: manual tool validation is what should happen. Usually after a quick check if the package can be replaced easily.