Rage Against Threat Modeling
"Some of those that work forces,
are the same that burn crosses 0-days"
ratm is a tool that helps you think about your threat model, generating a static site and graphs that help you navigate them.
It takes its inspiration on PyTM, but simplifying how things work, by removing dependencies to Java utilities.
This tool actually came out as a way to do the threat modeling of dangerzone.
Run the demo
We include a short demo showcasing how to define components, threats, boundaries and scenarios. Here is how to generate a static site out of it:
uv run demo/model.py | uvx ratm
Release files for ratm 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| ratm-0.1.4.tar.gz | 1.5 MB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| ratm-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 3.1 MB
Release files / ratm-0.1.4.tar.gz
| Download URL | ratm-0.1.4.tar.gz |
|---|---|
| Size | 1.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
57f905e63fe427ca29f75d9705e542475dd4fa65204a20cb0f11bcd2361f8bd5
|
|
BLAKE2b-256 checksum How to use checksums |
30518613b8ff2aea4cbd7854da416ca0cfb8480ef5d3caf4891f6e9f9062ddc4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency logRelease files / ratm-0.1.4-py3-none-any.whl
| Download URL | ratm-0.1.4-py3-none-any.whl |
|---|---|
| Size | 1.6 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a58cad96caaa55f6eb5103b778d540b697e6282cb111cfa665333419edb54b19
|
|
BLAKE2b-256 checksum How to use checksums |
b5da9e4a55599f0fe84eafebbc0235a61cbc92e31da5a31687255c85fd9313d8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 5, 2026.
Transparency log