Back to skill

Security audit

Cn Uuid Generator

Security checks for vulnerabilities and agentic risk

Overview

This is a local UUID generator with small privacy and robustness caveats, but no hidden network access, persistence, credential access, or destructive behavior.

Install only if you are comfortable with a Chinese-language local UUID tool. Prefer UUID v4 for public or privacy-sensitive identifiers, avoid UUID v1 unless you need its timestamp semantics, and do not request extremely large batches.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
scripts/uuid_generator.py:37
Finding

UUID v1 Generation May Expose a Stable Host Identifier

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Note
Location
scripts/uuid_generator.py:65
Finding

Unbounded Batch Count Can Cause CPU and Memory Exhaustion

Content
View full analysis
Remediation
View remediation
int: count = int(value) if not 1 <= count <= MAX_COUNT: raise argparse.ArgumentTypeError( f"count must be between 1 and {MAX_COUNT}" ) return count parser.add_argument( "-c", "--count", type=bounded_count, default=1, help=f"Number to generate, from 1 to {MAX_COUNT}", ) ``` For non-JSON output, generate and print each UUID inside the loop rather than appending every value to a list. ]]>
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 (4)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The usage section shows the skill being invoked with natural-language phrases like “千策,生成一个UUID” and “千策,生成10个UUID,” but it does not define whether these are the only accepted triggers, what variants are allowed, or when the skill should not activate. This ambiguity can cause unintended invocation because the trigger scope is implied only by examples rather than explicit constraints or negative examples.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The tool explicitly allows UUID v1 generation, which embeds timestamp information and may expose the host MAC address or another node identifier depending on the runtime implementation. In a general-purpose UUID generator, offering v1 without any warning or safer default guidance can lead users to disclose metadata unintentionally, especially if the generated IDs are exposed externally or used in privacy-sensitive contexts.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

All user-facing description and examples are presented in Chinese, and the file does not indicate that the skill is region-specific or that users may choose another language. Under the stated policy, forcing a specific language without opt-in can be a natural-language policy issue.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
97% confidence
Finding

The file's natural-language strings and documentation are entirely in Chinese, including the module docstring and CLI help text, with no indication that language selection is optional or that the tool is intentionally region-specific. The policy requires avoiding fixed language/locale behavior unless the constraint is justified or the user is given a choice.

Content

No source excerpt is available for this finding.