Skip to content

Security: baselabs/bounded_authority_protocol

SECURITY.md

Security policy

Supported versions

The 1.1.x source release line is supported. v1.1.0 is the current tagged source release and contains contract-majors 1, 2, and 3, the local-loopback application profile, the role-attestation and content-assertion sibling profiles, the strict Ed25519 verification soundness repair (erratum 2), the producer-canonicality signature refusal (erratum 3), and the selector float-zero soundness repair (erratum 6). Its public API follows the 1.x stability contract. Registry consumers use the published Hex archive: registry release.

Releases 0.9.1 and earlier accept a float-tagged zero in an equals or one_of selector value (erratum 6); they stay installable and are not supported. Releases 0.7.0 and earlier also accept Ed25519 signatures that the strict rule rejects; releases 0.1.0 through 0.7.0 are retired on Hex for security (see the security advisory GHSA-jwvm-w9r9-qqf8). Upgrade to 1.x with the upgrade guide.

The verifier returns redacted, non-authorizing facts: trust and authorization, where a result carries them, are explicitly not evaluated. Callers supply already-trusted public keys and time. The package does not select trust, access or hold private keys, reserve replay, inspect live revocation, certify deletion or retention, remove archives, or authorize an effect. A stateful authority runtime and the consuming host own those responsibilities.

Reporting a vulnerability

Report privately through GitHub: open the repository's Security tab and choose Report a vulnerability (or go straight to the private report form). Private vulnerability reporting is enabled for this repository; only the maintainers see the report. Do not open a public issue or pull request containing an exploit, credential, private key, production data, or undisclosed vulnerability detail.

A report should identify the affected version or commit, the violated protocol property, a minimal value-free reproduction, and the expected security outcome. We acknowledge, triage, fix, and coordinate disclosure in the private advisory.

The same channel covers the verifier SDKs under sdks/. Report a vulnerability in the TypeScript verifier through the Security tab of its own repository, baselabs/bounded_authority_protocol_typescript.

For a vulnerability whose fix would change a verification verdict, see the governance policy § Security policy for the verdict-change handling rule: a soundness repair (an erratum, with an advisory when governance requires one, shipped by every implementation in the same release) when every condition of § Soundness repairs holds, and otherwise an accelerated, published, deployment-decided contract-major overlap. A verdict never changes silently.

Supply-chain verification

Every CI run builds the package archive in its package job, with a SHA-256 checksum and release and tooling CycloneDX SBOM documents. In that same kci/<sha> qualification run, after every quality stage job has passed, CI calls the supply-chain workflow, which signs separate build-provenance and SBOM attestations for that archive. Verify the exact source commit, which must be on main before release; the attestation's source ref is the qualification branch. Download the archive, SHA256SUMS, release.cdx.json and tooling.cdx.json from the GitHub release v<version> in this repository. Publication verifies that its newly built archive matches the qualification attestation, then reads both package and documentation bytes back from Hex. After that read-back, the release operator tags the exact commit and attaches these files to the GitHub release. Verify the downloaded archive with:

gh release download v<version> --repo baselabs/bounded_authority_protocol \
  --pattern '*.tar' --pattern SHA256SUMS --pattern '*.cdx.json'
sha256sum --check SHA256SUMS
gh attestation verify bounded_authority_protocol-<version>.tar \
  --repo baselabs/bounded_authority_protocol \
  --signer-workflow baselabs/bounded_authority_protocol/.github/workflows/supply-chain.yml \
  --source-digest <commit> \
  --deny-self-hosted-runners
Learn more about advisories related to baselabs/bounded_authority_protocol in the GitHub Advisory Database