Contents

Chapter 1

Vault Security Suite

Foundry test harness + invariant tests for ERC-4626 vault contracts.

Product 5 of the vault-forge store. Part of the CryptoForge DeFi toolkit.

Price: $9.99 | License: MIT | Solidity: ^0.8.24 | Framework: Foundry


Chapter 2

Overview

vault-security-suite is a comprehensive security testing framework for CryptoForgeVault (ERC-4626). It includes:

  • 20+ stateful invariant tests — Property-based testing with random operation sequences
  • Inflation attack proofs — Demonstrates virtual share protection against the classic ERC-4626 donation attack
  • Fee manipulation tests — Edge cases in management/performance fee collection, HWM bypasses, rounding exploits
  • Reentrancy attack scenarios — Malicious tokens and strategies attempting reentrant calls
  • Strategy misbehavior tests — Partial returns, inflated values, reverts, and rug pulls
  • Gas benchmarks — Gas costs for all critical operations
Chapter 3
🔒 Available in full product

Architecture

Chapter 4
🔒 Available in full product

Installation

You’ve reached the end of the free preview

Get the full Vault Security Suite and unlock everything.

All Chapters

Get the complete guide with every chapter unlocked, including code samples, diagrams, and best practices.

Full Tool Suite

Access all interactive tools with complete data, all workload profiles, and the full scenario library.

Source Files

Downloadable source code, configuration files, and working examples from every chapter.

Lifetime Updates

Free updates for life. Every new chapter, tool, and improvement included.

Buy Now — $10 →
📦 Free sample included — download another copy for the full product.
Vault Security Suite v1.0.0 — Free Preview