Back to skill

Security audit

Wechat Preflight Check

Security checks for vulnerabilities and agentic risk

Overview

This skill performs a narrow local preflight check for WeChat Markdown articles and does not show hidden, destructive, persistent, or exfiltrating behavior.

Install this if you want a local checklist for WeChat Markdown publishing. Run it only on article files and asset directories you intend it to inspect; it does not appear to modify files or send data elsewhere.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • 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 (2)

Lp3

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding
The skill invokes a local Python script against a user-supplied Markdown file and describes file-validation behavior, which implies filesystem read access, but it does not declare any explicit tool scope such as permissions or allowed-tools. This creates an authorization gap: an agent runtime may permit broader file access than intended, increasing the chance of reading unintended local files during normal use or if the script behavior changes.

Natural-Language Policy Violations

Low
Confidence
88% confidence
Finding
This Python file contains natural-language descriptions and CLI output exclusively in Chinese, including the module docstring and usage/error messages. Under the policy, forcing a specific language without user opt-in or a clearly documented justification is a natural-language policy violation.

Static analysis

No suspicious patterns detected.