Back to skill

Security audit

六爻预测

Security checks for vulnerabilities and agentic risk

Overview

This is a local Chinese Liuyao divination skill with no evidence of exfiltration or persistence, though one optional integration file uses an unsafe import pattern.

Installers should expect Chinese-language divination output and avoid entering unnecessary sensitive personal details. Prefer the standalone liuyao_standalone.py flow; only use liuyao_skill.py if the surrounding project directory and its initialize.py/utils.py modules are trusted.

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
liuyao_skill.py:18
Finding

Parent-Directory Module Shadowing Enables Arbitrary Code Execution

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (8)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The skill documentation is entirely in Chinese and presents the skill as operating for Chinese traditional divination use without any indication that users may choose another language. Per the policy, forcing a specific language without opt-in is a natural-language policy violation unless the locale restriction is clearly documented and justified.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The trigger phrases include very generic terms such as “起卦” and “排盘”, which can overlap with ordinary user requests and cause the skill to activate outside a clearly bounded divination context. Over-broad activation increases the chance of unintended tool invocation, confusing responses, or routing user data into this skill when the user did not explicitly intend to use it.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The module description, example usage, and all user-facing strings are written in Chinese, and the skill API/CLI do not provide any option to select another language or locale. This creates a natural-language policy concern because the skill imposes a specific language experience without explicit user opt-in or justification that it is intended only for a Chinese-language context.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

This Python file contains natural-language descriptions, examples, CLI help text, and output labels exclusively in Chinese, which effectively forces a specific language for user interaction. The policy allows fixed locale behavior only when there is explicit opt-in or a clearly justified region-specific purpose, neither of which is stated here.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

All natural-language instructions and output format are fixed in Chinese, and the skill does not offer opt-in or alternative language behavior. Under the stated policy, forcing a specific language without user choice is a locale policy violation unless clearly justified and documented as region-specific.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger phrase "起卦" is generic within the divination domain and can easily match ordinary user requests that are not intended to invoke this specific skill. Overly broad activation increases the chance of unintended routing, causing the agent to apply this skill in the wrong context and produce irrelevant or misleading outputs.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger phrase "排盘" is ambiguous because it is used across multiple metaphysical systems, including astrology, bazi, and other divination workflows. This can cause accidental skill invocation and cross-skill collisions, which undermines reliable intent matching and may lead users to receive the wrong type of analysis.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
83% confidence
Finding

The skill accepts free-form personal questions and sex information, which may include sensitive personal or emotional data, but provides no privacy notice, minimization guidance, or handling disclosure. In this standalone file there is no obvious exfiltration or network transmission, so the primary risk is inadvertent collection and unsafe downstream use of sensitive user input rather than direct data theft.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.