Back to skill

Security audit

Vertical Font Conversion (CHINESE)

Security checks for vulnerabilities and agentic risk

Overview

This skill locally converts Chinese fonts for vertical reading and its file and script behavior matches that purpose.

Use this skill for local font conversion only, choose input and output paths deliberately, and review the generated previews before accepting the final font. Also make sure you have rights to modify the source font and use trusted sources if installing the expected Python libraries.

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
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • 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
Findings (3)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
94% confidence
Finding

The skill clearly instructs use of local scripts, file reads/writes, and shell-capable workflow steps, but it does not declare any explicit tool scope or permissions boundaries. That makes the runtime authority implicit and increases the risk of over-broad file-system or command execution access if the skill is invoked in a more privileged environment than intended.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The hardcoded preview text is entirely Chinese-centric and includes a Chinese title, which imposes a specific language/locale in the generated output. The file does not offer an opt-in, alternative locale, or documentation that this is intentionally limited to a Chinese-specific use case.

Content

No source excerpt is available for this finding.

subprocess module call

Medium
Category
Dangerous Code Execution
Confidence
70% confidence
Finding

subprocess module calls execute external commands. Without careful input validation, this enables command injection.

Content

Scanner excerpt · scripts/run_full_pipeline.py (reported line 30)May include surrounding context.

python
def run(cmd):
    print('running:', ' '.join(str(x) for x in cmd))
    result = subprocess.run([str(x) for x in cmd], check=False)
    if result.returncode != 0:
        raise SystemExit(result.returncode)

Static analysis

No suspicious patterns detected.