Skip to main content

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.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for whiteout-litellm 0.1.1
File Size Uploaded Provenance Actions
whiteout_litellm-0.1.1.tar.gz 10.6 kB With provenance Details for whiteout_litellm-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for whiteout-litellm 0.1.1
File Interpreter ABI Platform Actions
whiteout_litellm-0.1.1-py3-none-any.whl Python 3 none any Details for whiteout_litellm-0.1.1-py3-none-any.whl

Total release size: 19.7 kB

Release files / whiteout_litellm-0.1.1.tar.gz

Download URL whiteout_litellm-0.1.1.tar.gz
Size 10.6 kB
Tags Source
SHA-256 checksum
How to use checksums
d26b00c313bfb87d3600c2f333c841386bdb257e0d2d393c30f5f0ac1456a42b
BLAKE2b-256 checksum
How to use checksums
9f6c13d1733b22e92235bed064efe725bcd0bc81ef38b1f39c7b0fe09c16d02a
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 log

Release files / whiteout_litellm-0.1.1-py3-none-any.whl

Download URL whiteout_litellm-0.1.1-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7c2024e1f79f6f61b52c37468073b62111b50abe1d53550e6587348150976a9b
BLAKE2b-256 checksum
How to use checksums
1ffe611451a577b48024884d1146b0b094ef333e05554baa5871785b521db2a6
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 log

Security for whiteout-litellm 0.1.1

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.

Select from 2 files

Attestation for whiteout_litellm-0.1.1.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 log

A 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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page