offensive-tools/exploits/solc/SKILL.md
Auth/lab ref: Solidity compiler for generating ABI, bytecode, metadata, and standard-json outputs.
npx skillsauth add aeondave/malskill solcInstall 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.
Direct Solidity compilation when you want the compiler, not the framework's interpretation of it.
Use solc when you need to:
slither, mythril, or custom tooling with known compilation inputs# Emit ABI and bytecode into a build directory
solc --abi --bin Contract.sol -o build
# Enable optimization explicitly
solc --abi --bin --optimize --optimize-runs 200 Contract.sol -o build
solc --combined-json abi,bin,metadata Contract.sol > combined.json
solc --standard-json < input.json > output.json
solc when you need explicit control.No bundled scripts/, references/, or assets/.
Use the official Solidity compiler docs for standard JSON schema, optimizer controls, and remapping behavior.
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.