Skip to content

Security: bymaxone/nest-queue

SECURITY.md

Security Policy

Reporting a Vulnerability

Please do not open a public GitHub issue for security vulnerabilities.

Report vulnerabilities by email to support@bymax.one. Include:

  • A description of the vulnerability and its potential impact
  • Steps to reproduce the issue
  • Affected versions
  • Any suggested mitigations or patches (optional but welcome)

We follow a 90-day coordinated-disclosure policy:

  1. We acknowledge receipt within 3 business days.
  2. We investigate and aim to produce a fix within 30 days for critical issues, and within 90 days for all other confirmed vulnerabilities.
  3. We notify you when a fix is ready and coordinate a disclosure date before publishing a security advisory.

If you do not receive acknowledgement within 5 business days, please follow up by email.


Supported Versions

Version Support
1.2.x Active — security fixes applied
< 1.2.0 Not supported — upgrade to the latest 1.2.x

Scope

In scope

  • Runtime vulnerabilities in @bymax-one/nest-queue library code
  • Vulnerabilities in the bundled (non-peer) code shipped in dist/
  • Supply-chain issues in the release pipeline (OIDC provenance, SHA-pinned actions)
  • Improper handling of connection credentials or job data

Out of scope

  • Vulnerabilities in peer dependencies (bullmq, ioredis, @nestjs/*, reflect-metadata, bullmq-otel) — report those upstream to their maintainers
  • Vulnerabilities that require direct access to the Redis instance
  • Issues in test/ (fixtures and the consumer-app typecheck harness, not published)

Threat model: same-process code

Code that runs in the same process as the library is trusted, as it is in Node itself: it can read and replace any built-in, any module and any object the library holds, so no library running inside the process can fully defend against it. The prototype and Promise guards are best-effort defences against accidents and against pollution that arrives through a dependency (a planted Object.prototype key, a replaced built-in, a then planted and erased again). They are not a security boundary against code that is written to defeat them.

The limits, in one line: code in the process can still replace what the guards cannot see, such as the Promise[Symbol.species] of a native promise, or a replacement of the intrinsic Promise constructor that reproduces its prototype and its native source text. These are listed under Known limits in the CHANGELOG.


Provenance

The first release of a package cannot carry an npm provenance attestation: npm trusted publishing requires the package to already exist on the registry, so 1.0.0 was published from a maintainer's machine. Every release from 1.0.1 onward is published by the release workflow via OIDC and carries a signed SLSA attestation, verifiable with npm audit signatures.


Supply-Chain Security

This package is published to npm with OIDC provenance attestation (Trusted Publishing). Each release can be verified:

npm audit signatures @bymax-one/nest-queue

The release pipeline enforces:

  • Third-party GitHub Actions pinned to a commit SHA; the organisation's own reusable workflows (bymaxone/.github) are referenced by their moving v1 tag so a fix to a shared workflow reaches every repository
  • Least-privilege workflow permissions
  • TruffleHog OSS secret scanning on every push
  • OSV-Scanner dependency advisory scanning of the full lockfile on every push, pull request and weekly; an advisory with no patched release is ignored only in osv-scanner.toml, with a reason and an expiry date
  • OpenSSF Scorecard transparency (target ≥ 7.0)

See the OpenSSF Scorecard report for the current posture.


Disclosure Policy

We follow the principle of coordinated disclosure. We ask reporters not to:

  • Publish details of the vulnerability before a fix is available
  • Exploit the vulnerability beyond what is necessary for proof-of-concept
  • Perform tests on production systems operated by third parties

We will credit reporters in the security advisory unless they prefer to remain anonymous.

There aren't any published security advisories