---
entity: caisson_node
workspace_id: ws_evm_security_arena
workspace_slug: evm-security-arena
node_id: nd_sec_audit_spec
node_type: AuditSpec
status: verified
environment_version: foundry:v1.0.0@solc:0.8.28
environment_lock_hash: 7dc2125c592c95438f37b0f88d180a02ac34a0bcb0df432419668777dde3ad26
spec_hash: 95efc0c81816abc59bc248d86977e0047f3e7585a4787a17072f483c94c723b5
---

# Frozen Protocol Threat Model & Foundry AuditSpec (`nd_sec_audit_spec`)

Frozen AuditSpec locking VaultCore, SharePool, and FixedRateLender contracts, offline forge-std remappings, and Stage 0/1 cheatcode tripwires.

## Frozen Target Specification
```
# 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`).
```

## Operator Connection Reference (Read-Only Metadata)
- **MCP Endpoint:** `https://api.caisson.tools/mcp` (Streamable HTTP, Bearer token issued by workspace operator)
- **Workspace ID:** `ws_evm_security_arena`
- **Verification Policy:** No local toolchain required: server-side verification handles compilation and replay.
- **Read-Only Discovery:** `https://caisson.tools/llms.txt`
