Coming Soon

DeepThreat Wiki

Your codebase explained. Your threats mapped.

Auto-generated security documentation that regenerates on every push. Threat models, dependency graphs, access control maps — always current.

Join Waitlist → See Example Wiki →

Threat Model — Vault.sol

🤖 Auto-generated from contracts/Vault.sol @ commit a3f8c1d

Data Flow & Trust Boundaries
Trust Boundary: Protocol User (EOA) Vault.sol Price Oracle Strategy.sol Governor deposit() getPrice() harvest() setStrategy() ⚠ HIGH

Identified Threats

HIGH
Oracle Manipulation

Price oracle (getPrice()) is an external call crossing trust boundary. Flash loan attacks could manipulate price feeds to drain vault.

MED
Reentrancy in withdraw()

State update occurs after external call in withdraw() at line 142. CEI pattern not followed.

LOW
Centralized Strategy Selection

Governor can change strategy without timelock. Consider adding a delay for strategy changes.

Key Features

Get Early Access

DeepThreat Wiki is coming soon. Join the waitlist to be first.

Join Waitlist →