Back to skill

Security audit

SKILL接入微信支付,收款码生成

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent WeChat Pay integration guide with disclosed payment credentials and financial operations, but administrators should add strong controls around refunds and payouts.

Before installing, ensure only authorized administrators can configure WeChat Pay credentials, and require explicit approvals, audit logs, and confirmation checks for refunds, bill downloads, and red-packet or marketing disbursements. Never paste merchant API keys, private keys, certificates, or signing secrets into chat.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The skill describes how to initiate refunds but does not clearly warn that refunds can have irreversible financial and operational consequences, such as accidental money loss, duplicate refunds, customer disputes, or reconciliation errors. In a payment-processing skill, omission of prominent risk warnings and confirmation requirements can lead users or operators to trigger sensitive actions without fully understanding the impact.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

The file presents the skill entirely in Chinese and does not indicate that users may choose another language or that the skill is intentionally restricted to a Chinese-speaking or China-only audience. Under the stated policy, forcing a specific language without user opt-in is a natural-language policy concern unless the locale limitation is explicitly documented and justified.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.