Skip to content

Add new level FrontRunner - #862

Open
mivgubel wants to merge 2 commits into
OpenZeppelin:masterfrom
mivgubel:feat/frontrunner-level
Open

mivgubel wants to merge 2 commits into
OpenZeppelin:masterfrom
mivgubel:feat/frontrunner-level

Conversation

@mivgubel

@mivgubel mivgubel commented Sep 25, 2026 •

Copy link
Copy Markdown

Summary

New level: FrontRunner.

What's included

  • FrontRunnerFactory.sol / FrontRunner.sol (level contracts)
  • test/levels/FrontRunner.t.sol (testInit + testSolve)
  • Description + completion markdown in en, es, and pt_br
  • gamedata.json entry (deployId 42)
  • authors.json entry
  • Level42.svg / BigLevel42.svg level icon, matching the existing icon system

mivgubel and others added 2 commits September 23, 2026 18:13
New Ethernaut level, solvable via direct calls from an EOA. See the
level's own description and completion write-up (shown in-game
before and after solving) for the vulnerability and the solve path.

Includes FrontRunnerFactory.sol / FrontRunner.sol, a Foundry test,
description and completion markdown in en/es/pt_br, a gamedata.json
entry (deployId 42), an authors.json entry, and a level icon matching
the existing icon system.

Verified with forge test (full suite passes), forge build --sizes,
and a manual playthrough against a local deployment with a real
wallet connection: created an instance, solved it, submitted it, and
confirmed the completed state renders correctly in the UI.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
The instance contract's source is shown to players before they solve
the level (revealCode: true). Its NatSpec comment explained the
vulnerability outright. Trimmed to purely functional comments.

Also dropped the third "things that might help" hint (en/es/pt_br):
combined with the other two, it stated the solve path almost as
directly as the completion write-up does.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@mivgubel mivgubel changed the title Add FrontRunner level (ERC20 approve race condition) Add new level FrontRunner Sep 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant