MAL-2026-3181
Dashboard / Malicious Package / MAL-2026-3181
MAL-2026-3181
Summary: Malicious code in period-newline (npm)
Details: Malicious npm package published by threat actor "ryanmccollum1" impersonating a benign text-formatting utility. Part of the same supply chain attack campaign as redeem-onchain-sdk, which collects SSH keys, AWS credentials, .npmrc tokens, Docker auth, Chrome saved logins, .env files, and git history, exfiltrating over a raw TCP socket to an AWS-hosted C2. Published by threat actor "ryanmccollum1" as part of the same campaign as redeem-onchain-sdk. Source: amazon-inspector (8767021a9be7ca72d7ce96c66b0908ab5750ac7e7e9e6e1d4dab952d5f3028f9) The package period-newline was found to contain malicious code. Source: ghsa-malware (73d17e552958683be0e4ebc1e32adcfb357993bbd6ee2f0555431b910517758e) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
References: https://safedep.io/redeem-onchain-sdk-polymarket-npm-malware/, https://github.com/advisories/GHSA-39vr-m6q2-vq5c
Affected packages
Package
Name: period-newline
Purl: pkg:npm/period-newline
Affected ranges
Type: SEMVER
Events:
