# blastit: A WSGI server that keeps the blast radius of a security bug small.

**URL:** <https://forum.djangoproject.com/t/blastit-a-wsgi-server-that-keeps-the-blast-radius-of-a-security-bug-small/46407>\
**Category:** Show & Tell\
**Created:** [November 13, 2026, 4:45pm UTC](https://forum.djangoproject.com/t/blastit-a-wsgi-server-that-keeps-the-blast-radius-of-a-security-bug-small/46407 "2026-11-13T16:45:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Xowap](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/xowap/32/33587_2.png) [@Xowap](https://forum.djangoproject.com/u/Xowap)\
**Post date:** [November 13, 2026, 4:45pm UTC](https://forum.djangoproject.com/t/blastit-a-wsgi-server-that-keeps-the-blast-radius-of-a-security-bug-small/46407/1 "2026-11-13T16:45:39Z")

</div>

Hi everyone,

PHP and Node recently went through their “Black October” wave of critical vulnerabilities, and with AI-driven vulnerability discovery ramping up fast, it feels naive to assume Python and its dependency/C-extension ecosystem won’t get hit just as hard. We need a runtime security model that assumes **tomorrow morning there _will_ be a fatal CVE somewhere on the code path** —and ensures a bug on one endpoint can’t dump the database and all user PII.

The usual way to contain blast radius is microservices, which has two big problems:

1. It’s no longer Django.
2. It’s an administrative nightmare.

I’ve been building **Blastit** to get that isolation dynamically _inside_ a normal Django monolith. It’s a WSGI server (Rust, Linux + Postgres) that runs each route in its own Unix user/process, strips secrets from Python, and proxies Postgres over local sockets so each route can only run its own SQL scope (with the goal of soon keeping _all_ API/service secrets out of application code too).

You don’t write SQL policies by hand—it learns them from your `pytest` suite and enforces completeness in CI:

```auto
uv add blastit
uv run blastit check --learn # observes your test suite & writes blastit.toml
uv run blastit check # enforces in CI that no route/query drifted
uv run blastit dev # runs locally, no sudo

```

- Repo: [GitHub - OffworldNexus/blastit: WSGI server that sandboxes each route in its own uid, with per-route SQL allowlists enforced by a PostgreSQL proxy · GitHub](https://github.com/OffworldNexus/blastit)
- Django guide: [Django - blastit](https://offworldnexus.github.io/blastit/frameworks/django/)

I’m posting here for a gut check: **would you consider running something like this in front of a production Django app—and if not, what’s the #1 thing that would stop you?**
