NetSight
criticalMalware report

GHSA-5fv6-9w6w-23xh

Malicious code in @h1stealthy/gh046-npm-transfer-9421a2 (npm)

Impact

## Source: amazon-inspector (ec2a4a7ce4ac73e7b796fdeb7b7120c5f09866284eb37e3b3a58d254363f2aba) The npm tarball ships directory entries whose names are double-URL-encoded `..` sequences (`%252e%252e/%252e%252e/%252e%252e/tmp/npm-traversal-double_percent`) terminating in a file dropped at `/tmp/npm-traversal-double_percent` outside the package's own install directory. On a tar extractor that single-decodes percent-encoding before applying path-safety checks, extraction of this archive writes attacker-chosen files to absolute filesystem paths on the installer host during `npm install`. The shipped JavaScript is an inert stub and no lifecycle scripts are declared; the attack surface is the archive layout itself, exercised by the package manager's extraction step. Package naming (`@h1stealthy/...-transfer-...`) and the marker payload are consistent with a controlled traversal probe, but the artifact as published is structurally a path-traversal (zip-slip-style) tar against npm clients. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/6306efcd2e5165329b81a44593e5176ac396d59b/osv/malicious/npm/@h1stealthy/gh046-npm-transfer-9421a2/MAL-2026-20190.json))

Affected packages

EcosystemPackageAffectedFixed in
npm@h1stealthy/gh046-npm-transfer-9421a2= 0.0.386387none recorded
npm@h1stealthy/gh046-npm-transfer-9421a2= 0.0.386388none recorded
npm@h1stealthy/gh046-npm-transfer-9421a2= 0.0.95891none recorded

Weakness classification

References