Skip to main content

guardrails-ai-prompt-injection-detector

A Guardrails validator that scores prompts for injection attempts via a secondary LLM.

Installation

pip install guardrails-ai-prompt-injection-detector

This validator ships local models. After installing, run the post-install step to download them:

python -m guardrails_ai.prompt_injection_detector.post_install

Usage

from guardrails import Guard
from guardrails_ai.prompt_injection_detector import PromptInjectionDetector

guard = Guard().use(PromptInjectionDetector)

License

MIT — © Guardrails AI.

Metadata

Release files for guardrails-ai-prompt-injection-detector 0.0.2

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

Source distribution (sdist)

Source distribution for guardrails-ai-prompt-injection-detector 0.0.2
File Size Uploaded Provenance Actions
guardrails_ai_prompt_injection_detector-0.0.2.tar.gz 5.7 kB Without provenance Details for guardrails_ai_prompt_injection_detector-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for guardrails-ai-prompt-injection-detector 0.0.2
File Interpreter ABI Platform Actions
guardrails_ai_prompt_injection_detector-0.0.2-py3-none-any.whl Python 3 none any Details for guardrails_ai_prompt_injection_detector-0.0.2-py3-none-any.whl

Total release size: 11.2 kB

Release files / guardrails_ai_prompt_injection_detector-0.0.2.tar.gz

Download URL guardrails_ai_prompt_injection_detector-0.0.2.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
93b7b99b4a1b2d56813b2efb9c998b3b53ddc132ed1b3eda1a110f78ba0a2a7a
BLAKE2b-256 checksum
How to use checksums
1075762e2e872c83b8d5ba9b7ee8fafa99dd2a7a2096e8187a2a1049d5153e05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Release files / guardrails_ai_prompt_injection_detector-0.0.2-py3-none-any.whl

Download URL guardrails_ai_prompt_injection_detector-0.0.2-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ed30585c1542d171c46e52c499ffa1c1675f37679e04b3576958de7d4a784f01
BLAKE2b-256 checksum
How to use checksums
cf14777b1c3262287c9cfa1f91022cc0cc021043bdf2afb5434e768dd53df0bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.4

Security for guardrails-ai-prompt-injection-detector 0.0.2

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

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