Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

@haatlabs-core/queue

Latest version: v0.25.2

Overview

Last scanned
23 Nov 2026
Published
23 Nov 2026
npm package Publisher: haat-labs
34 Versions
5.8K Downloads

Scan summary

@haatlabs-core/queue was last scanned on 23 Nov 2026 at version 0.25.2. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 34 versions; the latest 5 were published on 23 Nov 2026.
  • Findings: No rules fired in version 0.25.2.
  • Downloads: 5,841 downloads.

Versions

34 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.25.2 LATEST 23 Nov 2026 No rules fired
0.25.1 23 Nov 2026 No rules fired
0.25.0 23 Nov 2026 No rules fired
0.24.0 23 Nov 2026 Not shown
0.23.1 23 Nov 2026 Not shown

No rules fired in 0.25.2

Findings

Findings for v0.25.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.25.2; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

@haatlabs-core/queue

BullMQ work queues on Redis: the publisher, the retrying consumer (with a priority lane) and the outbox relay. A project supplies its topology, meaning its queue names, the routing-key prefixes each takes, and its key prefix, through its own connectQueue:

const route = routeByPrefix<QueueName>({ 'shopify-sync': ['shopify.'], imports: ['import.'] });
export const connectQueue = (url: string, options: { prefix?: string } = {}) =>
  connect(url, { prefix: options.prefix ?? 'shop:queue', route });

ioredis is a peer dependency.

@haatlabs-core/queue/contracts (0.12.1): QUEUE_ERRORS, QueueErrorCode, createQueueError and the QueueError type, with nothing of Node: a project's contracts, which its pages load, import from here and never the root, which is for Node.

Install

pnpm add @haatlabs-core/queue

It leaves one package to your app, so the app holds one copy: ioredis.

Polling without holding a worker slot

A handler that waits on something external (a bulk operation, media processing) calls pollAgain(message, { delayMs, deadlineMs, state, onDeadline }). The job is put back as a delayed job, its worker slot is free meanwhile, it keeps its attempt count and its lane, and message.poll (round, startedAt, deadlineAt, state) is there on the next round.

  • delayMs is 250 ms to 15 min a round. Every poll has a deadline, set on the first round and shared by all later rounds and phases; a round can shorten it, never extend it. Once it has passed, onDeadline() is thrown and the job fails.
  • Each round runs the handler again from the top. The work before pollAgain must be idempotent, or branch on message.poll.state.
  • state is JSON of at most 16 KiB; more is a RangeError.
  • onDeadline()'s error decides what happens next: a transient one fails the attempt and the retry starts the flow afresh (the poll is cleared); a permanent one keeps the job as failed. A PollAgain thrown directly past the deadline fails as POLL_TIMED_OUT (QUEUE_ERRORS), which is transient.
  • RestartPoll fails the attempt as transient and clears the poll, so the retry starts afresh.
  • A poll round is logged at debug and its queue.process span ends with outcome poll, not as an error.

Delayed and de-duplicated publishes

publish(key, payload, { delayMs, deduplication: { id } }) delays a message, or coalesces the publishes that share an id. The job holds the id until it completes or fails for good:

  • waiting for its first run (delayed or not), a later publish is dropped: the job has not started, so it will see the newer state;
  • running, the newest later publish is kept and queued when it finishes or fails;
  • delayed again, by a PollAgain round or a retry's backoff, a later publish is dropped, though the job has already read the state.

So use deduplication only for handlers that never poll and recompute from scratch on every attempt. The consumer warns, once a poll, when a de-duplicated job polls.

Such publishes are direct, never through the outbox: an outbox row carries no delayMs and no deduplication. If the process dies between the commit and the publish, the message is lost. A caller that needs it to survive publishes through the outbox, without them, and coalesces in the handler instead.

Failed jobs are kept 1,000 per queue for 14 days.

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm @haatlabs-core/queue

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

PolinRider Returns
Research

PolinRider Returns: Hijacked npm Packages Use Ethereum Blockchain to Conceal Malware Infrastructure

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Ethersphere Hijacked With Crypto Stealing Malware (1)
npm

Ethersphere Hijacked With Crypto Stealing Malware Via Github & npm

Frame 2085668439 (1)
Group 1261154229