MAL-2026-10472

    Dashboard / Malicious Package / MAL-2026-10472

    MAL-2026-10472

    Published: 13 Jul 2026Last Modified: 14 Aug 2026Aliases: 
    GHSA-v2rg-75ch-7cfx

    Summary: Malicious code in @torbeck/priority-queue (npm)

    Details: Source: amazon-inspector (b3109ebd719fa91812bd69e50b418b78f2a04c5478924f6ff53054cb798dc937) The package republishes @datastructures-js/priority-queue verbatim — identical README pointing to datastructures-js.info, the original author 'Eyas Ranjous', and the upstream repository URL git+https://github.com/datastructures-js/priority-queue.git — under an unrelated @torbeck scope. Its package.json (L33-34) declares "dependencies": { "@datastructures-js/heap": "npm:@torbeck/[email protected]" }, using npm alias syntax to silently substitute the legitimate @datastructures-js/heap with a sibling package @torbeck/[email protected] published by the same untrusted maintainer. src/priorityQueue.js does require('@datastructures-js/heap'), so on every import the substituted @torbeck/heap is loaded in place of the upstream package. The installer-facing harm is the namespace-abuse mechanism itself: any consumer who installs @torbeck/priority-queue automatically pulls @torbeck/heap under a name that reads as the legitimate datastructures-js dependency, regardless of what the @torbeck/heap tarball currently contains. The actual payload, if any, lives in @torbeck/heap and must be analyzed in its own record. Source: ghsa-malware (2d7416e9e06b9c46d71f1aa23b1995c28e2c86a2b5c90c02b60380f5d4d15460) 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.

    Affected packages

    Package

    Name: @torbeck/priority-queue

    Purl: pkg:npm/%40torbeck/priority-queue

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -None

    Affected versions

    6.3.9
    6.3.7
    6.3.6
    6.3.10
    6.3.8
    6.3.5
    MAL-2026-10472 | CVE-DB