Back to skill

Security audit

选股神器|一句话选A股

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed Chinese A-share stock-screening helper that sends user stock queries to the iWenCai API and does not show hidden persistence, local data access, destructive behavior, or deceptive instructions.

Install only if you intend to use iWenCai for Chinese A-share screening and are comfortable sending your stock-screening queries, along with an iWenCai API key, to that provider. Treat outputs as market data screening, not personalized financial advice, and prefer explicit user consent before using extra search or finance tools for enrichment.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (7)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill requires both environment access (IWENCAI_API_KEY) and outbound network access to the iWenCai API, but it does not declare any explicit tool scope or permission boundaries. This weakens least-privilege enforcement and makes it easier for a host agent to grant broader capabilities than intended, increasing the chance of secret exposure or unintended external calls.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The documentation explicitly authorizes using other financial or search tools when the returned data is deemed insufficient. That expands the skill beyond its stated single-provider stock-screening purpose and can cause uncontrolled data egress, prompt injection exposure from search results, or use of tools with different trust and privacy properties.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

python3 scripts/cli.py --query "今日涨停的股票" --timeout 60

text

### curl 示例(脱敏)

```bash
curl -X POST "https://openapi.iwencai.com/v1/query2data" \

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The manifest description is broad marketing-style language that suggests the skill should be used whenever a user expresses stock-screening intent, but it does not define clear invocation boundaries, eligibility checks, or limiting conditions. In an agent environment, this can cause over-triggering in loosely related financial conversations, leading the model to invoke a third-party stock-selection capability more often than intended and potentially expose users to unsuitable financial guidance workflows.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The user-facing description is entirely in Chinese and instructs interaction through a Chinese example phrase, but the file does not indicate that the skill is region-specific or that users may choose another language. This can violate language/locale policy when a skill effectively assumes a fixed language without opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The module docstring and all user-facing help/error text are written in Chinese and present the CLI as operating in that language by default. There is no option or notice offering users a language choice or documenting a justified region-specific constraint, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The description states that when users ask A股 stock screening questions, the agent 'must use this skill.' The skill content is entirely Chinese and does not indicate any user opt-in or alternative locale/language behavior, which can conflict with a policy requiring language or locale choice.

Content

No source excerpt is available for this finding.