2025-08-27 Hacker News Top Articles and Its Summaries
1. Malicious versions of Nx and some supporting plugins were published Total comment counts : 45 Summary An incident where malicious nx versions and related packages were published to npm, containing a postinstall script that scanned the user’s filesystem, collected credentials, and posted them to a GitHub repo tied to the user. The script also altered .zshrc/.bashrc to run a shutdown command. An npm publish token was compromised. After detection, npm removed the affected versions and tokens, and later all Nx packages were restricted to 2FA and switched to a Trusted Publisher mechanism that does not use npm tokens....