trace-tx
Warn
Audited by Gen Agent Trust Hub on Jun 25, 2026
Risk Level: MEDIUMCREDENTIALS_UNSAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [CREDENTIALS_UNSAFE]: The instructions in
SKILL.mdencourage the agent to construct an RPC URL containing theALCHEMY_API_KEYand pass it as a command-line argument to thetrace_tx.shscript. This practice exposes the sensitive API key in the system's process table (e.g., visible viapscommands) and potentially in shell history files. - [COMMAND_EXECUTION]: The
scripts/trace_tx.shscript performs unsafe string interpolation when building the JSON-RPC payload. Specifically, theTRACERargument is inserted directly into the JSON string without escaping or validation. An attacker providing a malicious tracer string could perform JSON injection to modify the RPC request, potentially invoking different methods or altering parameters. - [PROMPT_INJECTION]: The skill is vulnerable to indirect prompt injection because it processes untrusted data from external blockchain RPC providers. Malicious instructions could be embedded in on-chain transaction data or revert reasons, which the agent then ingests and interprets when summarizing the trace.
- Ingestion points: The
RESPONSEvariable inscripts/trace_tx.shwhich captures the RPC output. - Boundary markers: None identified; the agent is provided with the raw or pretty-printed JSON output.
- Capability inventory: The skill can execute shell scripts and write the results to the local filesystem via the
-oflag. - Sanitization: None; the script uses standard Python JSON libraries to format the output but does not filter for potential prompt injection patterns.
Audit Metadata