Project
Security policy
Signari is an identity provider: a vulnerability in it is usually a way to sign in as somebody else. Please report one privately, never in a public issue, discussion or pull request.
How to report
Use GitHub's private vulnerability reporting: https://github.com/binary-ly/signari/security/advisories/new, on GitHub. It is the only channel: there is no security mailbox yet. If you cannot use it, open a public issue that says only that you have something to report privately, with no detail, and a private channel will be arranged with you.
Include what you can of:
- the version (
signari versionprints it, with the commit and the schema), - the configuration that matters: which protocol, flow or setting,
- the steps that reproduce it, against a deployment you own or a local one,
- what an attacker gains: whose account, which data, which control bypassed.
Test only against a deployment you own or are authorised to test. Do not access other people's data or degrade a service while doing so.
What happens next
The report is acknowledged in the advisory within five business days, the finding is reproduced, and a fix is developed in a private fork of the advisory. A disclosure date is agreed with you before anything is published. The advisory, published with the fixed release, credits you unless you ask otherwise.
Supported versions
Fixes are made to the latest release. A deployment on an older release upgrades to receive them; Upgrading describes how, including which releases may run side by side during the upgrade.
Verifying a release
signari version names the commit a binary was built from, the schema
fingerprint it is pinned to, and, for a FIPS build, the validated module. A
release is built by scripts/build-release.sh, which refuses to build on a
reachable vulnerability (govulncheck) or a static-analysis finding above the
reviewed baseline (scripts/gosec-check.sh). It also builds the binary twice and
refuses unless the two are byte-identical, so anyone with the same toolchain can
rebuild a release from its tag and compare.
Each binary gets a CycloneDX SBOM beside it, signari.cdx.json, and an image the
script builds with -image gets one of its own, signari.image.cdx.json, because
the binary inside it is another build. Both are read from the build information the binary
carries, so they list what was linked: every module with its hash, and the Go
standard library with its version. The script refuses an SBOM that leaves out a
module the binary names. Neither has a serial number, a timestamp or the hashes
the SBOM tool records of its own executable, so the same binary gives the same
SBOM wherever it is described. (v0.1.0's SBOM has those hashes, which differ with
wherever the tool was installed.) Every base image is pinned by digest
(deployment artefacts).
Each release is signed once it is published, by
.github/workflows/release.yml, on GitHub. It rebuilds the
release from its tag on a GitHub runner, with the same script and Go version, and
goes on only if the binary is byte-identical to the published one and the SBOM
describes the same build. It then signs both keylessly with cosign, under the
workflow's own GitHub identity, attaches each signature bundle (.sigstore.json)
to the release, and records SLSA build provenance for the binary, in GitHub's
attestation store and beside the binary as .intoto.jsonl. The signatures and the
provenance are in Sigstore's public transparency log. To check a download:
Shellcosign verify-blob signari-v0.2.1-linux-amd64 \ --bundle signari-v0.2.1-linux-amd64.sigstore.json \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ --certificate-identity-regexp '^https://github\.com/Binary-ly/signari/\.github/workflows/release\.yml@refs/(heads/main|tags/v[0-9.]+)$'gh attestation verify signari-v0.2.1-linux-amd64 -R Binary-ly/signari# or against the provenance file attached to the release, without GitHub's API:gh attestation verify signari-v0.2.1-linux-amd64 -R Binary-ly/signari \ --bundle signari-v0.2.1-linux-amd64.intoto.jsonl
The provenance names the workflow run that rebuilt the binary, not the machine that first built it. v0.1.0 was built on a throwaway Linux machine and signed after its release, once the workflow had rebuilt it to the same bytes.
The same workflow then publishes the engine's container image, the one the Helm
chart deploys, as ghcr.io/binary-ly/signari:<version>, the release's number
without its v. It is not a second build: the binary the workflow has just
compared goes into the tag's own distroless runtime stage, and the workflow checks
that the image's /signari is that binary, byte for byte, before it pushes
anything. It signs the image by digest, under the same identity, and attests the
binary's SBOM and SLSA build provenance to that digest. To check an image:
Shellcosign verify ghcr.io/binary-ly/signari:0.2.1 \ --certificate-oidc-issuer https://token.actions.githubusercontent.com \ --certificate-identity-regexp '^https://github\.com/Binary-ly/signari/\.github/workflows/release\.yml@refs/(heads/main|tags/v[0-9.]+)$'gh attestation verify oci://ghcr.io/binary-ly/signari:0.2.1 -R Binary-ly/signari
v0.1.0 has no image. v0.2.0's was published after its release, by starting the workflow by hand with its tag, as any earlier tag can be.