Advisory

MAL-2026-4600

Also known as: GHSA-7vwr-8v2c-gjvr

Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.

Summary

Malicious code in loading-session (npm)

Details

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

Source: amazon-inspector (640bfe1e0b6627e78ec34ef2d97df0d5d29d912446883f284c15935cc8f6f996)
Package advertises itself via a verbatim copy of pino's README, docs/, and index.d.ts (TypeScript types and documentation are pino's), but index.js does not implement a logger. The exported middleware unconditionally calls a helper that spawns node./lib/caller.js with detached: true, stdio: 'ignore', and child.unref() on every invocation (index.js lines 31-37), disconnecting the child from the parent's stdout/stderr. The referenced lib/caller.js is absent from this version's tarball, so the spawn fails at runtime today, but the launcher shape is structurally a dropper. Shipped alongside is lib/const.js, which stores base64-wrapped fields under credential-shaped names (DEV_API_KEY, DEV_SECRET_KEY, DEV_SECRET_VALUE); the DEV_API_KEY value decodes to an anonymous JSON-storage URL on api.jsonstorage.net, a host commonly abused for mutable second-stage payload delivery and exfiltration. The combination — pino documentation deception used as cover, covert detached child-process launcher in the only exported function, and a base64-obfuscated anonymous-storage endpoint with credential-shaped siblings — is the staging shape of a dropper/C2 client, not a logger.

Source: ghsa-malware (21c816f86c4c9a13a7e36fb8b577c766cc64f25ab53466d6f12feeb91e0c4524)
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.

Severity

Not rated by the source.

Dates

Published
2026-05-23 00:12 UTC
Modified
2026-06-01 14:31 UTC

Affected packages and fixes

loading-session

npm · All systems

Affected

  • introduced 0 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: OpenSSF Malicious Packages · Apache-2.0

Sources & licences