Skip to content

docs(guardrails): add Bastion Prompt Protection page#350

Open
jev1234 wants to merge 2 commits into
BerriAI:mainfrom
jev1234:bastion-guardrail-docs
Open

docs(guardrails): add Bastion Prompt Protection page#350
jev1234 wants to merge 2 commits into
BerriAI:mainfrom
jev1234:bastion-guardrail-docs

Conversation

@jev1234

@jev1234 jev1234 commented Jun 14, 2026

Copy link
Copy Markdown

Adds a documentation page for the Bastion Prompt Protection guardrail
(guardrail: bastion), a local prompt-injection / jailbreak guardrail that runs on
CPU in a few milliseconds with no external API calls.

Companion to the code PR in BerriAI/litellm: BerriAI/litellm#30361

Changes

  • New page: docs/proxy/guardrails/bastion.md (quick start, supported params,
    editions, how it works).
  • Sidebar: added proxy/guardrails/bastion to the guardrails provider list in
    sidebars.js.

Notes

  • The detection engine ships in the optional bastion-prompt-protection PyPI
    package and is imported lazily by litellm — no new hard dependency.

@vercel

vercel Bot commented Jun 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview, Comment Jun 15, 2026 10:10am

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant