Advisory

MAL-2026-10778

Also known as: None

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

Summary

Malicious code in relativity-pdfjs-dist (npm)

Details

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

Source: amazon-inspector (542f0656a76929fa6bd11c9d8ff36f9f69c5865f46d835b8c707a803d71aa55f)
package.json declares a preinstall script that runs node -e inline JavaScript on npm install. The inline code collects the installer's hostname, username, current working directory, npm registry configuration, CI environment markers (CI, GITHUB_REPOSITORY, JENKINS_URL), and platform, base64-encodes the JSON, and sends it as an HTTPS GET query parameter to 9u4hlcu3febavvzbrqulpuwf66cy0qof.oastify.com, a Burp Collaborator out-of-band exfiltration endpoint. The package name resembles the legitimate pdfjs-dist package and the version number 99.9.9 is a dependency-confusion pattern intended to outrank an internal package of the same name.

Source: ossf-package-analysis (c48b9caf30af59020f36b25fb13fb54db5754b9d8ad311f857843171cc88915a)
The OpenSSF Package Analysis project identified 'relativity-pdfjs-dist' @ 5.8.2 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
  • The package executes one or more commands associated with malicious behavior.

Severity

Not rated by the source.

Dates

Published
2026-07-18 09:05 UTC
Modified
2026-08-04 23:05 UTC

Affected packages and fixes

relativity-pdfjs-dist

npm · All systems

Affected

  • Versions: 5.8.2, 99.9.9

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