Back to skill

Security audit

股票查询 - Stock Inquiry

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed stock market lookup tool that sends stock query parameters and a Jisu API key to the documented Jisu stock API.

Install only if you are comfortable giving the skill access to your Jisu AppKey and sending stock codes, dates, and requested financial-query parameters to JisuAPI. Treat returned market data as third-party financial information, not trading advice.

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
  • 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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (3)

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares executable requirements including environment access for JISU_API_KEY and makes external API calls, but it does not declare an explicit tool scope such as permissions or allowed-tools. This creates a capability/visibility gap: a host or reviewer cannot easily enforce least privilege, and a broader execution environment may grant more access than the skill actually needs.

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 · stock.py (reported line 15)May include surrounding context.

python
import requests


BASE_URL = "https://api.jisuapi.com/stock"


def _call_stock_api(path: str, appkey: str, params: Dict[str, Any]):