ChromaDotNet

Security

This page is about ChromaDotNet.Client and ChromaDotNet.Client.DependencyInjection, the packages the other ChromaDotNet libraries build on. The full policy is in SECURITY.md.

How the packages are published

What every change goes through

What the packages depend on

Verifying a package

The latest GitHub release has the packages that the CI built from the version tag, with their Sigstore signatures and their build provenance. nuget.org serves the same packages with its repository signature added. So the two files have different hashes, and each check works on one of them.

On the package from the GitHub release, with Cosign 3 or later:

cosign verify-blob ChromaDotNet.Client.2.23.1.nupkg --bundle ChromaDotNet.Client.2.23.1.nupkg.sigstore.json --certificate-identity-regexp '^https://github[.]com/ChromaDotNet/ChromaDB[.]Client/[.]github/workflows/release-assets[.]yml@' --certificate-oidc-issuer https://token.actions.githubusercontent.com

On the package from the GitHub release, with the GitHub CLI:

gh attestation verify ChromaDotNet.Client.2.23.1.nupkg --bundle provenance-v2.23.1.intoto.jsonl --repo ChromaDotNet/ChromaDB.Client --signer-workflow ChromaDotNet/ChromaDB.Client/.github/workflows/ci.yml --source-ref refs/tags/v2.23.1

On the package from nuget.org:

dotnet nuget verify --all ChromaDotNet.Client.2.23.1.nupkg

Reporting a vulnerability

Do not report a vulnerability in a public issue. Report it privately on GitHub: Report a vulnerability. We acknowledge the report within 7 days, and confirm or rule it out within 14 days. Security fixes go into the latest release.