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

@zerotal/queue

Latest version: v1.18.0

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: mbilisphe13
2 Stars
0 Forks
47 Versions
2.8K Downloads
TypeScript Repo language

Scan summary

@zerotal/queue was last scanned on 26 Nov 2026 at version 1.18.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 47 versions; the latest 5 were published within 3 days (24–26 Nov 2026).
  • Findings: No rules fired in version 1.18.0.
  • Downloads: 2,836 downloads.

Versions

47 versions published
Versions and the rules that fired in each
VersionPublishedStatus
1.18.0 LATEST 26 Nov 2026 No rules fired
1.17.4 26 Nov 2026 No rules fired
1.17.3 25 Nov 2026 No rules fired
1.17.2 25 Nov 2026 Not shown
1.17.1 24 Nov 2026 Not shown

No rules fired in 1.18.0

Findings

Findings for v1.18.0. 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 1.18.0; other versions have their own rules, not their own score.

README

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

@zerotal/queue

Background job queue with retries, batches, chaining, and a worker pool.

Offload slow work to background jobs. Define Job classes, dispatch them singly, batched, or chained, choose a driver (the app's own database — SQLite, PostgreSQL or MySQL — Redis, or sync), and process them with the worker loop or a WorkerPool of Bun threads.

Part of the Zerotal framework. Requires Bun ≥ 1.3.14.

Installation

bun add @zerotal/queue

Setup

Register the provider in bootstrap/providers.ts:

import { QueueProvider } from "@zerotal/queue";

Usage

A job extends Job, serialises its state in payload(), restores it in a static fromPayload(), and does the work in handle(). Register it so the worker can rebuild it by class name:

import { Job, JobRegistry } from "@zerotal/queue";

export class NotifyFollowersJob extends Job {
  override readonly queue = "notifications";
  override readonly maxAttempts = 3;
  override readonly retryDelay = 5000;

  constructor(public readonly postId: number) {
    super();
  }

  payload(): Record<string, unknown> {
    return { postId: this.postId };
  }

  static fromPayload(p: Record<string, unknown>): NotifyFollowersJob {
    return new NotifyFollowersJob(p["postId"] as number);
  }

  async handle(): Promise<void> {
    /* … */
  }
}

JobRegistry.register(NotifyFollowersJob as never);

Dispatch via the Queue facade:

import { Queue } from "@zerotal/queue";

await Queue.dispatch(new NotifyFollowersJob(post.id));

Batch jobs and react when they all finish, or chain them to run sequentially:

import { Bus } from "@zerotal/queue";

await Bus.batch(rows.map((row) => new ImportCsvRowJob(row)))
  .then(new SendImportSummaryJob(user)) // when ALL succeed
  .catch(new NotifyAdminOfFailureJob(user)) // when ANY fail
  .dispatch();

await Bus.chain([new ValidateImportJob(id), new ProcessImportJob(id)]).dispatch();

In tests, swap the binding for a recorder, and settle it to run what was captured:

import { Queue, QueueFake } from "@zerotal/queue";

const queue = QueueFake.install();
await Queue.dispatch(new NotifyFollowersJob(post.id));
queue.assertDispatched(NotifyFollowersJob);
await Queue.settle(); // run it, and whatever it dispatches
queue.restore();

Queue.settle() works with the real drivers too: it runs every due job until none is left.

Exports

Export Description
Queue Facade over QueueManager.
Job, JobRegistry Base job class and the class-name registry.
QueueManager, queueStats, JobStatus, QueueStats Manager and stats helpers.
Bus, Batch, PendingBatch, BatchRecord, BatchOptions, SerializedJob Batch and chain orchestration.
WorkerPool, WorkerPoolOptions, WorkerResult Bun-thread worker pool for CPU-bound jobs.
QueueFake In-memory test double.
QueueProvider Service provider — register in bootstrap/providers.ts.
QueueConfig, QueueConfigShape Config factory and its type.
QueueDriver, JobRecord, BatchStatus, DatabaseDriver (alias SqliteDriver), SyncDriver, RedisDriver Driver contract and built-in drivers.
errors Typed error vocabulary (re-exported).

Subpath exports:

  • @zerotal/queue — the public API above.
  • @zerotal/queue/commands — QueueWorkCommand, QueueFailedCommand, QueueRetryCommand, QueueFlushCommand.

Documentation

  • Queue

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 @zerotal/queue

References

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

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (2)
Research

NGINX2Root: Five Critical NGINX Flaws Expose Web Servers to Remote Code Execution

Copy of Template Design OX Blog (1)
Research

Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret Stealing Malware Via GitHub Actions & npm

Plug and Pray: Your AI Agents Are Taking Orders From Strangers
Research

Plug and Pray: Your AI Agents Are Taking Orders From Strangers

Frame 2085668439 (1)
Group 1261154229