Back to skill

Security audit

A股港股美股股价查询

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward stock quote lookup tool that makes disclosed, purpose-aligned finance data requests and does not show hidden persistence, credential access, or destructive behavior.

Before installing, users should know this skill sends the entered stock name or code to public finance services for lookup and returns Chinese-formatted output. It appears suitable for quote lookup, but it should not be treated as financial advice or as a private/offline tool.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill instructs the agent to run a Python script that fetches stock data from Sina Finance, which implies outbound network access, but the manifest does not declare any tool scope or permissions. Undeclared network capability weakens governance and user/host visibility, making it easier for a skill to perform unexpected external communication or expand behavior beyond what reviewers expect.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The activation description is broad enough to trigger on generic stock-price or market-data requests, which can cause the agent to invoke this skill in cases outside its narrow intended workflow. Overbroad activation increases the chance of unintended code execution and unnecessary network calls, especially in multi-skill environments where more appropriate or safer tools may exist.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill content, trigger conditions, and usage examples are entirely in Chinese and imply interaction in that language, but there is no statement that this is optional or limited to a Chinese-language context. Under the policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This Python skill contains user-facing docstrings, status messages, usage text, and formatted results entirely in Chinese, and it does not offer any language selection or opt-in. That creates a natural-language locale policy issue because the skill effectively forces one language for all users without documenting a justified region-specific limitation.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The user-facing text printed in the main block says 'A股股票价格查询' and presents the tool as an A-share stock price query utility, while the implementation explicitly handles '美股' and '港股' in get_stock_price and search_stock_code. This is an intent/documentation mismatch because the inline usage messaging understates the actual supported scope.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.