Back to skill

Security audit

design-spec-generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a Markdown-only design-spec generator with Chinese-first templates and no hidden execution, network use, credential handling, or persistence.

Install this if you want Chinese-first design specification templates for product handoff. Before using it for non-Chinese projects, ask the agent to localize the output language and platform assumptions, and confirm before saving generated documents to the workspace.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill advertises a broad set of trigger phrases, including generic terms like “规范”, “设计系统”, and “style guide”, which can cause the skill to activate in contexts where the user did not explicitly request this specific capability. Over-broad invocation increases the chance of incorrect routing, unintended file-writing behavior, or the model following this skill when a narrower or safer skill should have handled the request.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

This markdown file is written entirely as a normative specification in Chinese and provides no indication that other languages are supported or that the Chinese-only requirement is optional. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

This markdown file is entirely written as a Chinese-only template, including headings, labels, and instructions, with no indication that the user can choose another language or that the template is restricted to a China-specific or Chinese-language context. The policy requires avoiding forced language or locale constraints unless there is explicit opt-in or clear justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The entire template is written in Chinese and provides no indication that language is configurable or optional. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The entire skill file is written as a Chinese-only template and does not indicate that language selection is optional or configurable. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
91% confidence
Finding

The text states that the mini-program uses Chinese system fonts and specifies Chinese typography defaults, which imposes a language/locale assumption in natural-language guidance. The file does not indicate that this is optional, user-selected, or limited to a clearly region-specific deployment.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

SQP-3 applies to all file types and includes language or locale policy violations. This markdown file presents all guidance in Chinese only, with no indication that the user can choose another language and no stated region-specific justification.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.