Skip to main content
MalwarePublished Updated

@torbeck/priority-queue (npm) · Malicious Code

Affects @torbeck/priority-queueSource GCVE Database

0

Malicious package : remove @torbeck/priority-queue and rotate any secrets on hosts that installed it.

Data as of 14 Aug 2026, 19:52 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-10472

What to do

Remove @torbeck/priority-queue 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

ProductAffectedFixed in
npm@torbeck/priority-queueAffected
  • =6.3.9
  • =6.3.7
  • =6.3.6
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 @torbeck/priority-queue republishes the legitimate @datastructures-js/priority-queue package but uses npm aliasing to substitute a dependency with a malicious package @torbeck/heap. This substitution causes the malicious @torbeck/heap package to be loaded instead of the legitimate dependency, potentially compromising any system that installs @torbeck/priority-queue. The malicious payload resides in @torbeck/heap and can lead to full system compromise. Immediate removal and secret/key rotation are recommended if this package was installed.

References

Community reviews

Loading reviews…