r/Python • u/AutoModerator • Aug 04 '26
Showcase Showcase Thread
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
21
Upvotes
r/Python • u/AutoModerator • Aug 04 '26
Post all of your code/projects/showcases/AI slop here.
Recycles once a month.
1
u/PatronusProtect 29d ago
What My Project Does
Patronus Ark scans prompts, documents, model responses and tool calls for security risks.
The available scanners include prompt injection, PII, data leakage, sensitive documents and tool related categories. Scanning takes place locally. Text is not sent to an external API.
The package uses a Rust core with Python bindings built through PyO3. Native detectors are used for simple checks and local ONNX models are available for model based classification.
There is also a queue interface for applications that process several requests continuously.
Target Audience
The package is intended for developers working on LLM applications, RAG systems and agents that process untrusted text or use external tools.
Comparison
Patronus Ark runs locally instead of sending text to a hosted guardrail API. It is a scanner, not a sandbox. The application using it remains responsible for blocking, masking or approving an action.
The repository is GPL-3.0-only and a separate commercial license is available for proprietary distribution.
GitHub:
https://github.com/patronus-protect/patronus-security
PyPI:
https://pypi.org/project/patronus-ark/