Back to skill

Security audit

抛硬币猜骰子游戏

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Chinese-language coin and dice game skill with local random-result scripts and no evidence of hidden data access, persistence, or unsafe behavior.

Install this only if you want a Chinese-language coin/dice game. Be aware that the generic trigger "玩游戏" may route broad game requests to this skill, and the referenced image assets are not included in the inspected files.

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 (3)

Vague Triggers

Medium
Confidence
97% confidence
Finding
The trigger list includes a very generic phrase, “玩游戏”, which can match many unrelated user requests and cause the skill to activate unexpectedly. While the skill itself is low risk and only returns random game images, over-broad invocation can still create confusing behavior, interfere with correct skill routing, and increase the chance of unintended execution.

Natural-Language Policy Violations

Low
Confidence
93% confidence
Finding
The module docstring and all user-facing CLI messages are written only in Chinese, indicating the skill is designed to operate in a specific language without offering user opt-in or an alternative locale. Under the language/locale policy, this is a natural-language policy concern unless the locale restriction is explicitly documented and justified.

Natural-Language Policy Violations

Low
Confidence
96% confidence
Finding
The script's user-facing comments and output strings are entirely in Chinese, including the usage/help text and result labels. This imposes a specific language on all users without any opt-in, fallback, or documentation that the skill is intentionally limited to a Chinese-speaking context.

Static analysis

No suspicious patterns detected.