Back to skill

Security audit

Sector Anomaly - A股板块异动分析

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed local A-share sector analysis tool that reads market data and prints a research report without hidden persistence or exfiltration behavior.

Install this only in a project where the referenced stock database and stock-pool mapping are intended to be used for analysis. Be aware that optional refresh commands may update local market data or use network-backed project tooling, so run them deliberately. Outputs are research summaries and explicitly not investment 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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
87% confidence
Finding

The skill instructs use of environment variables and shell commands but does not declare any explicit tool scope, permissions, or allowed-tools boundaries. This can cause an agent runtime to invoke environment access or command execution implicitly, increasing the chance of over-privileged behavior or unintended access to local project paths and data.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The description contains broad trigger phrases like analyzing which sectors are moving or where funds are flowing, without defining clear invocation boundaries, exclusions, or required user intent. In agent ecosystems this can cause over-triggering, making the skill run in contexts the user did not intend and potentially exposing local market databases or executing refresh commands unnecessarily.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The natural-language description and example invocations are entirely Chinese and imply the skill operates in Chinese by default, but the file does not state that the locale is region-specific or that users may choose another language. Under the policy, forcing a specific language without 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
90% confidence
Finding

The display name, short description, and default prompt are all written exclusively in Chinese, indicating a fixed language/locale expectation in the skill's natural-language interface. There is no indication that users can choose another language or that the locale restriction is explicitly documented as a justified region-specific constraint.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The script emits all user-facing report text in Chinese, including headings, summaries, judgments, and the disclaimer. This imposes a specific language/locale on users without any visible opt-in or configuration, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.