{"id":"MAL-2026-10778","revision":"ae5433345a624cfaa964ff544382069a","records":[{"revision":"ae5433345a624cfaa964ff544382069a","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-10778","aliases":[],"title":"Malicious code in relativity-pdfjs-dist (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (542f0656a76929fa6bd11c9d8ff36f9f69c5865f46d835b8c707a803d71aa55f)\npackage.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.\n\n## Source: ossf-package-analysis (c48b9caf30af59020f36b25fb13fb54db5754b9d8ad311f857843171cc88915a)\nThe OpenSSF Package Analysis project identified 'relativity-pdfjs-dist' @ 5.8.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","state":0,"publishedAt":"2026-07-18T09:05:46+00:00","modifiedAt":"2026-08-04T23:05:26.1517306+00:00","affected":[{"ecosystem":"npm","name":"relativity-pdfjs-dist","ranges":[],"versions":["5.8.2","99.9.9"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/relativity-pdfjs-dist/v/99.9.9","https://www.npmjs.com/package/relativity-pdfjs-dist/v/5.8.2"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-10778","license":"OSV · upstream source license applies","key":"osv:MAL-2026-10778","identifiers":["MAL-2026-10778"]},"retained":false,"historicalAffected":[]}],"coverage":[]}