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-newscontains a Python code injection vulnerability in itsnewssubcommand. The script uses thepython3 -cflag 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-quotewhich executes Python logic defined within a Bash heredoc, andscripts/fetch_news.pywhich usessys.executable -cto 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
subprocessmodule to coordinate between its internal components (e.g.,briefing.pyinvokingsummarize.py) and to interface with external platform tools likeopenclawfor message delivery. - [DATA_EXFILTRATION]: While categorized as data access, the script
scripts/earnings.pyreads 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_PROMPTto 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.gdservice to shorten news URLs, which involves sending article links to an external third-party provider.
Recommendations
- AI detected serious security threats
Audit Metadata