Convert ArchiMate 3.x architecture models into threat-modeling artifacts (v1: IriusRisk-compatible draw.io).
Project description
archithreat
Convert ArchiMate 3.x architecture models into threat-modeling artifacts, preserving logical trust zones, host containment, and connection semantics. v1 ships a single output target — IriusRisk-compatible draw.io — with the codebase structured so future 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
Browser app
Open the published GitHub Pages site, drop your .xml in, download the .drawio. Nothing leaves your browser.
Self-hosted container
docker run --rm -p 8000:8000 ghcr.io/rondlite/archithreat:latest
# open http://localhost:8000
Documentation
- docs/concepts.md — modeling discipline behind the conversion
- docs/mapping-table.md — YAML schema + customization
- docs/patterns.md — supported patterns
- docs/limitations.md — known gaps and future work
- docs/self-hosting.md — Docker deployment
- docs/browser.md — browser app capabilities
- docs/privacy.md — what each surface does and does not see
- docs/targets.md — supported output targets
- docs/adding-a-target.md — contributor guide for new emitters
Status
v1 alpha. See CHANGELOG.md and ROADMAP.
License
Apache 2.0 — see LICENSE.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file archithreat-1.0.4.tar.gz.
File metadata
- Download URL: archithreat-1.0.4.tar.gz
- Upload date:
- Size: 122.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9621f44f8914b6f885c3de8e829c1dff8047298730a39f60ef4311bb9bd2baee
|
|
| MD5 |
32a7a50fa5d8a016c7536f3964da10fc
|
|
| BLAKE2b-256 |
1f99086736bb54c11d6fa55b282aa9aa978a773dc6481ce590744cb40543da18
|
Provenance
The following attestation bundles were made for archithreat-1.0.4.tar.gz:
Publisher:
release.yaml on rondlite/archithreat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
archithreat-1.0.4.tar.gz -
Subject digest:
9621f44f8914b6f885c3de8e829c1dff8047298730a39f60ef4311bb9bd2baee - Sigstore transparency entry: 1422342891
- Sigstore integration time:
-
Permalink:
rondlite/archithreat@1a573cbd1c327492374e1d83f1f13d2552c5cac3 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/rondlite
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@1a573cbd1c327492374e1d83f1f13d2552c5cac3 -
Trigger Event:
push
-
Statement type:
File details
Details for the file archithreat-1.0.4-py3-none-any.whl.
File metadata
- Download URL: archithreat-1.0.4-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cb97e1db9f8f6b5efc6e69d26fa4d6255cd0f2856b09a6cca4ad66106362a028
|
|
| MD5 |
040e194b3941198c1950ac961f11ca15
|
|
| BLAKE2b-256 |
02c1a0be3cedc0b8e89bcfb98ced76eb32d5c650f00588d8525b4a1e9e2c4213
|
Provenance
The following attestation bundles were made for archithreat-1.0.4-py3-none-any.whl:
Publisher:
release.yaml on rondlite/archithreat
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
archithreat-1.0.4-py3-none-any.whl -
Subject digest:
cb97e1db9f8f6b5efc6e69d26fa4d6255cd0f2856b09a6cca4ad66106362a028 - Sigstore transparency entry: 1422343046
- Sigstore integration time:
-
Permalink:
rondlite/archithreat@1a573cbd1c327492374e1d83f1f13d2552c5cac3 -
Branch / Tag:
refs/tags/v1.0.4 - Owner: https://github.com/rondlite
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yaml@1a573cbd1c327492374e1d83f1f13d2552c5cac3 -
Trigger Event:
push
-
Statement type: