Scan your whole stack
From OX Research Newsroom
Are you using lessormq?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.4.4
lessormq was last scanned on 23 Nov 2026 at version 0.4.4. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.4.4 LATEST | 23 Nov 2026 | No rules fired |
| 0.4.2 | 23 Nov 2026 | No rules fired |
| 0.4.1 | 23 Nov 2026 | No rules fired |
| 0.1.0 | 20 Nov 2026 | Not shown |
| 0.0.0-stage | 20 Nov 2026 | Not shown |
Findings for v0.4.4. 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.4.4; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Client and worker for LessorMQ, the message queue over HTTP where
the server decides and clients only claim, run, ack or fail. Built on fetch with no
dependencies: Node 20.3+, Bun, Deno and browsers. Types come from the OpenAPI
description of the API.
npm install lessormq
import { Client } from "lessormq";
const client = new Client("https://mq.example.com", process.env.LESSORMQ_KEY!);
await client.publish("mail", { to: "ada@example.com", template: "welcome" });
await client.publish("invoices", { invoice: 1042 }, {
dedupKey: "invoice-1042", // one open message per key
delaySeconds: 600,
headers: { type: "InvoiceDue" },
});
Every publish carries a dedup key (your own, or one the client makes up), so the client can safely retry it after a network error without creating a second message.
import { PermanentFailure, Worker } from "lessormq";
const controller = new AbortController();
process.on("SIGTERM", () => controller.abort());
await new Worker<{ to?: string }>(client, "mail", async (message, job) => {
if (!message.body.to) {
throw new PermanentFailure("no recipient");
}
await sendMail(message.body, { signal: job.signal });
}, { route: process.env.VPN_ID, signal: controller.signal }).run();
PermanentFailure, or any error with permanent: true, when the input itself is
unusable.job.signal aborts and the result is not reported: the message is
someone else's by then. A handler that blocks the event loop also blocks the timer.signal option stops the worker after the current message. A claim that is
already waiting is not cut off; it ends within waitSeconds, and a message it brings
is given back.Worker options: consumer ($HOSTNAME:pid by default), route, waitSeconds (20),
leaseSeconds, extendEvery, autoExtend, maxMessages, maxSeconds,
errorPauseMs, signal, logger. Several workers can run side by side on one client.
const lease = await client.claim("mail", { waitSeconds: 20 });
if (lease) {
try {
await sendMail(lease.message.body);
await client.ack(lease);
} catch (error) {
const result = await client.fail(lease, error); // result.outcome: retrying, dead_lettered or discarded
}
}
client.extend(lease) keeps a lease while a long job runs, and client.release(lease)
hands a message back without counting the attempt. All of them throw LeaseLostError
once the lease has ended: drop the message then, it is someone else's now. Every call
takes a signal to cancel it.
Many short jobs go faster in batches: client.claimBatch("mail", 50) leases up to 50
ready messages at once (each with its own lease), and client.ackBatch(leases) acks them
in one request, with an outcome per lease ("acked", "lease_lost", ...). A message that
fails is reported on its own with fail().
Everything the library throws is a LessorMQError: TransportError when the server
cannot be reached, ApiError (with status, code and errors) when it answers with
a problem, in subclasses for the codes a client acts on: LeaseLostError,
ValidationError, AuthenticationError, ForbiddenError, NotFoundError,
ConflictError, PayloadTooLargeError, RateLimitedError and ServerError.
Network errors, 5xx and 429 are retried (httpRetries: 3, retryDelayMs: 100 times the
attempt, or the server's Retry-After). That is the only retrying the library does.
Pass logger: console to see the retries.
npm install
npm test # node --test, straight on the TypeScript sources
npm run typecheck
npm run generate # src/openapi.ts from docs/openapi.yaml
npm run build # dist/
The library passes the LessorMQ conformance suite through test/conformance-adapter.ts:
LESSORMQ_ADAPTER_CMD="node clients/typescript/test/conformance-adapter.ts" conformance/run.sh 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.