Skip to content

Create an Architecture & Threat Model Documentation Hub #90

@AlAfiz

Description

@AlAfiz

Description

Before going to Mainnet or applying for a formal security audit, the protocol must have a written Threat Model documenting known risks and mitigations.

Acceptance Criteria

  • Create a docs/THREAT_MODEL.md file.
  • Document trust assumptions (e.g., "The Fastify backend is trusted to index data, but NEVER trusted to sign transactions").
  • Analyze potential vectors: Re-entrancy attacks (mitigated by CEI), RPC downtime (mitigated by UX fallbacks), DB injection (mitigated by Prisma).
  • Document the emergency pause procedures (from Issue Soroban Contract: Pause/Unpause functionality (Emergency Stop) #54).

Technical Details

  • A well-documented threat model is the first thing professional auditors (like CertiK or Hacken) will ask for. Having it ready proves the maturity of the project.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions