gbhackers.comยท28 october 2026

Malicious npm Campaign Hijacks 42 GitHub Repositories to Steal Credentials and Spread Malware

Image for the article: Malicious npm Campaign Hijacks 42 GitHub Repositories to Steal Credentials and Spread Malware
Image via gbhackers.com

Researchers discovered 42 weaponized GitHub repositories in the testmetest npm campaign, linked to 11 legitimate owners. The campaign involved credential theft, malicious package publishing, and execution hooks in developer tools. Attackers used oversized payload wrappers, forged commit histories, and workflows masquerading as CodeQL scans. The worm harvested credentials, modified repositories, and propagated through package registries, with some packages executing payloads without explicit developer commands.