Back to skill

Security audit

Skill Quality Gate(技能质量门禁)

Security checks for vulnerabilities and agentic risk

Overview

This local quality checker needs review because failed checks still return success, and its file access does not enforce the promised boundary.

Use this as an advisory checklist until failed checks reliably return a failing exit status and file access rejects links outside the selected directory. Review the printed results before publishing and use a dedicated secret scanner. Its bilingual rules are disclosed presets. All bundled files were reviewed; the scanner's missing specification reference does not conceal an executable dependency.

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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • 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 (3)

The release gate mandates English-and-Chinese descriptions and README content without user opt-in.

Medium
Category
Output Handling
Confidence
90% confidence
Finding

The bilingual checks require English and Chinese in the description and README, and the gate blocks release when any check fails. This imposes specific natural languages on user-authored artifacts without offering a language choice or documenting a marketplace or regional requirement that justifies the constraint.

Content

No source excerpt is available for this finding.

The quality gate mandates Chinese-and-English documentation without user opt-in or a documented justification.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The README and description checks require both Chinese characters and English words, and the remediation explicitly says “需中英简介” (Chinese and English introductions required). This enforces specific documentation languages without offering a language choice or explaining a locale-specific need.

Content

No source excerpt is available for this finding.

The release gate reports failed checks but still exits successfully.

Medium
Category
Excessive Agency
Confidence
99% confidence
Finding

The script prints failed checks but returns normally, producing exit status 0 even when it detects plaintext secrets or other release-blocking failures. Automation that relies on the documented exit-code contract can therefore publish rejected content, making this a fail-open defect in the skill's central release-gating function.

Content

No source excerpt is available for this finding.