Back to skill

Security audit

小程序开发工具

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly a WeChat mini-program development guide, but its broad triggers and declared write/command execution authority need review before installation.

Install only if you expect this skill to help modify and test a local WeChat mini-program project. Review agent actions before allowing file writes or shell commands, especially if the skill activates during unrelated analytics, reporting, or visualization tasks.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (5)

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 · SKILL.md (reported line 108)May include surrounding context.

场景二:数据绑定与事件

html
<!-- index.wxml -->
<view wx:for="<配置项>" wx:key="id" bindtap="onTap" data-id="<配置项>">
  <配置项>
</view>

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
84% confidence
Finding

The invocation keywords are broad and generic enough to match many unrelated requests, while lacking exclusions or disambiguation. In combination with the declared exec/write tool access, this increases the probability of accidental or attacker-induced invocation outside the intended mini-program domain.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill presents itself as a WeChat mini-program guidance tool, but its manifest grants exec capability unrelated to narrowly scoped documentation or linting assistance. This expands the attack surface substantially because any prompt-driven workflow can be steered into running arbitrary shell commands under the guise of development help.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger condition says to use the skill for broad data analysis, reporting, statistics, and visualization tasks, which are unrelated to WeChat mini-program development guidance. Overbroad activation criteria can cause the skill to be invoked in inappropriate contexts where its exec and write permissions become available unnecessarily, increasing the chance of misuse or unsafe prompt chaining.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill claims to be a 'pure Markdown instruction' tool while also declaring exec and write capabilities, creating a misleading trust boundary. Users or downstream agents may treat it as passive documentation when it can actually modify files and execute commands, enabling prompt-influenced side effects beyond the stated purpose.

Content

No source excerpt is available for this finding.