Adaptive multi-layer security middleware for LangChain SQL agents
Project description
Adaptive security for LangChain applications defending against prompt injection and P2SQL attacks.
Install
pip install langguardx
pip install langguardx[ml] # includes torch + transformers
Usage
from lang_guardx import Detector
detector = Detector()
result = detector.check("show me all user emails")
print(result.blocked)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
langguardx-0.3.0.tar.gz
(113.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file langguardx-0.3.0.tar.gz.
File metadata
- Download URL: langguardx-0.3.0.tar.gz
- Upload date:
- Size: 113.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bb7d6c5ce562a02423ac050eddf01ba7259e5d12e6cc662932bbaaa24adbb44
|
|
| MD5 |
5cfefe8150d1ae34c75bf747d69543ff
|
|
| BLAKE2b-256 |
0ad78f5cd5d812381f07c1685e80cb8ac1278211e9102a953d0e8ce762c9f865
|
File details
Details for the file langguardx-0.3.0-py3-none-any.whl.
File metadata
- Download URL: langguardx-0.3.0-py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12bd105e95aaaeb14993fb2c5bec04fffec5f18065c7f8c32967835fc2611d3c
|
|
| MD5 |
ea80afcef96cc868513ab3a729206a1e
|
|
| BLAKE2b-256 |
a34be36725670815889035c0514ad5895fb9260965bb4b79b6e51c3df43f8cb6
|