MAL-2026-10421
Dashboard / Malicious Package / MAL-2026-10421
MAL-2026-10421
Summary: Malicious code in portway (npm)
Details: Source: amazon-inspector (e04dc52cd77658d168578535fb67d77ea76de79beadb77e14c96f023f4e51772) package.json declares the dependency 'ltidisafe' as a direct https tarball URL (https://ltidi.storage.googleapis.com/depenconf/ltidisafe-3.3.2.tgz) rather than a package on the npm registry. On `npm install portway`, npm fetches that tarball and installs its contents into the installer's node_modules. The URL points to a generic Google Cloud Storage bucket unrelated to any established publisher, is not pinned by integrity hash, and is mutable by whoever controls the bucket. The bucket contents bypass npm registry review and are not visible to registry-side scanners. The package itself ships an empty index.js and no lifecycle scripts, so its only effect on installation is pulling this off-registry tarball into the installer's dependency graph, where its code runs under the normal require/lifecycle rules of whatever it contains. Source: ghsa-malware (7ad3f4e7a805861b2c7664acaf326510cf4511c144b2a2baa9df64cc93f72082) 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.
References: https://www.npmjs.com/package/portway/v/99.9.1, https://github.com/advisories/GHSA-j5q6-x29x-2v5x
Affected packages
Package
Name: portway
Purl: pkg:npm/portway
Affected ranges
Type: SEMVER
Events:
