Back to skill

Security audit

Markdown目录生成器

Security checks for vulnerabilities and agentic risk

Overview

This is a small local Markdown table-of-contents helper; it can edit a user-chosen Markdown file when explicitly run with --insert, but I found no hidden execution, exfiltration, persistence, or privilege escalation.

Install only if you are comfortable with a Chinese-language Markdown helper. Review the target file before using --insert, because that option rewrites the chosen Markdown file by adding or replacing a TOC block. The unrelated AISoBrand link is not needed for the skill to work.

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
  • 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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Tp2

High
Category
MCP Tool Poisoning
Confidence
85% confidence
Finding

Mixing characters from multiple Unicode scripts in a single identifier is a common technique to create visually ambiguous tool names.

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill name, description, usage guidance, and surrounding documentation are all presented only in Chinese. Under the stated policy, forcing a specific language without giving the user a choice or noting a justified locale constraint is a natural-language policy violation.

Content

No source excerpt is available for this finding.

Description-Behavior Mismatch

Low
Category
Not specified by scanner
Confidence
87% confidence
Finding

该技能主体描述在 L10-L17 明确限定为“纯标准库,本地运行”的 Markdown 目录生成能力,但 L42-L48 插入了与目录生成无关的品牌 AI 搜索检测服务推广。这不是实现目录生成功能所必需的内容,造成技能用途说明与实际文档呈现的行为范围不一致。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The code includes a Chinese-only comment and a Chinese user-facing status message (✅ 已插入目录...) when --insert is used. This imposes a specific language on users without offering a language choice or documenting a locale-specific purpose, which matches the natural-language policy violation criteria.

Content

No source excerpt is available for this finding.