guardrails-ai-web-sanitization
Scans LLM outputs for strings that could cause browser script execution downstream.
Installation
pip install guardrails-ai-web-sanitization
This validator ships local models. After installing, run the post-install step to download them:
python -m guardrails_ai.web_sanitization.post_install
Usage
from guardrails import Guard
from guardrails_ai.web_sanitization import WebSanitization
guard = Guard().use(WebSanitization)
License
MIT — © Guardrails AI.
Metadata
Release files for guardrails-ai-web-sanitization 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| guardrails_ai_web_sanitization-0.1.0.tar.gz | 3.7 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| guardrails_ai_web_sanitization-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.4 kB
Release files / guardrails_ai_web_sanitization-0.1.0.tar.gz
| Download URL | guardrails_ai_web_sanitization-0.1.0.tar.gz |
|---|---|
| Size | 3.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a700294e25f48803e0a2f4c515b5385a58a6ffdc57bd9c22eb0fa9bfab336b41
|
|
BLAKE2b-256 checksum How to use checksums |
4a700762c5c762e1582ff569c4e9674be4000a6bddf9b8eb932a9a56a7870b36
|
| 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_web_sanitization-0.1.0-py3-none-any.whl
| Download URL | guardrails_ai_web_sanitization-0.1.0-py3-none-any.whl |
|---|---|
| Size | 3.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
40ac6648f77fc7f7af8da9e03be1be95c54d0037cf7159be3885be089ed93bfa
|
|
BLAKE2b-256 checksum How to use checksums |
7af5b26aefad173c29925c9fb3f85f4df171b955f216281dfce6f1b81df7391f
|
| 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-web-sanitization 0.1.0
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.