// Web3 security learning, redefined
Understandtheimplementation.the implementation.Prove the failure.
Learn how Web3 systems are built, inspect realistic Solidity repositories, and prove security failures with real Foundry tests.
CHOOSE YOUR TRACEFI IDENTITY
Select a cyber persona when you create your account.
TraceFi is currently a local prototype with fictional educational content.
▸ src
Vault.sol
Accounting.sol
Shares.sol
interfaces/
▸ tests
Invariant.t.sol
Audit.t.sol
112
113
114
115
116
117
118
119
function previewRedeem(uint256 shares)
public view returns (uint256 assets) {
uint256 totalAssets = _totalAssets();
uint256 totalSupply = totalSupply();
return shares.mulDiv(totalAssets, totalSupply);
}
// Trace every state transition.
$ forge test
[PASS] testInvariantModel() (gas: 186415)
[PASS] testPreviewPath() (gas: 142331)
Test result: ok. 2 passed; 0 failed; 0 skipped.
Runner: local isolated
- FAMILY ATLAS
- 14
- MAPPED PATHS
- 1
- REPOSITORY FILES
- 0
- LOCAL RUNNER
- ISOLATED
How TraceFi works
Learn Model Investigate Test Master
01
Learn
Understand how the implementation should work.
02
Model
Map architecture, state, and invariants.
03
Investigate
Inspect unfamiliar code like a security engineer.
04
Test
Prove your hypothesis with Foundry.
05
Master
Transfer patterns to new protocols.
Community preview
Ask questions. Share methodology. Level up together.
Discuss implementations, Foundry tests, audit methodology, and vulnerability patterns with other learners. Community features are an upcoming product area, not a live forum.
Explore community ->First protocol
Ready to investigate?
Build the mental model. Inspect the code. Prove the failure.
Create your account