Skip to content

Closes #18 Implemented: add security threat model for secret handling and transaction flows #18 - #109

Merged
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Promise278:add-security-threat-model
Jul 28, 2026
Merged

Closes #18 Implemented: add security threat model for secret handling and transaction flows #18#109
El-swaggerito merged 1 commit into
Axionvera:mainfrom
Promise278:add-security-threat-model

Conversation

@Promise278

Copy link
Copy Markdown
Contributor

Closes #18

Summary

Adds a comprehensive security threat model (docs/SECURITY_THREAT_MODEL.md) to AnchorKit covering all major threat areas identified across the monorepo.

What's covered

  • 9 threat areas: Secret key handling, payment intent validation, transaction readiness, anchor metadata/lifecycle, account diagnostics, Soroban escrow contract, unsafe logging, mainnet risks, web dashboard
  • 47 threats catalogued with severity, current mitigations, and open gaps
  • Consolidated risk register — 6 critical/high, 8 medium, 10 low
  • Out-of-scope production behaviours — explicit list of what MVP does NOT do (no custody, no signing, no secure storage, etc.)
  • Review requirements — pre-merge and pre-mainnet checklists

Changes

  • docs/SECURITY_THREAT_MODEL.md — new file (472 lines)
  • README.md — added threat model to docs index table

Why

Security assumptions were spread across README notes, code comments, and contributor expectations. This document consolidates them into a single source of truth with clear threat actors, attack surfaces, mitigations, and gaps.

@El-swaggerito
El-swaggerito merged commit 5c7503d into Axionvera:main Jul 28, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add security threat model for secret handling and transaction flows

2 participants