Scan your whole stack
From OX Research Newsroom
Are you using @haatlabs-core/queue?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.25.2
@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.
| Version | Published | Status |
|---|---|---|
| 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 |
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.
The publisher’s own README, as collected from the registry.
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.
pnpm add @haatlabs-core/queue
It leaves one package to your app, so the app holds one copy: ioredis.
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.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.queue.process span ends with outcome poll, not as
an error.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:
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.
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.
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).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.