Skip to content

Documentation: Add contract threat model and trust boundary diagram#852

Merged
Junirezz merged 1 commit into
Junirezz:mainfrom
goldandrew:any/threat-model-trust-boundaries
Jun 27, 2026
Merged

Documentation: Add contract threat model and trust boundary diagram#852
Junirezz merged 1 commit into
Junirezz:mainfrom
goldandrew:any/threat-model-trust-boundaries

Conversation

@goldandrew

Copy link
Copy Markdown
Contributor

Summary

Provides a comprehensive threat model, trust assumptions, trust boundary diagram, and attack surface analysis for the YieldVault-RWA contract architecture.

Changes

Added

  • docs/THREAT_MODEL.md — Full threat model document including:
    • Trust model and core assumptions (9 documented assumptions)
    • Trust boundary diagram (ASCII) mapping public, contract, and privileged zones
    • 9 categorized threat scenarios with attack vectors, impacts, mitigations, and residual risk
    • Attack surface summary table across all public/privileged entrypoints
    • Known limitations and accepted risks
    • Security testing coverage mapping

Modified

  • docs/CONTRACTS_ARCHITECTURE.md — Added cross-reference to threat model in Security Model section and References

Related Issue

Closes #757

Testing

Documentation-only change. No functional impact.

- Create THREAT_MODEL.md with trust assumptions, trust boundaries,
  attack surface analysis, and categorized threat scenarios
- Include ASCII trust boundary diagram mapping public, contract,
  and privileged trust zones
- Document 9 threat scenarios with attack vectors, mitigations,
  and residual risk assessments
- Update CONTRACTS_ARCHITECTURE.md to cross-reference the new
  threat model document

Closes Junirezz#757
@drips-wave

drips-wave Bot commented Jun 26, 2026

Copy link
Copy Markdown

@goldandrew Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Junirezz Junirezz merged commit 7ac0d86 into Junirezz:main Jun 27, 2026
12 of 13 checks 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.

Documentation: Add contract threat model and trust boundary diagram

2 participants