Commit e81dc49
committed
Add CRA/EN 18031 threat model: asset register, trust boundaries, security controls
- security/threat_model.py: pytm-based threat model covering the full SDLC
(runtime, GitHub Actions CI/CD, PyPI distribution). Defines 6 trust
boundaries, 5 primary assets (PA-01..PA-05), 10 supporting assets
(SA-01..SA-10), 8 environmental assets (EA-01..EA-08), and 15 annotated
data flows with existing-control flags.
- doc/explanation/security.rst: Sphinx RST page documenting the asset
register, trust boundaries, data flows, implemented controls table, and
known gaps/residual risks — aligned with CRA Article 13 and EN 18031.
- doc/index.rst: wire security.rst into the Explanation toctree.
- pyproject.toml: add pytm==1.3.1 as a new [security] optional dependency.
- CHANGELOG.rst: record the new security documentation in 0.14.0 (unreleased).
https://claude.ai/code/session_01Rc28JtpAPWhJtA3YvS5kcr1 parent 9d04e07 commit e81dc49
6 files changed
Lines changed: 1042 additions & 0 deletions
File tree
- doc
- explanation
- security
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
4 | 8 | | |
5 | 9 | | |
6 | 10 | | |
| |||
0 commit comments