Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
New level: FrontRunner.
What's included
FrontRunnerFactory.sol/FrontRunner.sol(level contracts)test/levels/FrontRunner.t.sol(testInit + testSolve)en,es, andpt_brgamedata.jsonentry (deployId 42)authors.jsonentryLevel42.svg/BigLevel42.svglevel icon, matching the existing icon system