Back to skill

Security audit

Weixin Bot

Security checks for vulnerabilities and agentic risk

Overview

The skill treats uploading decrypted message attachments as a safe read, allowing private files to leave the messaging service without confirmation.

Before installing, require confirmation before decrypted attachments are uploaded and establish who can access file transit and how long files remain there. Use an inspected, verified CLI release and review its automatic skill synchronization. The bundled instructions were fully inspected, but external installers and server-side processing were not verified; no malicious intent was established.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • 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
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
94% confidence
Finding

The supplied chunk performs remote installer execution, not Weixin Bot data operations. Installation could be a supporting implementation detail if a dependency relationship were established, but none is shown here. The downloaded script is not supplied, so its further behavior cannot be determined.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

The setup command pipes a mutable remote installer directly into a shell without verifying a pinned version, digest, or signature; the PowerShell alternative has the same execution pattern. Compromise of the distribution endpoint could therefore execute attacker-controlled code with the agent process's permissions, exposing local files and credentials. Conditional execution only when the CLI is absent reduces exposure frequency but does not establish installer integrity.

Content

Scanner excerpt · SKILL.md (reported line 59)May include surrounding context.

The untagged download_media action uploads message attachments to file transit, contradicting the claim that untagged actions are reads safe to run directly.

Medium
Category
Excessive Agency
Confidence
97% confidence
Finding

The download_media action decrypts message attachments and uploads them to file transit, yet its missing write tag places it under the instruction that untagged actions are reads safe to run directly. This can cause private attachment contents to be transferred to another storage service without the confirmation required for other state-changing actions; the action description discloses the upload but does not resolve the contradictory authorization guidance.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

Scanner excerpt · SKILL.md (reported line 80)May include surrounding context.

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources