Back to skill

Security audit

strategy-gen

Security checks for vulnerabilities and agentic risk

Overview

This Chinese strategy-planning skill generates local strategy templates and optionally stores local learning notes, with no evidence of network access, credential use, hidden execution, or destructive behavior.

Install only if you are comfortable with a Chinese-language strategy assistant and optional local learning logs. Avoid putting confidential business or personal details into learner notes or preferences unless you intend them to remain in learned_patterns.json, and choose output paths deliberately.

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
  • 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
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (8)

Tp4

High
Category
MCP Tool Poisoning
Confidence
99% confidence
Finding

The skill is presented as a strategy-generation assistant, but the included learner.py commands introduce cross-cutting behavior such as logging usage, storing preferences, tracking errors, and generating reflections for arbitrary capabilities. This mismatch can mislead users and reviewers about data collection and persistence, increasing the risk of unauthorized retention of sensitive business or personal planning information.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill documentation invokes scripts that write output files (for example, --output strategy.md) and references a persistent learning system, but it declares no permissions or allowed-tools scope. This creates an undeclared file-write capability, which weakens reviewability and can enable unintended data persistence or writes outside user expectations.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description says the skill should be invoked when the user says phrases like “帮我制定策略”, “怎么达成这个目标”, “做个战略分析”, or “规划下一步”. Several of these are broad, common requests that could match many general-assistance situations, and the file does not provide exclusion conditions or narrower trigger constraints.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

The skill’s natural-language description and user-facing content are entirely in Chinese and present the assistant as a Chinese-language helper, without indicating that the user may choose another language. This can violate language/locale policy when a skill implicitly forces a language without user opt-in.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module is explicitly designed to persist usage history, errors, notes, and user preferences for any supplied skill directory, which exceeds the stated purpose of a strategy-generation skill. In this context, the danger is unauthorized collection and retention of cross-session behavioral data that may include sensitive notes or preferences without clear scope limitation, consent, or data-minimization controls.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

This Python file contains its module docstring, CLI description, usage instructions, and output messages entirely in Chinese, which effectively imposes a specific language on users. The file does not offer any language selection, fallback, or justification that the skill is intended only for a Chinese-speaking or region-specific environment.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

These functions implement durable storage of preferences, recent operations, error notes, and insights across arbitrary skill directories, creating a cross-skill profiling capability. Because notes and preference values are free-form, the file can accumulate sensitive user or workflow data, and the skill context makes this more suspicious because a strategy assistant does not need telemetry-style memory to generate a strategy canvas.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

This Python file contains a Chinese-only module docstring, Chinese template content for all generated strategy documents, and a Chinese status message. That imposes a specific language on users with no visible option to select another language, which matches the language/locale policy violation criteria.

Content

No source excerpt is available for this finding.