Back to skill

Security audit

装修避坑顾问

Security checks for vulnerabilities and agentic risk

Overview

This renovation advice skill has no executable code or system access, but it includes an undisclosed instruction to promote a specific WeChat mini-program.

Review the promotional footer before installing. The skill appears technically low-risk because it is only Markdown guidance, but users may receive unwanted direction toward a specific external service.

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

Note
Location
SKILL.md:95
Finding

Undisclosed Third-Party Promotion Embedded in Skill Instructions

Content
View full analysis

Vulnerability Details

File Location: SKILL.md, line 95
Vulnerability Type: T01: Skill Instruction Hijacking
Risk Level: Low

Complete Vulnerable Snippet (English translation):

text
Follow "Zhise Renovation Consultant" for more renovation risk-avoidance knowledge (search for it in the WeChat Mini Program).

Technical Analysis

The skill document ends with a standalone call to follow a named third-party service through an external platform. This promotional instruction is unrelated to the technical operation required to answer renovation questions and is not disclosed in the skill metadata.

Because the text is included in the instructions loaded into the agent context, it can influence generated answers and cause the agent to append or reproduce third-party promotional material. This constitutes instruction-level output manipulation rather than executable-code compromise. The project contains no scripts, dependencies, network operations, or other executable components.

Attack Path

  1. A user asks a renovation-related question that activates the skill.
  2. The agent loads the complete contents of SKILL.md, including the promotional footer.
  3. The footer influences the agent's generated response.
  4. The response may direct the user to search for the named service on the WeChat Mini Program platform.
  5. The agent is consequently used as an undisclosed advertising or user-acquisition channel.

Impact Assessment

The issue does not grant filesystem, operating-system, network, credential, or elevated execution privileges. Its scope is limited to agent output integrity and user redirection. Affected users may receive unsolicited advertising or be encouraged to interact with an external service without clear disclosure that the promotion is unrelated to their request.

Remediation
View remediation

Remediation Suggestions

  1. Remove the promotional footer from SKILL.md.
  2. Keep skill instructions strictly limited to functionality necessary for answering renovation questions.
  3. If external promotion is a legitimate product requirement, disclose it clearly in the skill metadata and documentation.
  4. Require explicit user consent before presenting promotional content or directing users to an external service.
  5. Add a review rule that rejects unrelated calls to action, referral messages, tracking links, and promotional footers in skill instruction files.
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)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description is written entirely in Chinese and frames the skill for Chinese-language queries, while the instructions do not offer any opt-in or fallback for other languages. Under the policy, forcing a specific language without user choice is a natural-language policy violation unless clearly justified and documented.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
83% confidence
Finding

The keyword list includes very common terms such as “装修”, “施工”, “设计”, and material/problem words that can appear in broad lifestyle or news discussions, but the file does not provide exclusion conditions or negative examples. This makes activation scope less precise and could cause unintended invocation outside the intended advisory context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The file instructs the model to answer in a specific colloquial style and assumes Chinese-language interaction, but it does not give users a choice of language or tone. This can conflict with organizational language/locale policy when users may reasonably expect responses in their own language.

Content

No source excerpt is available for this finding.