tushare-finance

PassAudited by VirusTotal on May 12, 2026.

Overview

Type: OpenClaw Skill Name: tushare-finance Version: 2.0.6 The skill is classified as suspicious due to the broad `Bash(python:*)` permission declared in `SKILL.md`. While the provided Python code (`scripts/api_client.py`) and instructions are benign and focus on legitimate financial data retrieval and local export, the extensive `Bash(python:*)` capability presents a significant attack surface for prompt injection. An AI agent executing this skill could be manipulated to run arbitrary Python code via Bash, potentially leading to remote code execution (RCE) within the agent's environment, even though no direct malicious intent is observed in the skill's own code or explicit instructions.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

The skill can use your Tushare account token to request data, and a saved token may remain available to future local processes.

Why it was flagged

The skill uses a Tushare API token and suggests storing it persistently in a shell profile; this is expected for the service, but it exposes the user's API account/quota if mishandled.

Skill content
echo 'export TUSHARE_TOKEN="your_token_here"' >> ~/.bashrc
Recommendation

Use a dedicated token if possible, avoid pasting it into chat or logs, keep shell/config files private, and revoke or rotate the token if it is exposed.

What this means

When used, the agent may run Python locally to fetch and process financial data.

Why it was flagged

The skill is allowed to run local Python commands and read files; that is proportionate for a Python-based data API helper, but it is still local execution authority.

Skill content
allowed-tools:\n  - Bash(python:*)\n  - Read
Recommendation

Keep usage limited to requested Tushare queries and review any proposed Python command before it runs, especially if it writes files or accesses credentials.

What this means

Installing dependencies can add or update code in the user's Python environment.

Why it was flagged

The setup guidance installs third-party Python packages without pinned exact versions; this is normal for a Tushare integration but depends on external package provenance.

Skill content
pip install tushare pandas
Recommendation

Install in a virtual environment, use trusted package indexes, and pin or review package versions for reproducible setups.

What this means

Some documented commands may fail or may tempt users to fetch additional unreviewed files from elsewhere.

Why it was flagged

The README documents helper scripts such as quick_query.py and batch_export.py, but the provided manifest only shows scripts/api_client.py under scripts, indicating a packaging/documentation mismatch.

Skill content
python scripts/quick_query.py --stock 000001.SZ --start 2024-01-01 --end 2024-12-31
Recommendation

Use only files included with the installed skill unless you separately verify any additional scripts from the upstream repository.