Pypi draco-insomnis 0.2.1: Python web app firewall package released on PyPI
Article Content
- •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.
Ask AI about this cluster
Answers cite the sources they use
Timeline
More articles in this cluster (3)
Common questions
Does this package fix a known vulnerability?
Which frameworks does draco-insomnis support?
What should a team evaluate before adopting it?
Continue Reading
Critical WP Rocket Path Traversal RCE (CVE-2026-125812) Under Active Exploitation CVE-2026-125812 is a path traversal flaw in the WP Rocket WordPress caching plugin, fixed in version 3.24.2, that allows unauthenticated remote code execution. Patchstack scores it CVSS 3.1 9.8 and says every release before 3.24.2 is affected; WP Media states the plugin is installed on more than 5.6 million sites. The…
Unpatched MONAI Label Path Traversal (CVE-2026-133968) Exploited by AI Agents Amazon Threat Intelligence reports that a suspected China-linked actor used autonomous AI agents running the Cairn framework to find and exploit a path traversal flaw in MONAI Label, an open-source medical imaging annotation server. Per the articles, the flaw lets an unauthenticated client write files outside the…