{"id":"GHSA-39vr-m6q2-vq5c","kind":"package","aliases":["GHSA-39vr-m6q2-vq5c","MAL-2026-3181"],"related":[],"title":"Malicious code in period-newline (npm)","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.\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\n## Source: ghsa-malware (73d17e552958683be0e4ebc1e32adcfb357993bbd6ee2f0555431b910517758e)\nAny 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.","summary":null,"severity":"critical","cvss":null,"epss":null,"exploited":false,"exploited_at":null,"products":[{"name":"period-newline","note":"all versions","fixed":[],"affected":"","ecosystem":"npm"}],"ecosystems":["npm"],"tags":["malicious","package"],"not_affected_if":[],"how_to_check":null,"fix":null,"status":"open","published_at":"2026-04-29T12:00:00+00:00","first_seen_at":"2026-11-10T18:23:10+00:00","triaged_at":"2026-11-10T18:26:19+00:00","updated_at":"2026-11-10T18:26:19+00:00","category":"package","confidence":null,"triage":null,"analyst_status":null,"analyst_note":null,"search":"'-2026':14A '-3181':15A '39vr':10A,18A '73d17e552958683be0e4ebc1e32adcfb357993bbd6ee2f0555431b910517758e':129C '8767021a9be7ca72d7ce96c66b0908ab5750ac7e7e9e6e1d4dab952d5f3028f9':113C 'actor':32C,87C 'amazon':111C 'amazon-inspector':110C 'attack':47C 'auth':63C 'aw':58C,81C 'aws-host':80C 'benign':36C 'c2':83C 'campaign':48C,94C 'chain':46C 'chrome':64C 'code':2A,124C 'collect':55C 'compromis':143C 'comput':131C,151C,159C,171C 'consid':141C 'contain':122C 'control':168C 'credenti':59C 'detail':102C 'differ':158C 'docker':62C 'edit':105C 'entiti':179C 'env':67C 'exfiltr':72C 'file':68C 'format':39C 'found':120C 'full':167C 'fulli':142C 'ghsa':9A,17A,127C 'ghsa-39vr-m6q2-vq5c':8A,16A 'ghsa-malwar':126C 'git':70C 'given':175C 'guarante':183C 'histori':71C 'host':82C 'immedi':155C 'imperson':34C 'inspector':112C 'instal':136C,195C 'key':57C,147C 'line':108C 'login':66C 'm6q2':11A,19A 'mal':13A 'malici':1A,24B,26C,123C,191C 'malwar':128C 'may':172C 'newlin':6A,118C 'newline':23A 'npm':7A,27C 'npmrc':60C 'onchain':52C,98C 'outsid':178C 'packag':25B,28C,115C,135C,161C,187C 'part':41C,90C 'per':100C 'period':5A,22A,117C 'period-newlin':4A,116C 'period-newline':21A 'publish':29C,84C 'raw':75C 'redeem':51C,97C 'redeem-onchain-sdk':50C,96C 'remov':164C,185C,189C 'result':193C 'rotat':154C 'run':138C 'ryanmccollum1':33C,88C 'save':65C 'sdk':53C,99C 'secret':145C 'socket':77C 'softwar':192C 'sourc':101C,109C,125C 'ssh':56C 'store':148C 'suppli':45C 'tcp':76C 'text':38C 'text-format':37C 'threat':31C,86C 'token':61C 'util':40C 'vq5c':12A,20A","nicknames":[],"mitigations":[],"who_affected":null,"tier":null,"verified":{},"analyst_revisit_at":null,"fix_status":null,"audience":null,"plain_action":null,"pkeys":["periodnewline"],"ptokens":["newline","period"],"labels":["critical","malicious","npm","package"],"campaign_type":null,"search_a":"'-2026':14A '-3181':15A '39vr':10A,18A 'code':2A 'ghsa':9A,17A 'ghsa-39vr-m6q2-vq5c':8A,16A 'm6q2':11A,19A 'mal':13A 'malici':1A 'newlin':6A 'newline':23A 'npm':7A 'period':5A,22A 'period-newlin':4A 'period-newline':21A 'vq5c':12A,20A","search_b":"'malici':24B 'packag':25B","search_c":"'73d17e552958683be0e4ebc1e32adcfb357993bbd6ee2f0555431b910517758e':129C '8767021a9be7ca72d7ce96c66b0908ab5750ac7e7e9e6e1d4dab952d5f3028f9':113C 'actor':32C,87C 'amazon':111C 'amazon-inspector':110C 'attack':47C 'auth':63C 'aw':58C,81C 'aws-host':80C 'benign':36C 'c2':83C 'campaign':48C,94C 'chain':46C 'chrome':64C 'code':124C 'collect':55C 'compromis':143C 'comput':131C,151C,159C,171C 'consid':141C 'contain':122C 'control':168C 'credenti':59C 'detail':102C 'differ':158C 'docker':62C 'edit':105C 'entiti':179C 'env':67C 'exfiltr':72C 'file':68C 'format':39C 'found':120C 'full':167C 'fulli':142C 'ghsa':127C 'ghsa-malwar':126C 'git':70C 'given':175C 'guarante':183C 'histori':71C 'host':82C 'immedi':155C 'imperson':34C 'inspector':112C 'instal':136C,195C 'key':57C,147C 'line':108C 'login':66C 'malici':26C,123C,191C 'malwar':128C 'may':172C 'newlin':118C 'npm':27C 'npmrc':60C 'onchain':52C,98C 'outsid':178C 'packag':28C,115C,135C,161C,187C 'part':41C,90C 'per':100C 'period':117C 'period-newlin':116C 'publish':29C,84C 'raw':75C 'redeem':51C,97C 'redeem-onchain-sdk':50C,96C 'remov':164C,185C,189C 'result':193C 'rotat':154C 'run':138C 'ryanmccollum1':33C,88C 'save':65C 'sdk':53C,99C 'secret':145C 'socket':77C 'softwar':192C 'sourc':101C,109C,125C 'ssh':56C 'store':148C 'suppli':45C 'tcp':76C 'text':38C 'text-format':37C 'threat':31C,86C 'token':61C 'util':40C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2026-04-29T12:00:00+00:00","kev":null,"cvss_vector":null,"cvss_by":null,"poc_count":0,"sources":[{"source":"osv-malicious","external_id":"MAL-2026-3181","url":"https://osv.dev/vulnerability/MAL-2026-3181","severity":"critical","published_at":"2026-04-29T12:00:00+00:00","modified_at":"2026-11-10T17:30:29+00:00","first_seen_at":"2026-11-10T18:23:10+00:00","fetched_at":"2026-11-10T18:23:10+00:00","note":null}],"documents":[],"disclosures":[],"exploit_sources":[],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}