MAL-2026-3181 Malicious code in period-newline (npm)

Malicious package Published
Package
period-newline
Registry
npm

What is MAL-2026-3181?

MAL-2026-3181 is a malicious package in period-newline, published on 29 Apr 2026.

Official description

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.

The package period-newline was found to contain malicious code.

What should I do about MAL-2026-3181?

Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.

Sources

Is MAL-2026-3181 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free