T09 · Insecure Skill Coding Practices
- Location
scripts/clanker.sh:318- Finding
Wallet Private Key Exposed Through Process Command-Line Arguments
- Content
View full analysis
/cmdline`, `ps`, process-monitoring agents, audit logs, crash diagnostics, or endpoint telemetry, the complete private key may become visible outside the deployment process. The deployment helper may remain active while waiting up to 120 seconds for a transaction receipt, increasing the observation window. Although `deploy.py` signs transactions locally and transmits only signed transactions to the RPC endpoint, that protection is undermined by exposing the signing key in the local process metadata. Passing the arguments as a quoted array prevents shell command injection, but quoting does not protect the key from process-list disclosure. ### Attack Path 1. A user configures a funded Base wallet and invokes `clanker.sh deploy` or `clanker.sh testnet-deploy`. 2. `clanker.sh` extracts the complet ...[truncated 1355 chars]- Remediation
View remediation
