{"id":"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.\n\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (8767021a9be7ca72d7ce96c66b0908ab5750ac7e7e9e6e1d4dab952d5f3028f9)\nThe package period-newline was found to contain malicious code.\n","modified":"2026-04-30T23:10:46.934296Z","published":"2026-04-29T12:00:00Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-04-30T22:23:13.914364807Z","modified_time":"2026-04-30T21:59:18Z","sha256":"8767021a9be7ca72d7ce96c66b0908ab5750ac7e7e9e6e1d4dab952d5f3028f9","source":"amazon-inspector","versions":["0.1.0"]}]},"references":[{"type":"REPORT","url":"https://safedep.io/redeem-onchain-sdk-polymarket-npm-malware/"}],"affected":[{"package":{"name":"period-newline","ecosystem":"npm","purl":"pkg:npm/period-newline"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.0"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/period-newline/MAL-2026-3181.json"}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"SafeDep","contact":["https://safedep.io"],"type":"FINDER"}]}