The skill is vulnerable to command injection, exposes
Claims to do
金融数据查询: - 本技能仅使用一个环境变量:`EM_API_KEY`。 - `EM_API_KEY` 由东方财富妙想服务(`https://ai.eastmoney.com/mxClaw`)签发,用于其接口鉴权。 - 在提供密钥前,请先确认密钥来源、可用范围、有效期及是否支持重置/撤销。 - 禁止在代码、提示词、日志或输出文件中硬编码/明文暴露密钥。
Actually does
The skill installs Python dependencies (`httpx`, `pandas`, `openpyxl`), reads an `EM_API_KEY` environment variable, and executes a Python script (`get_data.py`) with a natural language query. This script likely contacts the Eastmoney Miaoxiang service (`https://ai.eastmoney.com/mxClaw`) to retrieve financial data, outputting the results into an `.xlsx` file and a `.txt` description file.
openclaw skills install financial-ai-analyst/mx-finance-dataThe skill executes a Python script (`get_data.py`) with a user-provided natural language query as an argument. If the script does not properly sanitize this input before using it in shell commands or API calls, it could lead to command injection.
python3 {baseDir}/scripts/get_data.py --query "贵州茅台近期走势如何"The `EM_API_KEY` is made available as an environment variable to the executed `get_data.py` script. A malicious or compromised script could exfiltrate this sensitive API key, leading to unauthorized access to the Eastmoney API.
requires: env: ["EM_API_KEY"], export EM_API_KEY="your_api_key_here"
The skill installs Python dependencies (`httpx pandas openpyxl`) via `pip`. While these are common packages, there's an inherent supply chain risk if the package index is compromised or if typosquatting occurs, potentially leading to the execution of malicious code during installation.
install: [{id: "pip-deps", kind: "python", package: "httpx pandas openpyxl"}][](https://mondoo.com/ai-agent-security/skills/clawhub/financial-ai-analyst/mx-finance-data)<a href="https://mondoo.com/ai-agent-security/skills/clawhub/financial-ai-analyst/mx-finance-data"><img src="https://mondoo.com/ai-agent-security/api/badge/clawhub/financial-ai-analyst/mx-finance-data.svg" alt="Mondoo Skill Check" /></a>https://mondoo.com/ai-agent-security/api/badge/clawhub/financial-ai-analyst/mx-finance-data.svgSkills can read files, run commands, and access credentials. Mondoo helps organizations manage the security risks of AI agent skills across their entire fleet.