Malicious code in ryan-pdf-js (npm)
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c3d966501b5f533318c26b54887cd29b3cd6c9495035a0f74519ba349357e3eb) [email protected] is an empty stub package (index.js exports {}) whose sole purpose is to deliver an off-registry payload at install time. Its package.json declares its only dependency, `ltidisafe`, as a direct HTTPS tarball URL on a generic Google Cloud Storage bucket (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.1.1.tgz) rather than a registry name, bypassing npm registry scanning. On `npm install`, npm fetches and unpacks that tarball, and any lifecycle scripts it contains execute on the installer's machine. The bucket path `depenconf/` is consistent with dependency-confusion staging, and the package name evokes the widely-used pdf.js ecosystem while shipping no real implementation — a typosquat-shaped lure whose only effect is to route installs through the off-registry dropper. ## Source: ghsa-malware (3b26acfcfb972e07369dd35f509acb9463d9fced9d49fc6872abad284bb0a75d) 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.
AI Analysis
Technical Summary
The [email protected] npm package is an empty stub whose sole purpose is to deliver a malicious payload from an off-registry source. Its package.json specifies a dependency fetched directly from a Google Cloud Storage tarball URL, circumventing npm registry scanning. This behavior is consistent with dependency confusion attacks and typosquatting tactics, leveraging a name similar to the popular pdf.js ecosystem to lure victims. Upon installation, lifecycle scripts execute on the victim's machine, potentially granting full system compromise. The package contains no real code and serves only as a dropper for malicious software.
Potential Impact
Any system with [email protected] installed should be considered fully compromised. Attackers may have executed arbitrary code with the privileges of the installer, potentially accessing all stored secrets and keys. Removal of the package alone does not guarantee eradication of the compromise, as additional malware may have been installed. Immediate secret and key rotation from a trusted environment is necessary to mitigate ongoing risk.
Mitigation Recommendations
No official patch or fix is available since this is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to immediately remove [email protected] from all affected systems. All secrets and keys stored on compromised machines should be rotated from a secure, uncompromised environment. Users should avoid installing packages from untrusted sources and verify package authenticity before installation. Monitor for any signs of persistent compromise beyond the package itself.
Malicious code in ryan-pdf-js (npm)
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (c3d966501b5f533318c26b54887cd29b3cd6c9495035a0f74519ba349357e3eb) [email protected] is an empty stub package (index.js exports {}) whose sole purpose is to deliver an off-registry payload at install time. Its package.json declares its only dependency, `ltidisafe`, as a direct HTTPS tarball URL on a generic Google Cloud Storage bucket (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.1.1.tgz) rather than a registry name, bypassing npm registry scanning. On `npm install`, npm fetches and unpacks that tarball, and any lifecycle scripts it contains execute on the installer's machine. The bucket path `depenconf/` is consistent with dependency-confusion staging, and the package name evokes the widely-used pdf.js ecosystem while shipping no real implementation — a typosquat-shaped lure whose only effect is to route installs through the off-registry dropper. ## Source: ghsa-malware (3b26acfcfb972e07369dd35f509acb9463d9fced9d49fc6872abad284bb0a75d) 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.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The [email protected] npm package is an empty stub whose sole purpose is to deliver a malicious payload from an off-registry source. Its package.json specifies a dependency fetched directly from a Google Cloud Storage tarball URL, circumventing npm registry scanning. This behavior is consistent with dependency confusion attacks and typosquatting tactics, leveraging a name similar to the popular pdf.js ecosystem to lure victims. Upon installation, lifecycle scripts execute on the victim's machine, potentially granting full system compromise. The package contains no real code and serves only as a dropper for malicious software.
Potential Impact
Any system with [email protected] installed should be considered fully compromised. Attackers may have executed arbitrary code with the privileges of the installer, potentially accessing all stored secrets and keys. Removal of the package alone does not guarantee eradication of the compromise, as additional malware may have been installed. Immediate secret and key rotation from a trusted environment is necessary to mitigate ongoing risk.
Mitigation Recommendations
No official patch or fix is available since this is a malicious package rather than a vulnerability in legitimate software. The recommended mitigation is to immediately remove [email protected] from all affected systems. All secrets and keys stored on compromised machines should be rotated from a secure, uncompromised environment. Users should avoid installing packages from untrusted sources and verify package authenticity before installation. Monitor for any signs of persistent compromise beyond the package itself.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-6546
- Osv Schema Version
- 1.7.4
- Aliases
- ["GHSA-7qr7-hcw4-9826"]
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a520ecf68715ace438f8654
Added to database: 07/11/2026, 09:37:19 UTC
Last enriched: 07/11/2026, 09:59:23 UTC
Last updated: 07/28/2026, 13:42:59 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.