eth-bytecode-cracker

Fail

Audited by Gen Agent Trust Hub on May 13, 2026

Risk Level: HIGHREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
  • [REMOTE_CODE_EXECUTION]: The skill fetches JSON data from the Etherscan API and pipes it directly to python3 for parsing. While the Python code is a hardcoded, benign script for data extraction, this pattern creates a dependency on the integrity of the remote response from a well-known service.\n- [COMMAND_EXECUTION]: The skill performs several high-capability operations including: \n
  • Executing docker run to pull and run Solidity compiler images.\n
  • Compiling C source code using gcc for a brute-forcing utility.\n
  • Running Node.js scripts for bytecode comparison and permutation cracking.\n
  • Modifying local git configuration and pushing proofs to a remote repository.\n- [EXTERNAL_DOWNLOADS]: The skill interacts with external blockchain and development services, including the Etherscan API, OpenChain signature database, and GitHub. It also references a specific repository for native compiler binaries. These are used as legitimate data and tool sources for the skill's purpose.\n- [PROMPT_INJECTION]: The skill has an indirect prompt injection surface due to its processing of external, untrusted data. \n
  • Ingestion points: On-chain contract bytecode and transaction data retrieved from the Etherscan API; function signatures from OpenChain.\n
  • Boundary markers: No specific delimiters are used to isolate the external data from the agent's instructions.\n
  • Capability inventory: Access to curl, docker, gcc, node, and git provides a significant impact surface if the agent were to follow instructions embedded in processed data.\n
  • Sanitization: No sanitization or validation of the retrieved hexadecimal bytecode or JSON responses is implemented before the agent processes them.
Recommendations
  • HIGH: Downloads and executes remote code from: https://api.etherscan.io/v2/api?chainid=1&apikey=YOUR_ETHERSCAN_API_KEY&module=proxy&action=eth_getTransactionByHash&txhash=0xDEPLOY_TX, https://api.etherscan.io/v2/api?chainid=1&apikey=YOUR_ETHERSCAN_API_KEY&module=proxy&action=eth_getCode&address=0xCONTRACT&tag=latest - DO NOT USE without thorough review
Audit Metadata
Risk Level
HIGH
Analyzed
May 13, 2026, 12:25 PM
Security Audit — agent-trust-hub — eth-bytecode-cracker