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.2.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.2.0.tar.gz (300.0 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.2.0-py3-none-any.whl (67.3 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for archithreat-3.2.0.tar.gz
Algorithm Hash digest
SHA256 db44ec4090cbe8587c73a90a67e3e103db8ad1c96c61293f8e7d721e499447c1
MD5 91ed8ea0871e2f8977c64af0a938866c
BLAKE2b-256 84462c3e49e989ee07cf91c8ac3ee21ed9466a6c7021bec6e56a2023d1f8d80b

See more details on using hashes here.

Provenance

The following attestation bundles were made for archithreat-3.2.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.2.0-py3-none-any.whl.

File metadata

  • Download URL: archithreat-3.2.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.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3935c041fbf1ccd4f2bcfe05943d348eebe5f465a3e6212a61dd3772c41dd31f
MD5 7a44a4c0c2da13aa5a91db88bff009ac
BLAKE2b-256 f842d0f5ac03cb8a637d8a3fe9c4ffcf0209fe7e4157c632fc8b87a568a0121d

See more details on using hashes here.

Provenance

The following attestation bundles were made for archithreat-3.2.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