offensive-tools/exploits/foundry-cast/SKILL.md
Auth/lab ref: command-line utility for interacting with Ethereum-compatible chains.
npx skillsauth add aeondave/malskill foundry-castInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CLI Swiss Army knife for Ethereum and EVM chains.
Use cast when you need to:
# Balance lookup
cast balance 0x0000000000000000000000000000000000000000 --rpc-url https://rpc.example
# Read-only contract call
cast call 0xContract "owner()(address)" --rpc-url https://rpc.example
# Inspect storage slot 0
cast storage 0xContract 0 --rpc-url https://rpc.example
cast calldata "transfer(address,uint256)" 0x1111111111111111111111111111111111111111 1000000000000000000
cast abi-decode "(uint256,address)" 0x0000000000000000000000000000000000000000000000000000000000000042
cast block-number --rpc-url https://rpc.example
cast code 0xContract --rpc-url https://rpc.example
cast receipt 0xTxHash --rpc-url https://rpc.example
cast rpc eth_chainId --rpc-url https://rpc.example
cast send 0xContract "setValue(uint256)" 1 --rpc-url https://rpc.example --private-key 0xYOURKEY
call first; it answers a surprising amount before you risk a transaction.storage is excellent for proxy, slot, and state-layout triage.solc for compilation context and slither or mythril for deeper security review.send signs and broadcasts a transaction, so treat it as a deliberate action.No bundled scripts/, references/, or assets/.
Use the current Foundry cast reference for subcommand-specific flags and aliases.
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.