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.py contains a function generate_llm_hints that uses subprocess.run to execute a command provided via the --llm-ideas-cmd CLI argument. While it uses shlex.split for 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
Risk Level
MEDIUM
Analyzed
Nov 12, 2026, 11:36 AM