Malicious code in liferay-workspace-scripts (npm)
Description
The liferay-workspace-scripts npm package version 99.9.1 declares a dependency on a malicious package 'ltidisafe' hosted on a Google Cloud Storage URL. This dependency is fetched and installed without version pinning or integrity verification, allowing arbitrary code execution during npm install. The package name and version appear crafted to exploit dependency confusion, potentially executing attacker-controlled code on any machine installing this package.
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 liferay-workspace-scripts package.json specifies a sole dependency 'ltidisafe' via a direct HTTPS tarball URL rather than a versioned registry reference. This URL points to a Google Cloud Storage bucket controlled by an attacker. Because npm installs the package from this URL without integrity checks or version pinning, any lifecycle scripts in the malicious package execute on the installer's machine. The package version 99.9.1 is unusually high, likely to win dependency resolution over legitimate internal packages, indicating a dependency confusion attack vector. The shipped index.js is empty, meaning the manifest itself is the main surface, but the risk lies in the arbitrary code execution during installation.
Potential Impact
An attacker controlling the Google Cloud Storage bucket can execute arbitrary code on any machine that installs liferay-workspace-scripts version 99.9.1, potentially leading to full system compromise or further supply chain attacks. This occurs during the npm install process without user awareness due to lack of integrity verification and version pinning.
Mitigation Recommendations
No official patch or fix is indicated in the provided data. Users should avoid installing liferay-workspace-scripts version 99.9.1 until the dependency on the malicious 'ltidisafe' package is removed or replaced with a secure, versioned registry dependency. Implementing strict dependency integrity checks and avoiding direct URL dependencies without verification can mitigate this risk. Monitor vendor advisories for updates or official fixes.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-17772
- Osv Schema Version
- 1.7.4
- Ecosystems
- ["npm"]
Threat ID: 6acc00a32cdf04f656fecb2e
Added to database: 10/11/2026, 21:33:23 UTC
Last enriched: 10/11/2026, 21:43:59 UTC
Last updated: 10/11/2026, 21:43:59 UTC
Views: 1
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.