Back to skill

Security audit

架构图生成

Security checks for vulnerabilities and agentic risk

Overview

This is a local diagram-generation skill with no executable installer, network access, credential handling, or persistence in the inspected artifacts.

Install this if you want a Chinese-first local architecture-diagram helper. Review ambiguous requests before letting it generate output, and avoid giving it sensitive files unless those files are explicitly needed for the diagram.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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 (15)

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/template.html (reported line 153)May include surrounding context.

html
</head>
<body>
  <div class="canvas">
    <!-- 头部 -->
    <div class="header">
      <h1>系统架构图</h1>
      <div class="tagline">一句话描述本图聚焦的脉络与范围</div>

Hidden Instructions

High
Category
Prompt Injection
Confidence
70% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · assets/template.html (reported line 153)May include surrounding context.

html
</head>
<body>
  <div class="canvas">
    <!-- 头部 -->
    <div class="header">
      <h1>系统架构图</h1>
      <div class="tagline">一句话描述本图聚焦的脉络与范围</div>

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The README describes a wide activation scope but does not define clear boundaries or negative cases, so the skill may be invoked for requests that merely mention related terms rather than actually asking for a diagram. In an agent environment, this can degrade reliability, override more appropriate skills, and create confusing or unintended outputs even though the tool itself is local-only.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The README describes a wide activation scope but does not define clear boundaries or negative cases, so the skill may be invoked for requests that merely mention related terms rather than actually asking for a diagram. In an agent environment, this can degrade reliability, override more appropriate skills, and create confusing or unintended outputs even though the tool itself is local-only.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The skill metadata and instructions are written to operate in Chinese and do not indicate that the user’s preferred language will be honored. This can cause outputs or clarifications in an unexpected language, creating misunderstanding and reducing user control, especially for safety-relevant clarification steps.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger description includes very broad phrases such as “画个图”, “系统图”, and English terms like “draw/diagram/architecture”, which can overlap with ordinary conversation and unrelated requests. This can cause the skill to activate unexpectedly, increasing the chance it handles prompts outside its intended scope and interferes with safer or more appropriate skills.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The title and all instructions are written exclusively in Chinese, and the wording presents the guidance as mandatory specification. Under the policy, forcing a specific language without user opt-in or documented justification is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The entire skill guidance is written as mandatory Chinese-facing instructions, including required response phrasing in Chinese, with no indication that the user can choose another language. This creates a natural-language locale policy issue because it implicitly constrains interaction language without opt-in or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file contains all operational instructions in Chinese and does not provide any opt-in, alternative language, or explanation that the skill is intended only for Chinese-speaking users. That can violate a language/locale policy when users are not explicitly given a choice.

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 FAQ is written in Chinese and presents mandatory operating guidance in that language, but it does not indicate that Chinese is optional or that the skill is intentionally restricted to a Chinese-speaking context. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The entire skill file is written in Chinese and presents operational instructions exclusively in that language, with no indication that users may choose another language or that the skill is intentionally limited to a Chinese-speaking or region-specific context. Under the policy criteria, 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
96% confidence
Finding

This markdown file contains user-facing instructions exclusively in Chinese, and there is no indication that the skill is region-specific or that users can opt into another language. That creates a natural-language policy concern because it effectively forces a specific language without explicit user choice or justification.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The document declares lang="zh-CN", which hard-codes a specific language/locale for the skill output. Under the policy, locale restrictions should either be user-selectable or clearly justified as region-specific; this file provides neither.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

This markdown file is entirely written in Chinese and does not indicate that other languages are supported or that Chinese is required for a region-specific purpose. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
89% confidence
Finding

This markdown guide uses only Chinese for all instructions and headings, with no note that the language is optional or intended for a Chinese-only audience. Under the stated 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.