Repository navigation
Add 6 new detectors from real-world 2026 incidents (v2.5.0) - #3
Merged
arena-ai-coding-agent[bot] merged 1 commit intoAug 26, 2026
Merged
arena-ai-coding-agent[bot] merged 1 commit into
arena-ai-coding-agent[bot] merged 1 commit into
Conversation
…w reentrancy, domain-separator arg, permit front-run DoS) with fixtures, tests, and knowledge-brain enrichment; bump to 2.5.0 Co-authored-by: arena-agent <297053741+arena-agent@users.noreply.github.com>
sharthak18
restored the
arena/01a03e5e-self-smart-contract-auditing-t
branch
September 1, 2026 18:46
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
Drives the SELF auditing tool forward using concrete, citable 2026 real-world incidents and disclosures:
staticcall/call/delegatecallsites where the booleansuccessis discarded before the return data is decoded/compared. Generalizes the Gnosis Pay / Zodiac Roles & Delay module EIP-1271 bypass (June 2026, ~$1.5M loss).--via-irtransient/persistent storage clearing collision ("TSTORE Poison", solc 0.8.28–0.8.33, fixed in 0.8.34): flagsdeleteon atransientvariable alongside a persistent value of a matching type in the same compilation unit under an affected/unpinned compiler version.get_virtual_price,getRate,pricePerShare, …) with no reentrancy guard, enabling read-only reentrancy against downstream integrators.block.chainid/address(this).permit()call in router functions with no try/catch + allowance fallback, enabling front-run griefing/DoS.Detector catalog grows from 161 → 167 IDs, all with hardcoded review profiles (catalog ↔ profile parity preserved and gated by existing tests).
Also included
tests/contracts/*.sol,tests/contracts/negative/*.sol).tests/test_new_detectors.py, 3 intests/test_autonomous.py).AV-*attack-vector playbooks, 2 new incident post-mortems (INC-GNOSISPAY-ZODIAC-2026,INC-SOLC-TSTORE-POISON-2026), and a new dependency advisory (DEP-SOLC-TSTORE-POISON-2026) — all consumed byself train/self autonomous.solc+via_ir = trueinfoundry.tomland flags the TSTORE Poison compiler range.RULE_VERSIONunchanged — additive, non-breaking for existing fingerprints).Testing
python -m pytest tests/ -q→ 159 passed, 0 failures.self trainpicks up the new brain entries.low_info_detectors.pyAttributeError onProxyStorageCollision.solduring a full-directory scan) predates this change (reproduced identically onmainviagit stash), so it's out of scope here.