That Shai-Hulud npm worm has now reached 500 packages: socket.dev/blog/ongoing-supply…
Also, doesn't seem to run on Windows (via Step Security)
reshared this
That Shai-Hulud npm worm has now reached 500 packages: socket.dev/blog/ongoing-supply…
Also, doesn't seem to run on Windows (via Step Security)
reshared this
Matt Palmer
in reply to Catalin Cimpanu • • •VessOnSecurity
in reply to Catalin Cimpanu • • •Zeph!
in reply to Catalin Cimpanu • • •I'm advising developers to disable postinstall scripts by default, there are a couple of ways of doing this but you can set up an allowlist with yarn like so:
# .yarnrc.yml
enableScripts: false
# Allowlist for specific packages that need scripts to function
packageExtensions:
# Example: A native module that needs a build script
"node-sass@*":
enableScripts: true