Skip to content

Security: ptondereau/biscuit-php

SECURITY.md

Security Policy

This policy covers every package built from this repository: the biscuit PHP extension, biscuit-php-stubs, the Symfony bundle and the Laravel package.

Supported Versions

Only the latest 0.Y release line receives security fixes. Older lines do not.

Reporting a Vulnerability

Please do not report security vulnerabilities through public GitHub issues, discussions, or pull requests.

Report them privately through GitHub Private Vulnerability Reporting on this repository, even if the issue is in the Symfony bundle or the Laravel package. Their repositories are read-only mirrors.

What to Include

  • A description of the vulnerability and its potential impact
  • Steps to reproduce or a proof of concept
  • The affected package(s) and version(s)
  • Any suggested fix, if you have one

What to Expect

  • Acknowledgement within 48 hours of your report
  • Status updates as we investigate and work on a fix
  • Credit in the security advisory (unless you prefer to remain anonymous)

We aim to release a patch for confirmed vulnerabilities as quickly as possible.

Scope

Since biscuit-php provides PHP bindings for Biscuit authorization tokens, the following areas are particularly relevant:

  • Token creation, parsing, and validation
  • Cryptographic key handling (Ed25519, Secp256r1)
  • Memory safety in the Rust/PHP FFI boundary
  • Authorization policy evaluation
  • Token extraction and authorization in the Symfony bundle and the Laravel package

Vulnerabilities in upstream dependencies (biscuit-auth, ext-php-rs) should be reported to their respective maintainers, but feel free to notify us as well so we can track the impact on this project.

Disclosure Policy

We follow a coordinated disclosure process:

  1. The reporter submits the vulnerability privately.
  2. We confirm and assess the issue.
  3. We develop and test a fix.
  4. We release the fix and publish a security advisory.
  5. The vulnerability details are made public after users have had reasonable time to update.

There aren't any published security advisories