Back to skill

Security audit

Xiaoliuren skills

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Chinese divination skill made of Markdown instructions and examples, with no executable code or hidden high-impact behavior.

Install only if you want a Chinese-language Xiaoliuren divination assistant. Treat its readings as entertainment or cultural reference, not as a substitute for medical, legal, financial, or other important decisions.

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
Vulnerability Patterns
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (9)

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 39)May include surrounding context.

bash
git clone https://github.com/tianmingwangluo/xiaoliuren-skill.git
mkdir -p ~/.dsh/skills/xiaoliuren-skill
cp xiaoliuren-skill/SKILL.md xiaoliuren-skill/examples.md ~/.dsh/skills/xiaoliuren-skill/

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The README states that ordinary natural-language requests like asking for divination will automatically load the skill. This trigger is broad and overlaps with common user speech, which can cause unintended invocation and make prompt-routing easier to manipulate by a user or another skill. In a skill system, overly permissive activation conditions increase the chance the skill is pulled into contexts where it was not explicitly requested.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · README.md (reported line 65)May include surrounding context.

bash
git clone https://github.com/tianmingwangluo/xiaoliuren-skill.git
mkdir -p "${HERMES_HOME:-~/.hermes}/skills/xiaoliuren-divination"
cp xiaoliuren-skill/SKILL.md xiaoliuren-skill/examples.md "${HERMES_HOME:-~/.hermes}/skills/xiaoliuren-divination/"

Skill Enumeration

Medium
Category
Agent Snooping
Confidence
80% confidence
Finding

Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.

Content

Scanner excerpt · README.md (reported line 81)May include surrounding context.

也可从 GitHub 直接安装(会经过 Hermes 安全扫描;仅下载 SKILL.md,不含 examples.md):

bash
hermes skills install https://raw.githubusercontent.com/tianmingwangluo/xiaoliuren-skill/main/SKILL.md

安装后:

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The Hermes section says the platform will auto-load the skill when a user describes a divination request, but it does not define constraints, exclusions, or disambiguation rules. That ambiguity can lead to accidental activation on loosely related messages and creates a wider surface for routing abuse or unintended prompt injection through skill activation. Because this is a divination skill, broad loading is unnecessary and should be tightly scoped.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The general guidance for other AI agents says they will automatically call the skill whenever the user requests xiaoliuren divination. This is an overbroad claim that encourages deployers to configure automatic routing without guardrails, increasing the likelihood of misfires and untrusted-context activation. In multi-skill environments, this can cause the skill to intercept routine conversation or be invoked by crafted phrasing.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The instruction says the interpretation must be delivered in '口语化中文', which forces a specific language for responses. This is a natural-language policy concern because the file does not offer the user a language choice or indicate that Chinese is optional.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

The provided response template is entirely in Chinese and is presented as the required output format, reinforcing a Chinese-only interaction model. Because the skill is marked user-invocable and does not provide any language-selection mechanism, this can violate language/locale choice expectations.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

This file’s natural-language instructions and examples are presented only in Chinese, and there is no indication that the user can choose another language or has opted into this locale. Under the policy, forcing a specific language without user opt-in can be a natural-language policy violation.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.