Back to skill

Security audit

Chudaxia Ai Coach Tools Position Agent Prompts Generator

Security checks for vulnerabilities and agentic risk

Overview

This is a Markdown-only Chinese prompt-template skill for turning job descriptions into seven-layer AI-agent prompts, with no executable code or persistence, though users should notice its fixed template branding and knowledge-base retrieval behavior.

Install only if you are comfortable with a Chinese seven-layer prompt template that may search a selected knowledge base for job descriptions and include template attribution in generated Markdown. Review generated prompts before sharing or deploying them, especially if internal role data was used.

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

T01 · Skill Instruction Hijacking

Warning
Location
SKILL.md:16
Finding

Mandatory Branded Output Injection

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, lines 16-20 and 89-99
Vulnerability Type: Forced output manipulation through skill instructions
Risk Level: Medium

Evidence

The following is an English translation of the relevant skill instructions:

markdown
## Mandatory Output Requirements

- **The final deliverable must use Markdown format**: The output must be a complete system-prompt document that can be saved directly as a `.md` file.
- **Deliver only the document itself**: Unless otherwise requested, do not add greetings, explanations, generation notes, JSON, YAML, or non-Markdown content before or after the final document.
- **Preserve the complete Markdown structure**: Use headings, quotations, lists, tables, separators, task lists, and code blocks. Do not replace the seven-layer structure with unstructured plain text.
- **Self-checks must also use Markdown**: Any displayed quality self-check must be appended as a Markdown section or table.
markdown
### Step 5: Output Delivery

Follow this standard Markdown format:

- The final answer must contain only the Markdown document and no additional explanation.
- If the user requests convenient copying, place the complete document in a `markdown` code block; otherwise, render it directly as Markdown.
- The output must contain all seven layers, and no layer titles, fields, or list levels may be omitted or disordered.

# [Position Name] Digital Employee System Prompt

> Automatically generated from the Job Description | Chudaxia Seven-Layer Standardized Digital Employee Prompt Template v1.0

Technical Analysis

The skill imposes a fixed third-party attribution on generated documents while also requiring the agent to return only the prescribed document. These combined instructions alter normal response behavior by inserting branding that is not necessary to perform the stated task and by preventing contextual disclosure about where that attribution originated.

When the ski ...[truncated 1519 chars]

Remediation
View remediation

Remediation Suggestions

  1. Remove the fixed third-party name and version attribution from the mandatory output template.
  2. Replace the branded line with neutral wording, such as:
    markdown
    > Automatically generated from the supplied job description using a seven-layer role template.
    
  3. Include attribution only when the user explicitly requests it or when a documented licensing obligation requires it.
  4. Do not require the agent to suppress all contextual explanations. Permit a concise provenance notice when generated content contains externally supplied branding or template material.
  5. Separate functional formatting requirements from promotional content so that document structure can be enforced without inserting endorsements.
  6. Add a quality-control rule verifying that generated documents contain no unrequested company names, personal names, product names, template-owner names, or promotional language.
  7. Add regression tests that invoke the skill without requesting attribution and confirm that no branded text appears in the output.
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
93% confidence
Finding

The activation description is very broad and can trigger on common requests about job descriptions, AI prompts, or role prompt generation without strong scoping constraints. This can cause the skill to activate in contexts the user did not clearly intend, increasing the chance of overreach, unintended retrieval from connected knowledge bases, and prompt injection exposure through loosely related documents.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The title and throughout the document prescribe a Chinese-only template and review standard for generated prompts. Under the policy, forcing a specific language without user opt-in is a natural-language policy violation unless the locale constraint is explicitly justified, which is not provided here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

This markdown file is a natural-language template for constructing agent system prompts, and all headings, instructions, and examples require Chinese usage by default. Under the policy, forcing a specific language without user opt-in is a language/locale policy violation unless the constraint is explicitly justified or optional.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
71% confidence
Finding

These instructions require the final delivery to be Markdown format only and prohibit other formats unless the user requests otherwise. This is a natural-language policy constraint that forces a specific output convention instead of offering format choice by default.

Content

No source excerpt is available for this finding.