finance-news

Fail

Audited by Gen Agent Trust Hub on Nov 14, 2026

Risk Level: HIGHDYNAMIC_EXECUTIONCOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
  • [DYNAMIC_EXECUTION]: The main CLI entry point scripts/finance-news contains a Python code injection vulnerability in its news subcommand. The script uses the python3 -c flag and directly interpolates the user-provided stock symbol into the Python code string without any escaping or sanitization. This allows an attacker (or a malicious payload from a processed news headline that influences the agent's calls) to execute arbitrary Python code.
  • [DYNAMIC_EXECUTION]: The skill uses dynamic execution patterns in other areas, such as scripts/openbb-quote which executes Python logic defined within a Bash heredoc, and scripts/fetch_news.py which uses sys.executable -c to run batch downloads. These instances appear to be functional wrappers but contribute to the overall complexity and execution model of the skill.
  • [COMMAND_EXECUTION]: The skill extensively uses the subprocess module to coordinate between its internal components (e.g., briefing.py invoking summarize.py) and to interface with external platform tools like openclaw for message delivery.
  • [DATA_EXFILTRATION]: While categorized as data access, the script scripts/earnings.py reads sensitive API keys from the user's home directory (~/.openclaw/.env). While this is a standard configuration pattern for the platform, the skill's ability to read this file combined with its extensive network capabilities presents an exfiltration risk.
  • [INDIRECT_PROMPT_INJECTION]: The skill fetches news headlines and descriptions from multiple external RSS sources. This data is untrusted and is passed directly into LLM prompts for summarization and analysis. Although the skill includes a HARDENED_SYSTEM_PROMPT to instruct the model to ignore embedded commands, it remains a valid attack surface.
  • [EXTERNAL_DOWNLOADS]: The skill performs frequent network operations to aggregate financial data from various third-party domains (e.g., Yahoo Finance, Reuters, Wall Street Journal, Finnhub, and FMP). It also utilizes the is.gd service to shorten news URLs, which involves sending article links to an external third-party provider.
Recommendations
  • AI detected serious security threats
Audit Metadata
Risk Level
HIGH
Analyzed
Nov 14, 2026, 05:52 AM