# GHSA-P862-3RVQ-8852: Malicious code in liferay-workspace-scripts (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-11
- Modified: 2026-10-11

## Affected versions

- liferay-workspace-scripts (npm): 99.9.1

## Description

## Source: amazon-inspector (3395e72ef77703732691fce21359206afea7598fb3d1dab29ded4b2e1c7cd28f)
package.json declares the sole dependency `ltidisafe` as a bare HTTPS tarball URL (`https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.8.5.tgz`) instead of a registry version range. On `npm install`, npm fetches that URL and installs whatever bytes it returns, executing any lifecycle scripts inside the fetched package, with no version pin and no integrity hash. The shipped `index.js` is an empty stub, so the manifest is the entire published surface. The package name mirrors Liferay-ecosystem tooling and the version `99.9.1` is implausibly high for a legitimate release, consistent with a dependency-confusion lure designed to win resolution against an internal package name. Whoever controls the Google Cloud Storage bucket controls code executed on every installer's machine at install time.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/liferay-workspace-scripts/MAL-2026-17772.json))

## References

- https://github.com/ossf/malicious-packages/blob/ff41f6680a0ebbef2268cdb5daf253d4b400cb05/osv/malicious/npm/liferay-workspace-scripts/MAL-2026-17772.json
- https://www.npmjs.com/package/liferay-workspace-scripts/v/99.9.1
- https://github.com/advisories/GHSA-p862-3rvq-8852

Page: https://cve.now/GHSA-P862-3RVQ-8852

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
