Malicious Postinstall Hook Found in 700 GitHub Repos, Including Node Projects

882542F3884314B 11 points 4 comments May 23, 2026
socket.dev · View on Hacker News

Discussion Highlights (4 comments)

gnabgib

All Composer packages (but the malicious part is in the node dependency) Effected* > Use effect as a noun to refer to a change resulting from something.

tedchs

How many more examples of malware postinstall scripts do we need before Node quits running them by default, without warning?

nullsex

Title is somewhat misleading. "Node projects" mean projects using nodejs as opposed to projects under the Node.js org.

kspetkov79

Postinstall hooks are a footgun. The bad part here is that people reviewing a PHP package may not even look closely at package.json.

Semantic search powered by Rivestack pgvector
8,303 stories · 78,303 chunks indexed