Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

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

Usage

from guardrails import Guard
from guardrails_ai.prompt_injection_detector import PromptInjectionDetector

guard = Guard().use(PromptInjectionDetector)

License

MIT — © Guardrails AI.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file guardrails_ai_prompt_injection_detector-0.1.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_prompt_injection_detector-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 d7244780328f691a76d9955c10f83262f71dc44025e5a94d6321bf0dfe221b40
MD5 38e259ef704f5d7ed46534db37a10425
BLAKE2b-256 909e0365288567628c88ce24247ad52899b13e7670aa797e406f49b633a5059c

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_prompt_injection_detector-0.1.1a1.tar.gz:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file guardrails_ai_prompt_injection_detector-0.1.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_prompt_injection_detector-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 95df09ab0890ddb478cc9f7244038153b6327811bcfad7b4264961860b74538b
MD5 1184c2be4468809f61894e86d7d26b41
BLAKE2b-256 8986803d8ae46507afd6b744ea11aec94681cf2b6f8fa3fb03b5af35ceb01116

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_prompt_injection_detector-0.1.1a1-py3-none-any.whl:

Publisher: validators_publish.yml on guardrails-ai/guardrails-hub-monorepo

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.1.1a1 This release

2 files

0.0.2

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page