Packagist Supply Chain Attack Infects 8 Packages Using GitHub-Hosted Linux Malware
Summary: A coordinated supply chain campaign hit eight Packagist Composer packages, with malicious code inserted not into composer.json but into package.json, targeting projects that ship JavaScript build tooling alongside PHP code. The modified upstream repositories added a postinstall script that downloaded a Linux binary from a GitHub Releases URL, saved it to /tmp/.sshd, ran chmod to grant execute permissions to all users, and launched it in the background; the malicious versions have since been removed from Packagist.
Bottom line: Socket found references to the same payload across 777 files on GitHub, and in at least two instances it was placed in a GitHub workflow to run during Actions jobs - so the reach of this campaign is not limited to the eight packages already pulled.
Read the original at The Hacker News ↗
- Topics
- Supply Chain & AppSec
- Related
- Kitesurf is now open source Cyber Risks · Nov 13, 2026Trained to betray: How post-training supply chain attacks hijack coding agents Cyber Risks · Nov 12, 2026ZDI-26-913: (0Day) Meta fairseq load_audio_path Code Injection Remote Code Execution Vulnerability Cyber Risks · Nov 11, 2026