Advisory

MAL-2026-11392

Also known as: GHSA-rg3f-q822-6rx6

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

Summary

Malicious code in switchpaymentsapiserv-paypal (npm)

Details

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

Source: amazon-inspector (cdf45ca375c6a15e134abf2ab456c8cbd75e514d934e2c16b1d2b23e9677186a)
The package's preinstall lifecycle script runs automatically on npm install and exfiltrates installer identity data via DNS. It collects os.userInfo().username, os.hostname(), and process.cwd(), JSON-serializes the values, hex-encodes them, chunks the hex into DNS-label-sized fragments, and issues dns.lookup queries of the form <index>.<chunk>.<tag>.d9jfvjgl8o8s72utl810ktk61s1xmsysr.o.jgl.red. The attacker-controlled authoritative nameserver for *.o.jgl.red reconstructs the payload from the query stream. Using DNS as the exfiltration channel bypasses typical HTTP egress controls and proxy logging. The in-code comment labeling the data as 'non-sensitive' does not match the behavior, which is covert transmission of host, user, and filesystem-path identifiers to a non-first-party domain at install time.

Source: ghsa-malware (12fb976a9e7017cbd4a87769d48e213d81eb350767ba2ab4b7d8653501215daa)
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-07-30 17:44 UTC
Modified
2026-08-04 22:05 UTC

Affected packages and fixes

switchpaymentsapiserv-paypal

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