Back to skill

Security audit

Chinese Naming Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a markdown-only Chinese baby-naming guide whose sensitive family-information requests are visible and mostly purpose-aligned, though users should handle completed templates privately.

Installers should understand that this skill may lead them to enter sensitive family details such as parent names, birth times, birthplaces, and relatives' names. Provide only what is needed, skip optional bazi/family fields if unwanted, and keep completed templates out of public repositories, shared folders, and unnecessary AI or cloud logs.

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

T09 · Insecure Skill Coding Practices

Warning
Location
assets/requirements-template.md:11
Finding

Plaintext Collection of Excessive Multigenerational Personal Data

Content
View full analysis

Vulnerability Details

File Location: assets/requirements-template.md, lines 11–67
Vulnerability Type: Plaintext sensitive-data handling without minimization, retention, or storage safeguards
Risk Level: Medium

Vulnerable Code Snippet

The following is an English rendering of the affected template fields:

markdown
## 1. Basic Information

- **Father's full name**:
- **Mother's full name**:
- **Surname**:
- **Gender**:
- **Birth time**: Gregorian calendar, including the exact hour and minute
- **Birthplace**: Province, city, and district

## 3. Parents' Bazi Information (Optional)

### Father

- **Birth time**: Gregorian calendar, including the exact hour and minute
- **Birthplace**:
- **Bazi**:
- **Day master**:
- **Favorable and unfavorable elements**:

### Mother

- **Birth time**: Gregorian calendar, including the exact hour and minute
- **Birthplace**:
- **Bazi**:
- **Day master**:
- **Favorable and unfavorable elements**:

## 4. Names of Senior Family Members

- **Paternal grandfather**:
- **Paternal grandmother**:
- **Maternal grandfather**:
- **Maternal grandmother**:
- **Other senior family members whose names must be avoided**:
- **Characters that must be avoided**:
- **Homophones requiring caution**:

Technical Analysis

The template instructs users to copy a Markdown document and enter full parental names, exact birth times, detailed birth locations, and the identities of several senior family members. These fields create a structured record of family relationships and precise biographical data.

The data is stored as ordinary plaintext. The skill does not provide:

  • Data-minimization guidance.
  • A warning against committing the completed template to source control.
  • Secure-storage or file-permission requirements.
  • A retention period or deletion procedure.
  • Redaction guidance for AI conversations, backups, logs, or cloud synchronization.
  • A recommendation to provide only taboo characters instead of complete relat ...[truncated 2276 chars]
Remediation
View remediation

Remediation Suggestions

  1. Minimize collected information

    • Request only the child's surname rather than both parents' full names.
    • Request only characters or pronunciations that must be avoided, rather than complete relatives' names.
    • Do not retain exact parental birth times or locations after optional calculations are complete.
    • Clearly distinguish required fields from optional fields.
  2. Provide a privacy-preserving template

    • Add a redacted mode that uses aliases or initials.
    • Permit approximate locations when exact coordinates or districts are unnecessary.
    • Keep optional parental bazi information in a separate document so it is not collected by default.
  3. Add explicit handling warnings

    • Warn users not to commit completed templates to public or shared repositories.
    • Warn that submitting the document to an AI service may place its contents in conversation history or service logs.
    • Recommend excluding completed files through .gitignore and backup rules where appropriate.
  4. Define storage and deletion controls

    • Recommend local encrypted storage and restrictive file permissions.
    • Specify that completed documents should be deleted after the naming process unless the user explicitly chooses retention.
    • Provide instructions for removing copies from AI history, synchronized storage, backups, and repository history.
  5. Use transient processing where possible

    • Perform optional calculations without writing raw birth information into a persistent project file.
    • Store only derived results necessary for later comparison.
    • Redact personal information from generated candidate and comparison reports.
Vulnerability Patterns
  • 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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The skill instructions and workflow are written to operate entirely in Chinese, including the title and all step-by-step user guidance, with no indication that the user may choose another language. The policy allows locale constraints only when they are explicitly offered as opt-in or clearly justified as region-specific; that justification is not stated here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The entire template is written in Chinese and presents all fields, headings, and instructions only in that language. Under the policy criteria, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly documented and justified, which is not present here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file is entirely written as a Chinese-only workflow guide and repeatedly frames the task as a systematized '中文取名' process, but it does not offer any user opt-in for language/locale selection. Under the policy, forcing a specific language without user choice is a natural-language policy violation unless the locale constraint is clearly documented and justified.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

This markdown template presents all instructions and labels exclusively in Chinese, which can amount to a language policy issue if users are not given any option to select another language. The rule for natural-language policy violations applies to all file types and specifically covers forcing a specific language without user opt-in.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The file presents all user-facing instructions and fields exclusively in Chinese, which can enforce a specific language/locale on users without any stated opt-in or alternative. This matches the policy category for language or locale restrictions expressed in natural language.

Content

No source excerpt is available for this finding.