Back to skill

Security audit

Event Analyzer

Security checks for vulnerabilities and agentic risk

Overview

The skill is not overt malware, but it can produce concrete trading instructions and requests broader agent powers than its stated research workflow justifies.

Review this skill carefully before installing. It may be useful for Chinese-language market/event research, but it is designed to generate actionable investment and trading suggestions, including named instruments, position sizes, timing, and stop-loss levels. Treat outputs as unlicensed market commentary, not financial advice. Install only with tightly limited tools; WebSearch may be reasonable, but Exec and Message should be removed or blocked unless separately justified and approved.

Vulnerability Patterns
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
  • 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
Findings (1)

T05 · Unauthorized Access and Privilege Escalation

Warning
Location
SKILL.md:9
Finding

Excessive Tool Permissions Violate Least Privilege

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 9
Vulnerability Type: Excessive agent permissions
Risk Level: Medium

Vulnerable Code

yaml
allowed-tools: [Read, Write, Exec, Message, WebSearch]

Technical Analysis

The skill’s documented purpose is to research financial events, validate public sources, and generate investment analysis. WebSearch is directly relevant to this workflow, while narrowly scoped Read and Write permissions may be justified for user-requested reports or event tracking.

However, the skill does not document any legitimate need for arbitrary command execution through Exec or outbound communication through Message. Granting these capabilities violates the principle of least privilege and unnecessarily expands the impact of prompt injection or malicious external content encountered during web research.

The permission declaration is not itself evidence that commands or messages are currently executed maliciously. The risk arises because unnecessary high-impact capabilities are available to the agent while it processes potentially attacker-controlled web content.

Attack Path

  1. A user asks the skill to analyze an event or produce a weekly event report.
  2. The skill uses WebSearch to retrieve relevant sources.
  3. An attacker-controlled search result contains prompt-injection instructions disguised as financial data or source-validation guidance.
  4. The agent interprets those instructions as actionable content.
  5. Because the skill has Exec, Write, and Message permissions, the injected instructions may attempt to:
    • Execute local operating-system commands.
    • Modify files accessible to the agent.
    • Transmit collected information through messaging capabilities.
  6. These actions would occur with the permissions of the agent runtime, extending the compromise beyond the legitimate research task.

