wallet-tracker-mcap
Pass
Audited by Gen Agent Trust Hub on Oct 8, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted metadata (such as token symbols and names) fetched from the Solana blockchain via the onchainos CLI. This data could contain malicious instructions intended to influence the agent's behavior.
- Ingestion points: The
get_wallet_holdingsfunction inwallet_tracker.pyand various functions inrisk_check.pyfetch token-related strings from the blockchain. - Boundary markers:
SKILL.mdincludes a dedicated 'External Data Boundary' section that explicitly instructs the AI to treat all data from the CLI as untrusted and ignore embedded instructions. - Capability inventory: The skill can perform on-chain writes, including buying and selling tokens, via the
onchainosCLI. - Sanitization: The skill implements a whitelist of 'Safe Fields for Display' and requires a specific typed confirmation ('confirm live trade') before entering live mode.
- [COMMAND_EXECUTION]: The skill relies on executing shell commands to interact with the
onchainosCLI for data retrieval and transaction broadcasting. - Evidence:
wallet_tracker.pyandrisk_check.pyusesubprocess.runto call the CLI tool. Commands are passed as lists withoutshell=True, which mitigates standard command injection risks, but the reliance on external CLI arguments remains an active capability. - [DYNAMIC_EXECUTION]: The skill includes a setup wizard that modifies its own configuration file at runtime.
- Evidence: The
interactive_setupand_save_config_to_diskfunctions inwallet_tracker.pyuse regular expressions to overwrite values inconfig.pybased on user input. While this is a functional feature for bot configuration, it involves self-modifying code patterns.
Audit Metadata