Skip to main content

Aegis

Drop-in security middleware for FastAPI that protects against OWASP Top 10 API attacks.

Quick Start

pip install aegis

from aegis import SecurityGate app.add_middleware(SecurityGate)

What It Detects

  • SQL Injection
  • XSS
  • Command Injection
  • Path Traversal
  • JWT Attacks
  • Data Leaks

Docker

docker run -p 8443:8443 linaalbluwi/aegis

Tests

python -m pytest tests/ -v

License

MIT

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aegis_api_shield-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aegis_api_shield-0.1.0-py3-none-any.whl (1.9 kB view details)

Uploaded Python 3

File details

Details for the file aegis_api_shield-0.1.0.tar.gz.

File metadata

  • Download URL: aegis_api_shield-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for aegis_api_shield-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0e6a6e8f730292f8290c3719913a1452b704515af54ab1f82da50c419542143d
MD5 f0d65b1cd08f0614348edd38e3ebe932
BLAKE2b-256 9860d43681c63670eb554ba7157162a3c26cf86efc91867b0ce156fe1ace38a6

See more details on using hashes here.

File details

Details for the file aegis_api_shield-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aegis_api_shield-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 dfe80e37ef98515c0c2ef00f0c1170242b3b6fd29ef75378434520498b1493c6
MD5 ca31145d12fde03f6e0389e2f81f68a0
BLAKE2b-256 712eefe79d495f2ef76bad7184fd47e5081cc7b332c19d478e27bf3e6515b5a3

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.1.0 This release

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