Advisory rulings
Libra's release gates fail on any security advisory against a crate in its dependency graph, including advisories that report a crate as unmaintained or unsound, and including crates Libra reaches only through other crates. Four advisories are ruled not to affect the image. The image's OpenVEX document tells vulnerability scanners the same, so a scan of the image does not report them as open. This page explains how to use the document and holds the proof behind each ruling. The proofs hold for the dependency versions this release locks: chrono 0.4.45, proc-macro-error 1.0.4 and git2 0.20.4.
The document
Every release publishes the document of the commit it was built from in two places. It is attested to the image's multi-platform manifest list and to each platform image, and it is attached to the GitHub release as libra.openvex.json.
An advisory gets one statement under each of its identifiers, with the others as its aliases, because a scanner may apply only a statement named by the identifier it reports. Every statement names the image ghcr.io/vela-tools/libra in the two package URL forms scanners name a pulled image by, pkg:oci/libra?repository_url=ghcr.io/vela-tools/libra and pkg:docker/vela-tools/libra?repository_url=ghcr.io. Neither has a version, so each covers every digest, and each lists the ruled crate versions as its subcomponents. The impact statement of each says why the image is not affected.
Trivy reads the attestation from the registry, and Grype takes the release asset:
trivy image --vex oci --show-suppressed --platform linux/amd64 ghcr.io/vela-tools/libra:latest
wget https://github.com/vela-tools/libra/releases/latest/download/libra.openvex.json
grype ghcr.io/vela-tools/libra:latest --platform linux/amd64 --vex libra.openvex.json
--show-suppressed lists each advisory the document rules on as not_affected instead of leaving it out. Deployment shows how to verify the attestation.
An advisory published after a release can be ruled on for that release too. The newer document is attested to the release's image beside the earlier one, and it replaces the release's libra.openvex.json. Trivy reads only the first OpenVEX attestation the registry lists for a digest, so to apply the newest document, give it the release asset with --vex libra.openvex.json.
What a scanner sees
The binary carries the list of crates it was built from, which is where SBOM generators and scanners read the image's crates from. The list records every crate the build resolved for the binary, including some that only a build script or a procedural macro uses while Libra compiles. A scanner reading the list can therefore report a crate whose code is not in the binary. Two of the rulings below are about such crates.
RUSTSEC-2026-0543: chrono is unmaintained
The advisory reports that chrono is unmaintained and names no flaw in it. chrono 0.4.45 is in the binary. It reaches it through xsd-rs 0.11.0, which the JSON-LD processor depends on, and no maintained release exists. The binary holds chrono, but no vulnerable code. The justification is vulnerable_code_not_present.
RUSTSEC-2024-0370: proc-macro-error is unmaintained
The advisory reports that proc-macro-error is unmaintained and names no flaw in it. cargo tree -p libra --target x86_64-unknown-linux-gnu -e normal,build -i proc-macro-error --locked --depth 1 lists static-automata-macros 1.1.0, static-regular-grammar 2.0.2 and str-newtype-derive 2.0.0 as the only crates that depend on proc-macro-error 1.0.4, and all three are procedural macros. A procedural macro runs inside the compiler while Libra compiles, so neither it nor proc-macro-error is linked into the binary. The justification is component_not_present.
RUSTSEC-2026-0183 and RUSTSEC-2026-0184: git2 is unsound
The advisories report that git2 before 0.21.0 is unsound in two functions: listing the references of a remote, and reading the signature of a blame hunk built from a buffer. git2 0.20.4 is used only by the build script of shadow-rs 2.0.0, which reads the commit Libra is built from so that libra --version and the build info endpoint can report it. The binary's own dependency on shadow-rs leaves git2 out: cargo tree -p libra --target x86_64-unknown-linux-gnu -e normal -i git2 --locked finds nothing. The build script never lists a remote and never blames a file. The list of crates the binary carries does name git2, so a scanner reading it may report both advisories. The justification is component_not_present.