Production-ready application and AI security SDK for FastAPI.
Project description
SecureLayerX
SecureLayerX is a production-ready application and AI security SDK for FastAPI.
It provides layered protection for web apps, APIs, and LLM-powered workflows with:
- request inspection and validation
- adaptive rate limiting
- behavior analysis and risk scoring
- execution guards for protected routes
- AI prompt and output guardrails
- structured security logging and metrics
- a local dashboard, self-test, attack simulator, and playground
Installation
pip install securelayerx
Quick Start
from fastapi import FastAPI
from securelayerx import Shield
app = FastAPI()
shield = Shield(app, mode="strict")
CLI
securelayerx playground
securelayerx dashboard
securelayerx self-test
securelayerx test-attacks
Highlights
- layered security for request, behavior, execution, and AI safety
- local-first operation with no paid services required
- explainable block responses with reason and remediation guidance
- plugin rules and policy engine support
- response redaction for secrets and sensitive values
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
securelayerx-0.1.0.tar.gz
(50.3 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 securelayerx-0.1.0.tar.gz.
File metadata
- Download URL: securelayerx-0.1.0.tar.gz
- Upload date:
- Size: 50.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dab3684b52b9051db6985aa69e374cd30e887ff6204059373d05bfca27ca7ba4
|
|
| MD5 |
460f60668ff63954b613f31a1807904f
|
|
| BLAKE2b-256 |
37cb8a01ac411c618c1a05daea4b28da12fcefe7b1a2e19c1b21d11be6af8ac3
|
File details
Details for the file securelayerx-0.1.0-py3-none-any.whl.
File metadata
- Download URL: securelayerx-0.1.0-py3-none-any.whl
- Upload date:
- Size: 53.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56d948aaa8afda07cd7a73082b281d0e29f4f0acc3756e44f79a51843c72b934
|
|
| MD5 |
dd490ed78a1ca5c4416e685e068be8e0
|
|
| BLAKE2b-256 |
e81e792087dbaa344d6703010c1ad847b012fb3915097bf34befe2d97194390d
|