Skip to content
Heist/ feed
Unrated

Malicious code in ultra-ws (npm)

Type: advisorySource: OSV1 source record

--- _-= Per source details. Do not edit below this line.=-_ ## 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. ## Source: ghsa-malware (2b60a41e21be9a24e0e335f4930860f803c86100e3cda7dee5775c7f65eb8b19) 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.

Announced Source revision 1
Original source ↗

MAL-2026-16155

Primary source · Revision 1

Imported from structured advisory data. Source references identify upstream records or fields; verify affected versions and your deployed configuration.

Security context

Source reference: osv:MAL-2026-16155

ultra-ws

Source reference: /affected/0/package/name

Affected versions
1.0.0

Source reference: /affected/0/versions

Fixed versions
Not stated in this record
Prerequisites
Not stated in this record

Structured affected-version data

Original package identities and version rules from this source.

[
  {
    "ranges": [
      {
        "type": "SEMVER",
        "events": [
          {
            "introduced": "0"
          }
        ]
      }
    ],
    "package": {
      "name": "ultra-ws",
      "purl": "pkg:npm/ultra-ws",
      "ecosystem": "npm"
    },
    "versions": [
      "1.0.0"
    ],
    "database_specific": {
      "cwes": [
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        },
        {
          "name": "Embedded Malicious Code",
          "cweId": "CWE-506",
          "description": "The product contains code that appears to be malicious in nature."
        }
      ],
      "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/ultra-ws/MAL-2026-16155.json",
      "indicators": {
        "evidence_files": [
          {
            "path": "package.json",
            "tlsh": "5e31fb6bcdb8a9bb26d511e8e8165212f66308030918fc08b3c751ac4fce59b81ff66d",
            "sha256": "29bc89ea037498b214137b8b0358317d24452c0b3b9900fb5dbd357d710a659d"
          }
        ],
        "package_integrity": [
          {
            "hashes": {
              "sha1": "9daeb1cf30d6e6d502d720d0b2995317f8b95820",
              "sha512_sri": "sha512-A5/k5jsk1nUgTawhmcw0rPAL7PnNN3mrjph/YY5QfLHtZM2CAAL2eiC0s3T8UxgeRCe3VzE6/Ww2GswPHGuI0w=="
            },
            "filename": "ultra-ws-1.0.0.tgz"
          }
        ]
      }
    }
  }
]

Publisher severity

No explicit severity was provided.

Event
#21253 · Revision 1
Added to Heist Feed
Publisher date
Read the original announcement