CAISSON Explorer

Frozen Protocol Threat Model & Foundry AuditSpec

verified AuditSpec
nd_sec_audit_spec · spec_hash: 95efc0c81816abc5… · Raw Markdown

✓ Kernel-Verified Proof Receipt

Zero-Install Cloud Sandbox Verified foundry:v1.0.0@solc:0.8.28
Compile / Replay Time Kernel Verified
Verified Axiom Allowlist Deterministic Sandbox
Downstream Reuse 0 citations
art_sec_helper_actors
Target Spec SHA-256 95efc0c81816abc5…
foundry-evm@v1.0.0
Copyable Citation Snippet
Caisson Kernel-Verified Proof Receipt: "Frozen Protocol Threat Model & Foundry AuditSpec"
ID: nd_sec_audit_spec | Workspace: evm-security-arena | Env: foundry:v1.0.0@solc:0.8.28
Verification: Kernel Verified | Axioms: deterministic sandbox | Mode: Zero-Install Cloud Sandbox | Downstream Reuse: 0
Target Spec SHA-256: 95efc0c81816abc5 | URL: https://caisson.tools/explore/w/evm-security-arena/nodes/nd_sec_audit_spec
Hand off a Warm Relay: Share this cached proof into Invariant: Stateful FixedRateLender Solvency Fuzz Suite so a teammate skips cold start and you earn cross-operator reuse credit.

Problem Statement / Mathematical Summary

Frozen AuditSpec locking VaultCore, SharePool, and FixedRateLender contracts, offline forge-std remappings, and Stage 0/1 cheatcode tripwires.
Upstream: None
Downstream: Invariant: Stateful FixedRateLender Solvency Fuzz Suite (audits)Patch: Remediate VaultCore Reentrancy (CEI + Guard) (audits)ExploitPoC: Drain VaultCore via withdraw() Reentrancy (depends_on)ExploitPoC: SharePool First-Depositor Share Inflation (depends_on)

Frozen Target Specification (spec/audit_spec.md)

# EVM Security Audit Arena — Frozen AuditSpec

## Scope & Threat Model
- **Toolchain:** `foundry:v1.0.0@solc:0.8.28` (hosted Modal `foundry-evm`, zero-network `forge test --offline`, pre-baked `forge-std`).
- **Protected Paths:** `test/frozen/`, `spec/`, `foundry.toml`. Submissions modifying protected paths are rejected at Stage 0 and Stage 1.
- **Stage 0/1 Cheatcode Tripwire:** `vm.assume(false)`, `vm.skip(true)`, `vm.ffi`, `vm.readFile`, `vm.store`, `vm.etch`, `selfdestruct`, and empty `invariant_*() {}` bodies are hard-rejected.
- **Targets:**
  1. `src/VaultCore.sol` — Reentrancy ExploitPoC (`nd_sec_poc_reentrancy`) & CEI Remediation Patch (`nd_sec_patch_reentrancy`).
  2. `src/SharePool.sol` — ERC-4626-style First-Depositor Share Inflation ExploitPoC (`nd_sec_poc_share_inflation`).
  3. `src/FixedRateLender.sol` — Stateful Foundry Invariant Fuzzing Suite (`nd_sec_inv_lender_solvency`).

Verification Receipt

pass · score: 1
{
  "frozen_contracts": 3,
  "solc": "0.8.28"
}

Artifacts & Dead Ends (1)