Skip to content
THREATWIRE

Public reproduction file

src/test/2022-09/NewFreeDAO_exp.sol

Public reproduction file for dataset entry NewFreeDAO.

Code

Verbatim source from the public dataset at the pinned commit below. Licence header preserved. ThreatWire has not executed this code. It is shown for defensive research, as published in the public reference dataset. Check licences, verify the blob against the pinned commit, and do not run it against live contracts without your own review.

src/test/2022-09/NewFreeDAO_exp.sol573 lines in 4 sections
Attacker, Exploitlines 1–143
Preamble and declarationslines 144–297
Preamble and declarationslines 298–438
Preamble and declarationslines 439–572

Analysis

Dataset entry

Public Foundry test for “NewFreeDAO” (2022-09-08). Addresses, transactions and links below are taken from comments in the file itself. ThreatWire has not verified them on-chain and has not executed this file.

Related files

12 linked

Imports used by this file, other reproduction files from the same month or protocol in the dataset, and patterns for the same incident. Each opens in our reader with verbatim source.

Listed in the source file

Listed by the source dataset, not verified by ThreatWire

  • Attacker

    0x22c9736d4fc73a8fa0eb436d2ce919f5849d6fd2

  • Attack Contract

    0xa35ef9fa2f5e0527cb9fbb6f9d3a24cfed948863

  • Vulnerable Contract

    0x8b068e22e9a4a9bca3c321e0ec428abf32691d1e

  • Attack Tx

    0x1fea385acf7ff046d928d4041db017e1d7ead66727ce7aacb3296b9d485d4a26

  • Attack Tx

    0xb6f9b5ef1feeadb379a2de8f79bb04dd6920bfb214136d057eed4ce23a0003f8

  • Attack Tx

    0x8b77d75efa185295b09bdf2edcb509541fdde40ed5484212331ceac41b2f4ac0

File record

Name
NewFreeDAO
Path
src/test/2022-09/NewFreeDAO_exp.sol
Repository
SunWeb3Sec/DeFiHackLabs (licence Apache-2.0)
Commit
7363f76db51f0fea97f8e659b20ee8bdc5fbca25
Blob
fccdcf149a34846bf4fd8b070c87704aeea4b7ff
Language
Solidity
Size
573 lines
Date
2022-09-08
Licence
file header UNLICENSED; repository Apache-2.0
Retrieved
2026-10-19

Provenance

Path src/test/2022-09/NewFreeDAO_exp.sol, commit 7363f76db51f0fea97f8e659b20ee8bdc5fbca25, blob fccdcf149a34846bf4fd8b070c87704aeea4b7ff, retrieved 2026-10-19. Verbatim file via git show at the pinned commit; SPDX header preserved. ThreatWire has never executed this file. Reference: source file at the pinned commit.