Top stories.
- New self-replicating malware infects npm packages.
- Microsoft seizes websites used by RaccoonO365 phishing kit.
- BreachForums founder resentenced to three years in prison.
New self-replicating malware infects npm packages.
A new supply chain attack campaign has compromised more than 180 npm packages with a self-replicating malware, SecurityWeek reports. Researchers at JFrog, Orca Security, Wiz, Palo Alto Networks, Arctic Wolf, and others are tracking the campaign. One of the infected packages, @ctrl/tinycolor, has more than two million weekly downloads, while others, including ngx-bootstrap and ng2-file-upload, receive hundreds of thousands of downloads per week.
Orca explains, "A function called NpmModule[.]updatePackage was inserted into the affected packages to perform several actions: download a package tarball, modify package.json, inject a local script (bundle.js), repack the archive, and republish it. This means any other packages or apps that use the newly published packages automatically get infected too." The researchers add that the apparent goal of the campaign is to "find secrets on developer machines, such as GITHUB_TOKEN, NPM_TOKEN, AWS_ACCESS_KEY_ID, and AWS_SECRET_ACCESS_KEY, using TruffleHog’s credential scanner, and publishing the collected secrets to a public GitHub repository called 'Shai-Hulud.'"

