Skip to content

Security: FelixMiddelhoff/spillgate-js

SECURITY.md

Security policy

Reporting a vulnerability

Use GitHub private vulnerability reporting: the repository's Security tab, Report a vulnerability. Please do not open a public issue for a bypass.

A bypass is any input that makes the library deliver more than the configured limits, pass an unsupported or malformed encoding through, throw an error that is not a SpillgateError, or use memory that grows with the output instead of staying bounded.

What to expect:

  • acknowledgment within 3 business days
  • coordinated disclosure, up to 90 days from the report
  • credit in the advisory if you want it
  • no bug bounty

Every fixed bypass becomes a permanent conformance vector in the reference repository (spillgate), so all language implementations get it.

Supported versions

The latest release only.

Scope

The limits, header parsing, the DEFLATE decoder, gzip and deflate framing, the reader contract, the own zstd decoder (spillgate-zstd) and the window and input handling around brotli (spillgate-br) are in scope. spillgate-br runs a fork of brotli-dec-wasm 2.3.2 (wrapper 2.3.2 with Rust brotli-decompressor 6.3.1, unpatched, built from the sources in packages/br/rust, no runtime dependency): flaws inside that decoder go upstream (and to us, since we ship the build), but report them to us too if the limiter should have contained them. Bugs in the JavaScript engine or in other packages are reported upstream; tell us as well if the limiter should have contained them.

There aren't any published security advisories