DeFi Security
Code library
Public reproduction files from the reference dataset, shared helpers, and defensive patterns — shown verbatim in our reader as published at the pinned commit. ThreatWire never runs this code.
Defensive patterns (ours)
1 file2026-10-19 · 37 lines · shown in reader
Guarded delegation pattern (illustrative)MakerDAO flip keeper: an unprotected function handed an attacker control of dormant auction winnings
Shared helpers
4 filesundated · 142 lines · shown in reader
src/test/basetest.solundated · 6133 lines · shown in reader
src/test/interface.solundated · 39 lines · shown in reader
src/Poc-template.solundated · 47 lines · shown in reader
src/test/tokenhelper.sol
Linked to analysed incidents
14 files2026-10-15 · 261 lines · shown in reader
src/test/2026-10/KolanHook_exp.solKolanHook: an unbounded buyback settled at a manipulated spot price
2026-10-14 · 378 lines · shown in reader
src/test/2026-10/UNCXSmartTokenVesting_exp.solUNCX Vesting V2: share records and token balance made to disagree
2026-10-06 · 215 lines · shown in reader
src/test/2026-10/MakerDAOFlipKeeper_exp.solMakerDAO flip keeper: an unprotected function handed an attacker control of dormant auction winnings
2026-10-01 · 345 lines · shown in reader
src/test/2026-10/FlashLoopAdapter_exp.sol2026-09-03 · 292 lines · shown in reader
src/test/2026-09/NotionalFinance_exp.solNotional V1: integer overflow in a deprecated escrow contract
2026-08-23 · 250 lines · shown in reader
src/test/2026-08/TermFinance_exp.sol2023-03-13 · 148 lines · shown in reader
src/test/2023-03/Euler_exp.sol2022-08-02 · 91 lines · shown in reader
src/test/2022-08/NomadBridge_exp.sol2022-04-16 · 145 lines · shown in reader
src/test/2022-04/Beanstalk_exp.sol2022-03-29 · 52 lines · shown in reader
src/test/2022-03/Ronin_exp.sol2021-10-27 · 350 lines · shown in reader
src/test/2021-10/Cream_2_exp.sol2021-08-30 · 79 lines · shown in reader
src/test/2021-08/Cream_exp.sol2021-08-11 · 206 lines · shown in reader
src/test/2021-08/PolyNetwork_exp.sol2021-05-19 · 232 lines · shown in reader
src/test/2021-05/PancakeBunny_exp.sol
Dataset reproduction files
479 filesVerbatim public tests linked from database entries (2024–2026 and high-loss older cases). Open an entry in the database to reach its file. These pages stay noindex until we review the incident.
479 files stored locally and served on demand. ThreatWire has not executed any of them.