npm · Malicious package advisory
Malwareultra-ws
GHSA-h35p-624w-rrp4
Malicious code in ultra-ws (npm)
Details
**Severity:** Critical
**Affected versions:** `= 1.0.0`
## Source: amazon-inspector (a3cd852fb9e34a4705cad99a8022db52461e1325daddfa1425df17bbc3b7ac08)
package.json declares a dependency `node-net-pool` whose source is a tarball URL on the `main` branch of a random third-party GitHub account (`https://github.com/trktgq0wbre1/node-net-pool/archive/refs/heads/main.tar.gz`) rather than a registry version range. On `npm install`, npm fetches whatever bytes that URL currently returns, unpinned and integrity-unchecked, and executes any lifecycle scripts contained in the fetched package. The postinstall script additionally invokes `node -e "... require('node-net-pool')..."`, so the fetched module's top-level code runs in the installer's Node process at install time. The owner account name is a random throwaway-shaped identifier unrelated to any declared publisher, and the branch is mutable so the delivered code can change at any moment without a version bump.
---
Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/8d7a0f2dfdcf632aa55729f26c8a29806e9855f7/osv/malicious/npm/ultra-ws/MAL-2026-16155.json))
**References:**
- https://github.com/ossf/malicious-packages/blob/8d7a0f2dfdcf632aa55729f26c8a29806e9855f7/osv/malicious/npm/ultra-ws/MAL-2026-16155.json
- https://www.npmjs.com/package/ultra-ws/v/1.0.0
- https://github.com/advisories/GHSA-h35p-624w-rrp4Compromised versions (1)
- = 1.0.0
Any computer that installed or ran a compromised version should be considered fully compromised. Rotate every secret on that machine from a clean environment.