Skip to content

Assay 11 · Web3 · Wave 3

Reentry

Patch a vulnerable smart contract without changing what honest users can do.

The environment

Private for nowIn developmentEvals & results coming soon
Domain:
Web3
Substrate:
Container
Wave:
3 of 4
Status:
In development
Results:
Coming soon
Episode · schematic

Illustration

The scenario
A Solidity project with tests and one planted vulnerability. The agent gets an audit-style hint of varying precision.
How tasks are generated
Contract template (vault, token, lending pool, governance) times vulnerability: reentrancy, missing access control, precision loss, price-oracle manipulation, an unchecked return value, signature replay, a storage clash.
What the agent gets
A shell, file edits, a local chain and a test framework.
How it is graded
Hidden exploit tests can no longer drain or seize funds, invariant fuzzing holds, functional tests pass, gas stays within a bound of the reference patch, and storage layout is unchanged where the contract is upgradeable.
Scores zero
Pausing the contract or reverting every call, removing the affected function, blocklisting the test attacker's address.

Three tiers.

  1. Easy

    A textbook single-function flaw.

  2. Medium

    A flaw across two contracts.

  3. Hard

    Economic attacks that need several transactions to show.

Evals & results

Evals & results coming soon. Frontier-model baselines and a base-versus-trained comparison will be posted here when Reentry is ready.

Next · Assay 12LeastPriv