edge-hint-extractor
Warn
Audited by Gen Agent Trust Hub on Nov 12, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/build_hints.pycontains a functiongenerate_llm_hintsthat usessubprocess.runto execute a command provided via the--llm-ideas-cmdCLI argument. While it usesshlex.splitfor argument parsing, executing arbitrary commands passed from an agent or configuration is a significant security risk if the environment is untrusted. - [DYNAMIC_EXECUTION]: The skill facilitates dynamic runtime behavior by piping internal market data (JSON) to an external process and parsing the output back into the system using
yaml.safe_load. This pattern creates an attack surface where a compromised or malicious external CLI tool could influence the agent's logic. - [REMOTE_CODE_EXECUTION]: Although the skill does not download code from the internet directly, the command execution capability (
--llm-ideas-cmd) can be trivially used to execute remote payloads (e.g.,curl | bash) if an attacker provides a malicious command string.
Audit Metadata