Skip to main content
Pre-release

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

guardrails-ai-exclude-sql-predicates

This rule checks for the use of particular SQL predicates in the query. It is important to exclude SQL predicates from the query to prevent SQL injection attacks.

Installation

pip install guardrails-ai-exclude-sql-predicates

Usage

from guardrails import Guard
from guardrails_ai.exclude_sql_predicates import ExcludeSqlPredicates

guard = Guard().use(ExcludeSqlPredicates)

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_exclude_sql_predicates-0.2.1a1.tar.gz.

File metadata

File hashes

Hashes for guardrails_ai_exclude_sql_predicates-0.2.1a1.tar.gz
Algorithm Hash digest
SHA256 fcd9ee23f4a84a139a0971e4aa370d9dccaa2300f0bfac936b5d047cf6f1a217
MD5 164b4e8ad61dd0e7ae218bd01f07d6df
BLAKE2b-256 0650f66371774d98bbdd99400c1702e6dd46ea2670f7081cf8c2e1ec7050d895

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_exclude_sql_predicates-0.2.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_exclude_sql_predicates-0.2.1a1-py3-none-any.whl.

File metadata

File hashes

Hashes for guardrails_ai_exclude_sql_predicates-0.2.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 db8c193f4020c6bde5bd6834aa6d73afa730af7cb37c8ce13d80fa6e3330e120
MD5 48c43df76d7092850723bfa8f70c6704
BLAKE2b-256 fc644d9a850a2d8577a7c91e547b1f35b3b624ad94d5de04bb48b4ea35d08587

See more details on using hashes here.

Provenance

The following attestation bundles were made for guardrails_ai_exclude_sql_predicates-0.2.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.2.1a1 This release

2 files

0.1.0

2 files

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