cast
Fail
Audited by Gen Agent Trust Hub on Feb 27, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONCREDENTIALS_UNSAFEEXTERNAL_DOWNLOADSPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The
SKILL.mdfile contains an installation instructioncurl -L https://foundry.paradigm.xyz | bashwhich pipes a remote script from an untrusted source directly into the system shell. This pattern allows for arbitrary code execution with the privileges of the user running the command. - [CREDENTIALS_UNSAFE]: The
references/wallet-commands.mdandreferences/transaction-commands.mdfiles describe the use of highly sensitive private keys and provide documentation for an--unsafe-passwordflag for keystore encryption. Additionally, commands likecast wallet newandcast wallet signinvolve the generation and handling of plaintext private keys in the terminal environment. - [EXTERNAL_DOWNLOADS]: The skill documents multiple commands that fetch data from external, non-whitelisted third-party services including:
openchain.xyzfor function and event signature lookups (references/4byte-commands.md).- Etherscan for contract creation code and source code retrieval (
references/code-commands.mdandreferences/utility-commands.md). - User-provided RPC URLs for general blockchain state queries and transaction submission.
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection (Category 8) as it processes untrusted data from external sources:
- Ingestion points: RPC responses in
references/transaction-commands.md, signature strings fromopenchain.xyzinreferences/4byte-commands.md, and contract metadata from Etherscan inreferences/code-commands.md. - Boundary markers: None identified in the provided documentation to distinguish between command output and potentially malicious instructions embedded in blockchain data.
- Capability inventory: The skill uses the
Bashtool to executecastcommands, providing a significant capability surface for an attacker who can influence command output. - Sanitization: No evidence of output sanitization or validation before the agent interprets the results of the CLI calls.
- [COMMAND_EXECUTION]: The skill requires the
Bashtool to interact with the system and execute thecastbinary, which allows for broader system interaction than typical data-only skills.
Recommendations
- HIGH: Downloads and executes remote code from: https://foundry.paradigm.xyz - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata