Back to skill

Security audit

xiaoliuren skills-小六壬占卜技能

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed Chinese divination reference skill with normal installation instructions and no evidence of hidden code execution, exfiltration, or unsafe persistence.

Install only if you want a Chinese-language 小六壬 divination helper. Treat its health, finance, legal, and life guidance as cultural or entertainment-oriented interpretation, not as a basis for 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

L053 将自动调用条件描述为“直接描述占卜需求”,并给出自然日常措辞示例,但没有限定明确触发短语、上下文边界或排除条件。这种表述对 markdown 技能说明而言过于宽泛,可能让代理在普通聊天中因提到运势或求助而误触发该技能。

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

L086 说明“描述占卜需求”即可自动加载技能,但未定义何为占卜需求、是否需要特定术语、以及哪些相似表达不应触发。对于技能调用说明,这属于激活条件不清晰,可能造成意外匹配。

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

L094 写明“在用户请求小六壬占卜时会自动调用”,但没有定义请求格式、关键词范围、或代理侧限制条件。该类面向多代理的泛化说明缺少具体触发范围,容易造成实现者采用过宽匹配。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The instruction '以口语化中文' requires responses in Chinese as part of the skill's output behavior. This is a natural-language locale policy constraint, and the file does not indicate that the user can opt into another language or choose their preferred locale.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
82% confidence
Finding

README 全文以中文编写,并面向多种国际化 AI 代理使用场景,但未说明是否支持其他语言或允许用户选择输出语言。按照语言/地区策略,若技能默认强制单一语言且无用户选择,可能构成自然语言层面的语言政策问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

This markdown file presents all instructions and examples exclusively in Chinese, and it does not indicate that the user can choose another language or that the skill is intentionally limited to a Chinese-speaking audience. Under the policy rule, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.