Back to skill

Security audit

Tushare

Security checks for vulnerabilities and agentic risk

Overview

The Tushare functionality is coherent, but setup can execute unverified downloaded code and introduce broader agent changes without clear user approval.

Review setup before installing. Prefer a separately reviewed CLI installation and control its automatic skill synchronization. Connecting Tushare entrusts its API key and queries to OOMOL and may incur charges. No malicious behavior was established, but the remote installers and server implementation were not verified.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
98% confidence
Finding

The supplied command performs remote installer execution rather than searching or reading Tushare data. Nothing in the supplied code establishes that this installation supports the declared Tushare functionality. The downloaded script's contents and further effects cannot be determined from this chunk.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk performs only an authentication command and shows no Tushare search or data-reading behavior. Authentication could be a supporting implementation detail if tied to Tushare, but no such connection is established here; the visible behavior instead targets the oo CLI.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a mutable remote installer directly into bash executes its contents without an opportunity for inspection or independent integrity verification. If the installer distribution endpoint is compromised, attacker-controlled code could access local files and credentials or modify the environment; HTTPS alone does not prevent this supply-chain scenario.

Content

Scanner excerpt · SKILL.md (reported line 61)May include surrounding context.

The setup workflow executes downloaded installation scripts without warning about local code execution and system changes.

Medium
Category
Output Handling
Confidence
94% confidence
Finding

The fallback workflow instructs the agent to execute downloaded shell or PowerShell code without first explaining the local changes or obtaining explicit installation approval. Although installation supports the stated task and only occurs when the CLI is missing, it crosses from reading financial data into executing code with the invoking user's privileges.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 82)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources