An AI gateway holds every provider key your agents use. In 2026, the most popular open-source one shipped malicious releases twice. So before recommending any gateway, I wanted to know how each project ships its code.
On December 2, 2026 I checked 5 open-source AI gateways against public supply-chain signals: LiteLLM, Bifrost, agentgateway, Apache APISIX and MLflow AI Gateway.
Heads up: I'm Head of SEO and AI at NeuralTrust, which builds an AI gateway. Our product isn't part of this check.
Why the release pipeline matters
LiteLLM had two incidents this year, and both started in the pipeline, not in the code:
1. March 24: versions 1.82.7 and 1.82.8 reached PyPI after attackers compromised a Trivy GitHub Action in LiteLLM's CI and took its PyPI publishing token. They stayed up for about three hours (Snyk).
2. October 21: a hijacked release pipeline shipped a credential-stealing 1.107.0 to PyPI and Docker. The PyPI packages were up for about two hours (CSO Online).
If your deployment pulls latest automatically, either one would have reached you.
What I checked
- OpenSSF Scorecard: the overall score, plus its Token-Permissions check, which flags GitHub workflow tokens with more permissions than they need.
- Security advisories published on GitHub from January 1 to December 2, 2026. For APISIX I used the Apache security page, because Apache publishes its CVEs there.
- Release signing: PyPI provenance attestations, cosign signatures on container images, and what each project's release workflows and docs say.
Results
- Gateway OpenSSF Scorecard (0–10) Advisories in 2026 Signed releases CI token permissions
- LiteLLM 5.7 30 (5 critical, 9 high) PyPI provenance, cosign-signed images since v1.83.0 Excessive (0/10)
- Bifrost 7.3* 3 (1 critical, 2 high) None found in release workflows or docs Excessive (0/10)
- agentgateway Not scored 12 (1 high) Cosign-signed container images Not scored
- Apache APISIX 7.3 33 CVEs (severity not listed by Apache) PGP-signed source releases Least privilege (10/10)
- MLflow (whole project) 5.4 10 (1 critical, 4 high) PyPI provenance Least privilege (10/10)
- Bifrost's Scorecard result dates from October 20, 2026. MLflow's advisories cover the whole project, not only its gateway. agentgateway isn't in the Scorecard dataset.
What stood out
LiteLLM fixed signing, not yet its CI permissions. Since v1.83.0 every image is signed with cosign, and PyPI releases now carry provenance from a separate release repository. Scorecard still scores its workflow token permissions 0/10, in the same CI attackers abused in March.
Bifrost has the best Scorecard, but no signing I could find. It scores 7.3 overall and is fuzzed, yet I found no signatures or provenance in its release workflows or docs, and its token permissions also score 0/10.
A high advisory count isn't automatically bad. APISIX published 33 CVEs this year and MLflow 10, partly because they ship many plugins and disclose everything. A project with few advisories and no visible disclosure process is harder to trust, not easier.
How to check your own gateway in 10 minutes
- Pin the image by digest, not by tag: ghcr.io/berriai/litellm@sha256:.
- Verify the signature where one exists: cosign verify --key
@sha256:, or the keyless flags the project documents. Take the key or identity from the project's docs, never from the image.
- Check Python package provenance: https://pypi.org/integrity////provenance returns the attestation and the GitHub workflow that built the file.
- Read the project's Scorecard: https://scorecard.dev/viewer/?uri=github.com//.
- Subscribe to its security advisories: on GitHub, Watch, then Custom, then Security alerts.
The full comparison
These are only the open-source gateways. For ten AI gateways compared on runtime security, MCP governance and deployment, including platforms like Kong and managed options like Cloudflare, see NeuralTrust's AI gateway comparison.
If you maintain one of these projects and something here is out of date, tell me in the comments and I'll update the table.

