MAL-2026-10421: Malicious code in portway (npm)
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.
AI Analysis
Technical Summary
The 'portway' npm package version 99.9.1 includes a dependency 'ltidisafe' specified as a direct HTTPS tarball URL hosted on a generic Google Cloud Storage bucket. This dependency is not sourced from the official npm registry, lacks integrity pinning, and is mutable by whoever controls the storage bucket. As a result, the package bypasses npm registry security reviews and scanners. Although 'ltidisafe' ships an empty index.js and no lifecycle scripts, its code can run if required by the application, posing a risk of executing malicious code from an untrusted source.
Potential Impact
This supply chain vulnerability allows an attacker controlling the Google Cloud Storage bucket to modify the 'ltidisafe' package contents at any time, potentially injecting malicious code that will be executed in environments installing 'portway' version 99.9.1. This undermines the trust and security guarantees normally provided by the npm registry and can lead to arbitrary code execution in dependent projects.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing 'portway' version 99.9.1 until the dependency on the off-registry 'ltidisafe' tarball is removed or replaced with a trusted, registry-hosted package. Monitor vendor advisories for updates or official remediation. Consider auditing dependencies for off-registry URLs and avoid packages that fetch mutable code from untrusted sources.
MAL-2026-10421: Malicious code in portway (npm)
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.
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 'portway' npm package version 99.9.1 includes a dependency 'ltidisafe' specified as a direct HTTPS tarball URL hosted on a generic Google Cloud Storage bucket. This dependency is not sourced from the official npm registry, lacks integrity pinning, and is mutable by whoever controls the storage bucket. As a result, the package bypasses npm registry security reviews and scanners. Although 'ltidisafe' ships an empty index.js and no lifecycle scripts, its code can run if required by the application, posing a risk of executing malicious code from an untrusted source.
Potential Impact
This supply chain vulnerability allows an attacker controlling the Google Cloud Storage bucket to modify the 'ltidisafe' package contents at any time, potentially injecting malicious code that will be executed in environments installing 'portway' version 99.9.1. This undermines the trust and security guarantees normally provided by the npm registry and can lead to arbitrary code execution in dependent projects.
Mitigation Recommendations
No official patch or fix is currently documented. Users should avoid installing 'portway' version 99.9.1 until the dependency on the off-registry 'ltidisafe' tarball is removed or replaced with a trusted, registry-hosted package. Monitor vendor advisories for updates or official remediation. Consider auditing dependencies for off-registry URLs and avoid packages that fetch mutable code from untrusted sources.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- MAL-2026-10421
- Osv Schema Version
- 1.7.4
- Aliases
- []
- Ecosystems
- ["npm"]
- Database Specific Severity
- null
- Cvss Version
- null
Threat ID: 6a54ad9c68715ace438f3cd4
Added to database: 07/13/2026, 09:19:24 UTC
Last enriched: 07/13/2026, 09:26:21 UTC
Last updated: 07/13/2026, 09:26:21 UTC
Views: 2
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.