{"repo":"Z-Bra0/Tx2Poc","free":true,"listed":false,"github":"https://github.com/Z-Bra0/Tx2Poc","clone":"git clone https://github.com/Z-Bra0/Tx2Poc.git","description":"Trace EVM exploit transactions into Foundry fork PoCs.","language":"Solidity","stars":22,"topics":["defi","ethereum","evm","exploit-analysis","poc-generator","web3-security"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"tx2poc tx2poc is an agent skill for turning an EVM transaction ID into a Foundry fork PoC. This project is sponsored by the DeFiHackLabs AI Credits Initiative. Requirements - Alchemy API key for trace fetching (paid feature), set as ALCHEMY API KEY . - Etherscan API key for source/ABI lookup, set as ETHERSCAN API KEY . - Foundry, for running generated PoCs with forge test . Basic Use Open this repo as the agent root folder, then ask for $tx2poc with a chain name and tx hash: The skill handles trace fetching, evidence, role decisions, analysis, PoC authoring, and verification. Output goes under cases/ / . tx2poc Skill Workflow 1. Fetch transaction, receipt, block, and call trace. 2. Normalize the trace into readable summaries and factual context. 3. Decode calldata and query source/token evidence only when needed. 4. Decide attacker, attack contract, vulnerable contract, victim, and fork block. 5. Write metadata.json , attack analysis.md , and the Foundry PoC. 6. Run and iterate the PoC until it passes or a blocker is clear. Repo Layout - cases/ : generated tx cases, factual artifacts, analysis, and PoCs. - cases/basetest.sol , cases/interface.sol , cases/StableMath.sol , cases/tokenhelper.sol : shared Solidity helpers. - tests/ : offline Python tests for tx2poc helper scripts. - skills/tx2poc/ : portable tx2poc skill, scripts, data, and references. - .agents/skills/ : repo-local Codex automation skills. - DeFiHackLabs/ : gitignored local clone of the user's DeFiHackLabs fork,","default_branch":null,"files":null,"tree":[],"storefront":"/r/Z-Bra0","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Z-Bra0/Tx2Poc/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}