Back to skill

Security audit

代码重构

Security checks for vulnerabilities and agentic risk

Overview

This is a small Chinese-language code refactoring skill that asks the agent to preserve behavior and shows no hidden execution, persistence, data access, or exfiltration behavior.

Install this only if you want a Chinese-language refactoring assistant. Review its edits like any automated refactor because it can modify local code, but the artifact itself does not request unusual access or persistence.

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)

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The manifest description explicitly lists only Chinese trigger phrases for activation in addition to English behavior text, but does not state that language selection is optional or that the skill is intended for a China-specific environment. This can create a locale-policy issue because activation language appears constrained without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
93% confidence
Finding

The display name, description, and default prompt are all specified only in Chinese, which implies a fixed language choice in the skill's natural-language interface. The file does not indicate user opt-in, language selection, or a region-specific justification, so this appears to violate the language/locale policy requirement.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.