portway (npm) · Malicious Code
Affects portwaySource GCVE Database
Malicious package : remove portway and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 15:56 UTC
Malicious package
Published to npm · OSV MAL-2026-10421
What to do
Remove portway from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmportway | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package 'portway' version 99.9.1 declares a dependency on 'ltidisafe' via a direct URL to a Google Cloud Storage tarball rather than the npm registry. This off-registry tarball is mutable by its controller and bypasses npm's registry review and scanning processes. The 'ltidisafe' package itself contains an empty index.js and no lifecycle scripts, but its code is executed normally if required, potentially allowing malicious code execution.