whiteout-litellm
The Whiteout guardrail for the LiteLLM Proxy. Add it once, and every app that calls models through the proxy is governed. The apps themselves don't change.
pip install whiteout-litellm
export WHITEOUT_GATEWAY_KEY=wo_gw_prod_... # Whiteout → Custom AI Apps → Gateways
export WHITEOUT_BASE_URL=https://api.whiteout.groovysec.com
# config.yaml
guardrails:
- guardrail_name: whiteout
litellm_params:
guardrail: whiteout_litellm.WhiteoutGuardrail
mode: [pre_call, post_call]
default_on: true
What it checks:
- Before the model call: the prompt, the system prompt and tool results. Tool turns that Prompt Injection Defense quarantines are replaced before the model sees them.
- After the call: the reply. Streams are held until the reply passes.
A block reaches the caller as LiteLLM's usual guardrail error (HTTP 400).
Which app a request belongs to comes from the request's metadata.app, then the team alias, key alias or team id. Apps seen for the first time appear under Custom AI Apps as Discovered, for an admin to confirm.
If Whiteout is unreachable, the gateway's fail behaviour applies. That's fail-open unless your admin chose fail-closed.
| Variable | Default |
|---|---|
WHITEOUT_GATEWAY_KEY |
required; without it, requests pass through ungoverned (logged) |
WHITEOUT_BASE_URL |
https://api.whiteout.groovysec.com |
WHITEOUT_SCAN |
user,system,tool |
Metadata
Release files for whiteout-litellm 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| whiteout_litellm-0.1.0.tar.gz | 10.6 kB | With provenance | Details for whiteout_litellm-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| whiteout_litellm-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for whiteout_litellm-0.1.0-py3-none-any.whl |
Total release size: 19.7 kB
Release files / whiteout_litellm-0.1.0.tar.gz
| Download URL | whiteout_litellm-0.1.0.tar.gz |
|---|---|
| Size | 10.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3991ee1234aa9d5da198a11f2da92561ab998126e1ab4e9ff0d044094cbc705a
|
|
BLAKE2b-256 checksum How to use checksums |
85daf6d2422720b467ec3e75286327b47dff5634248304dd48d1c2de748ac2b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logRelease files / whiteout_litellm-0.1.0-py3-none-any.whl
| Download URL | whiteout_litellm-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5e8b07c1bd2a7d79c1625d196dec69fcfbd23b03c238d4debd46d1e46830c1f4
|
|
BLAKE2b-256 checksum How to use checksums |
b125ed9f7e36892f894adb2dbbfe77d4ca2da8aec567c6fae7ea74ba61be72ec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logSecurity for whiteout-litellm 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for whiteout_litellm-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 28, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.