---
id: "GHSA-39vr-m6q2-vq5c"
page: "https://infrastack.ai/live/GHSA-39vr-m6q2-vq5c"
kind: "package"
aliases: ["GHSA-39vr-m6q2-vq5c", "MAL-2026-3181"]
title: "Malicious code in period-newline (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "period-newline", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-04-29T12:00:00+00:00"
first_seen_at: "2026-11-10T18:23:10+00:00"
updated_at: "2026-11-10T18:26:19+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-3181", "first_seen_at": "2026-11-10T18:23:10+00:00"}]
exploit_sources: []
---

# Malicious code in period-newline (npm)

Link for people: https://infrastack.ai/live/GHSA-39vr-m6q2-vq5c (this .md is for agents)

## Affected

- npm:period-newline affected range not listed fixed no fixed version listed

## Timeline

- 2026-11-10T18:23:10+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-3181

## From the sources

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.

---
_-= Per source details. Do not edit below this line.=-_

## 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.

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
