Skip to content
draco-insomnis 0.2.1: Python web app firewall package released on PyPI

draco-insomnis 0.2.1: Python web app firewall package released on PyPI

First seen 29 Nov 2026, 18:21 UTC • •

Article Content

Browse articles
ThreatCluster AI
ThreatCluster •November 29, 2026 at 18:22 UTC
  • •draco-insomnis 0.2.1 is a dependency-free firewall for FastAPI, Starlette, Flask and Django apps, installable via pip.
  • •Block mode returns a 403 page that does not reveal which rule matched; log mode only records evidence.
  • •Five attacks in 10 minutes blocks an address for 7 days; rate limits default to 120 pages per minute per address.
  • •Proxy headers such as X-Forwarded-For are trusted only from configured or Cloudflare-listed proxies.
  • •Information comes solely from the PyPI project page; no independent verification or vulnerability disclosure is cited.

The PyPI project page for draco-insomnis version 0.2.1 describes a firewall for Python web applications (ASGI frameworks FastAPI and Starlette, WSGI frameworks Flask and Django) that has no dependencies.

The package checks requests for SQL injection, path traversal, code injection, XSS in the URL, known scanner probes, and attempts to read sensitive files such as .env or .git, in log mode or block mode.

Five attacks within 10 minutes block an address for 7 days. It also applies per-address and per-network page rate limits, country filtering (using a local DB-IP lookup or Cloudflare headers), a review-request flow for blocked visitors, and CrowdSec ban synchronisation.

The listing states that the same signatures are used across several other editions (WordPress, Drupal, Laravel and others). The information comes from the project's PyPI page only; no independent reporting or CVE is cited, and the cluster contains a single source.

Start a free Starter trial for enhanced analysis

Ask AI about this cluster

Or ask in your own assistant: ClaudeChatGPTPerplexityGemini

Timeline

2026-11-29
draco-insomnis 0.2.1 listed on PyPI
The PyPI project page for the Python web app firewall version 0.2.1 is published with its feature description and installation instructions.
PyPI

More articles in this cluster (3)

Common questions

Does this package fix a known vulnerability?
The PyPI listing describes a firewall product and does not mention any CVE or vulnerability fix.
Which frameworks does draco-insomnis support?
The listing names FastAPI and Starlette for ASGI and Flask and Django for WSGI, with no dependencies.
What should a team evaluate before adopting it?
Verify the signatures and the country database update source, and test log mode before enabling block mode, since the listing is the only available source.