OWASP & AppSec · TOCTOU proof

Business logic and races

Tests balance conservation, uniqueness, state skipping, rounding arbitrage, and concurrent check-then-act races.

Workflow stages

  1. 01
    Invariant matrix

    Executed deterministically inside the AegisSec workflow and logged in coverage-ledger.json before advancing to verification.

  2. 02
    State abuse

    Executed deterministically inside the AegisSec workflow and logged in coverage-ledger.json before advancing to verification.

  3. 03
    H2 single-packet

    Executed deterministically inside the AegisSec workflow and logged in coverage-ledger.json before advancing to verification.

Usage in AI coding agents

Run skills/business-logic-race-testing/SKILL.md against this repository.
Seed coverage-ledger.json first, attach paired proofs, and send candidates through finding-verifier.

Companion skills