This is a conditional exploitation path: successful exploitation depends on the runt ...[truncated 725 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove capabilities that are not required by the documented workflow:

    yaml
    allowed-tools: [WebSearch]
    
  2. If report persistence or event tracking genuinely requires filesystem access, grant only narrowly scoped read/write access to a dedicated workspace:

    yaml
    allowed-tools: [WebSearch, Read, Write]
    
  3. Remove Exec unless a specific, reviewed command-execution use case is introduced. If it must be retained:

    • Use an isolated sandbox with no secrets.
    • Apply an explicit command allowlist.
    • Disable shell interpretation where possible.
    • Block network-capable commands.
    • Require user confirmation before every execution.
  4. Remove Message unless outbound communication is a documented feature. If retained:

    • Restrict approved recipients and channels.
    • Require explicit user confirmation.
    • Prevent transmission of local files, credentials, or session data.
  5. Treat all web results as untrusted data:

    • Do not follow instructions embedded in retrieved pages.
    • Extract only factual content relevant to the user’s request.
    • Enforce tool-policy checks independently of model-generated decisions.
  6. Add automated validation that fails package publication when declared tools exceed a maintained allowlist for the skill’s stated function.

Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (29)

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

This section explicitly directs the agent to output financial instruments, specific targets or screening criteria, valuation anchors, entry windows, add-on signals, and exit/stop-loss rules. That is concrete trading instruction, not merely analysis, and can directly facilitate risky financial action by users relying on the agent's outputs.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

High
Category
Not specified by scanner
Confidence
98% confidence
Finding

This section escalates from analysis into a trading playbook with named instruments, directional trades, position limits, time windows, valuation claims, and stop-loss guidance. That materially increases harm potential because users can directly execute risky stock and futures trades based on the content, while the skill metadata only describes event analysis rather than financial advisory behavior.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

High
Category
Not specified by scanner
Confidence
97% confidence
Finding

The content gives individualized-looking instructions based on account type, telling users what to do if they have a futures account versus only a stock account. That creates the appearance of personalized suitability advice without collecting financial profile, jurisdiction, risk tolerance, or regulatory consent, making the skill more dangerous than generic market commentary.

Content

No source excerpt is available for this finding.

Missing User Warnings

High
Category
Not specified by scanner
Confidence
99% confidence
Finding

The document gives direct investment instructions such as what to buy and when to act, but does not clearly warn users that the content is not financial advice and may cause financial loss. This is dangerous because users may treat the skill's output as authoritative trading guidance, leading to real monetary harm and increased legal/compliance exposure for the system operator.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The invocation phrases are broad everyday language such as '分析这个事件' and '本周有哪些重要事件?' without clear constraints on domain, risk boundaries, or output limits. In a tool-routing environment, that increases the chance of over-triggering the skill for generic queries and unexpectedly producing high-risk financial analysis or trading-oriented output.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The README presents the skill as event analysis but explicitly expands into concrete trading behavior under '商贾·操盘 · 定买卖', including instrument selection and trading actions. In an agent setting, this can cause the model to provide actionable financial recommendations beyond analytical summarization, increasing legal, safety, and user-harm risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill documentation does not clearly warn that outputs may include concrete trading actions, named instruments, valuation anchors, and timing guidance. Because the examples include securities and trade management details, the missing warning materially increases the chance that users and orchestrators treat the skill as a general analysis tool while receiving regulated or harmful financial guidance.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The manifest description uses broad natural-language triggers such as '分析这个事件' and '本周有哪些重要事件', which are common phrases that may appear in ordinary conversation. This increases the chance of unintended activation, causing the skill to run in contexts where the user did not explicitly request this high-risk finance-oriented workflow.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

All user-facing instructions, triggers, output formats, and invocation examples are specified only in Chinese, and the skill does not state that language selection is optional. Under the policy, forcing a specific language or locale without user opt-in is a natural-language policy violation unless clearly justified as region-specific.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill goes beyond neutral event analysis and instructs the agent to provide position sizing,仓位建议, and trading tactics such as left/right-side entry and portfolio allocation. In an agent setting, this can cause the system to generate actionable financial advice that materially influences user decisions, expanding risk from information analysis into regulated or safety-sensitive investment guidance.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The '走卒·定营生' section instructs the agent to generate entrepreneurial monetization and information-arbitrage playbooks, including exploiting time, geography, and knowledge gaps for profit. This is outside the stated event-analysis purpose and can steer the agent into giving opportunistic or ethically questionable business advice based on current events.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill instructs the agent to handle vague requests by proactively producing a curated list of important events and prompting deeper analysis, rather than asking clarifying questions first. In combination with the rest of the skill, this can escalate ambiguous user input into unsolicited financial analysis and trading-oriented content.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The manifest description is entirely in Chinese and presents the skill as a fixed Chinese-language experience. For a general skill manifest, this can violate language/locale policy because it does not offer user opt-in or explain that the skill is intended only for a Chinese-speaking or region-specific audience.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The manifest claims a finance/event-analysis skill, but the repository points to an apparently unrelated project ('women-awakening-museum'). This mismatch undermines provenance and trust: users or automated systems may rely on the repository for source review, updates, or validation and be misled about what code/content actually backs the skill.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The file’s operational guidance and example user-facing wording are entirely in Chinese, including the prescribed response template at L29 and L54. This indicates a fixed language/locale behavior without any mention that users may choose another language, which matches the natural-language policy violation criteria.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger example uses very common conversational wording like asking what is worth paying attention to recently. In a skill meant for deep event analysis, such broad phrasing can overmatch ordinary chat and cause the skill to engage when the user did not intend a structured geopolitical or market-analysis workflow.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The vague-request handling is underspecified and directs the agent to proceed with a standard output immediately, while later sections expect a clarification flow. That ambiguity makes runtime behavior unpredictable and can lead to unsolicited analysis, incorrect scope selection, and inconsistent safety boundaries around when the skill should activate.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document says ambiguous requests should be handled by directly outputting a full weekly-event analysis, but the later test expectation says the agent should first clarify the user's needs and only proceed after confirmation. This inconsistency can cause the skill to activate or produce substantive analysis without sufficient user intent verification, increasing the chance of unwanted invocation and off-target responses.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document repeatedly records the skill producing specific trading recommendations such as named securities, position sizing, and stop-loss/take-profit levels, but it provides no financial-risk warning, suitability caveat, or non-advisory disclaimer. In a skill explicitly designed for event interpretation and user-facing analysis, this normalizes actionable investment advice and could cause users to rely on unqualified recommendations, creating consumer harm and compliance risk.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The markdown consists entirely of Chinese prompt examples and expected outputs, with no indication that users may interact in another language or that the skill is intentionally limited to a Chinese-only context. This can violate language/locale policy when a skill implicitly mandates a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This sample goes beyond neutral event analysis and provides concrete portfolio and position guidance such as increasing equity exposure, focusing on sectors, and setting stop-losses. In a skill whose stated purpose is event interpretation, this can steer users toward financial actions without appropriate suitability checks, risk framing, or scope controls.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The document provides actionable trading guidance but does not warn users that it is not financial advice or that following it can cause significant monetary loss. The absence of cautionary framing increases the likelihood that users will treat speculative analysis as endorsed execution guidance, especially where leveraged instruments like futures are mentioned.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
76% confidence
Finding

The entire skill content is written in Chinese and presents a fixed Chinese-language format, with no indication that users can choose another language or that the skill is intentionally limited to a Chinese-language or China-specific audience. Per the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example goes beyond high-level event analysis and provides concrete securities selection, position sizing, entry timing, add-to-position signals, profit targets, and stop-loss rules. In a skill described as '事件研判', this materially shifts the capability into actionable investment advice, which can mislead users into taking financial risk without appropriate suitability checks, disclosures, or compliance controls.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

该文件通篇以中文撰写,并以中文标题、说明和投资建议呈现,但没有说明这是面向特定中文用户群体的区域性技能,也未提供语言选择或用户 opt-in。根据语言/locale 政策,未经说明而默认强制单一语言属于自然语言层面的策略违规。

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.