Back to skill

Security audit

公众号排版器

Security checks for vulnerabilities and agentic risk

Overview

This skill is a disclosed local formatter for WeChat Official Account articles and does not show hidden, privileged, network, or persistent behavior.

Install this if you want a local WeChat article-formatting helper. Expect it to create an HTML file and include a browser copy button; choose or review the output filename to avoid overwriting work, and review generated article text before pasting into WeChat.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (6)

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 21)May include surrounding context.

html
</head>
<body>

<!-- 导航栏:多篇文章时复制此段,修改 data-target -->
<nav class="nav-bar">
  <a data-target="content1" class="active">第1篇</a>
  <!-- <a data-target="content2">第2篇</a> -->

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 21)May include surrounding context.

html
</head>
<body>

<!-- 导航栏:多篇文章时复制此段,修改 data-target -->
<nav class="nav-bar">
  <a data-target="content1" class="active">第1篇</a>
  <!-- <a data-target="content2">第2篇</a> -->

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 24)May include surrounding context.

html
<!-- 导航栏:多篇文章时复制此段,修改 data-target -->
<nav class="nav-bar">
  <a data-target="content1" class="active">第1篇</a>
  <!-- <a data-target="content2">第2篇</a> -->
  <button class="copy-btn" onclick="copyArticle('content1', this)">📋 复制此篇全文</button>
</nav>

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The HTML root sets lang="zh-CN", and the visible UI text throughout the template is exclusively in Chinese, which indicates a fixed language/locale choice. 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, which is not present in this file.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
79% confidence
Finding

The description is bilingual but frames the skill around WeChat Official Account publishing and Chinese-language公众号 workflows as the default experience. Because the file does not explicitly offer language or locale choice or state that Chinese output is optional, this can be read as a locale-specific default without user opt-in.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

In this markdown skill description, Step 5 explicitly tells the agent to save an HTML file to the user's working directory. That is a file-writing operation that can affect user data or workspace contents, but the documentation does not include any warning, confirmation expectation, or overwrite precaution.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.