---
id: "GHSA-5hjr-7qfq-x5m5"
page: "https://infrastack.ai/live/GHSA-5hjr-7qfq-x5m5"
kind: "package"
aliases: ["GHSA-5hjr-7qfq-x5m5", "MAL-2026-14483"]
title: "Malicious code in modules-newline (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "modules-newline", "note": "all versions", "fixed": [], "affected": "", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-08-25T08:40:02+00:00"
first_seen_at: "2026-11-11T00:24:19+00:00"
updated_at: "2026-11-11T00:25:31+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-14483", "first_seen_at": "2026-11-11T00:24:19+00:00"}]
exploit_sources: []
---

# Malicious code in modules-newline (npm)

Link for people: https://infrastack.ai/live/GHSA-5hjr-7qfq-x5m5 (this .md is for agents)

## Affected

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

## Timeline

- 2026-11-11T00:24:19+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-14483

## From the sources

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

## Source: amazon-inspector (4c5565e7fd7984da26242b79340fb41f4f4595fdd5fbeb929ff5dfca5b13cc1a)
package.json declares the package's own name, modules-newline, as both a dependency and devDependency pointing to http://pack.nppacks.com/npm/modules-newline instead of the npm registry. On npm install, npm fetches and installs whatever tarball is currently served from that URL, bypassing registry auditing. The URL is plain HTTP (subject to MITM substitution), unpinned (no tag, commit, or integrity hash), and hosted on a non-publisher domain unrelated to npm. Any project that installs this package, directly or transitively, executes code delivered from that external endpoint at install time, including any lifecycle scripts inside the fetched tarball. The shipped index.js is a near-verbatim copy of babel-plugin-transform-define preceded by a comment stating 'This package use for Security Research Testing Purpose.', and the package name does not correspond to the copied plugin's function.

## Source: ghsa-malware (24f31121cb1502118185811b8789ced462350675da336fc0407ec380f6d4209c)
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_
