Skip to main content

Convert ArchiMate 3.x architecture models into threat-modeling artifacts (v1: IriusRisk-compatible draw.io).

Project description

archithreat

CI Python License

Convert ArchiMate 3.x architecture models into threat-modeling artifacts, preserving logical trust zones, host containment, and connection semantics. Two output targets ship: IriusRisk-compatible draw.io and OWASP Threat Dragon v2 JSON. The codebase is structured so further targets slot in without rework.

Why

Threat-modeling tools that consume diagrams expect specific input formats (draw.io for IriusRisk, .tm7 for Microsoft TMT, JSON for OWASP Threat Dragon). None ingest ArchiMate directly. Organizations doing serious EA in ArchiMate (TOGAF, BiZZdesign, Sparx EA) have no path from authoritative architecture into their threat model except manual reconstruction. archithreat closes that gap.

Privacy by design

Architecture models for critical infrastructure describe attack surfaces and frequently cannot leave their owning organization. archithreat ships three surfaces, no hosted service:

  • CLI — local conversion for engineers and CI pipelines.
  • Browser app — static site (Pyodide); runs entirely in your browser, no upload.
  • Self-hosted container — FastAPI image you run inside your trust zone.

Install (CLI)

pip install archithreat[cli]
archithreat convert input.xml output.drawio --target iriusrisk
archithreat convert input.xml output.json    --target threatdragon
archithreat targets

Browser app

Open the published GitHub Pages site, drop your .xml in, pick a target from the dropdown, download the .drawio or .json. Nothing leaves your browser.

Self-hosted container

docker run --rm -p 8000:8000 ghcr.io/rondlite/archithreat:latest
# open http://localhost:8000

Documentation

Status

v3.1.0. See CHANGELOG.md and ROADMAP.

License

Apache 2.0 — see LICENSE. For third-party / vendored components and their licenses (Pyodide, drawio viewer, HTMX, declared Python deps), see SBOM.md.

Project details


Download files

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

Source Distribution

archithreat-3.1.0.tar.gz (297.9 kB view details)

Uploaded Source

Built Distribution

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

archithreat-3.1.0-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

Details for the file archithreat-3.1.0.tar.gz.

File metadata

  • Download URL: archithreat-3.1.0.tar.gz
  • Upload date:
  • Size: 297.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for archithreat-3.1.0.tar.gz
Algorithm Hash digest
SHA256 bd4e4b916cafe7ae2771a4ed19610245d9286be3d7d5ff495e12d92b8a430017
MD5 c80ca56fcfdeb6c1a8578560a7d440b6
BLAKE2b-256 f3a28cb80ae890a674079045d8165009d914114d635f4d5475b1ecb3d4b07a8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for archithreat-3.1.0.tar.gz:

Publisher: release.yaml on rondlite/archithreat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file archithreat-3.1.0-py3-none-any.whl.

File metadata

  • Download URL: archithreat-3.1.0-py3-none-any.whl
  • Upload date:
  • Size: 67.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for archithreat-3.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 89b785d87114127eacc3ee5543b8cd613c4668a9754382741338038eadb3fc44
MD5 893cf0e015f60b39f75773a77f562d53
BLAKE2b-256 cfe2c4cb348f078cb488c196a8542d5efd69690bb22884165a204701893706c3

See more details on using hashes here.

Provenance

The following attestation bundles were made for archithreat-3.1.0-py3-none-any.whl:

Publisher: release.yaml on rondlite/archithreat

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page