Back to skill

Security audit

Divination Oracle

Security checks for vulnerabilities and agentic risk

Overview

This is a small Chinese I Ching divination skill that uses bundled data and simple local Python logic, with no evidence of credential access, persistence, network execution, or destructive behavior.

Before installing, treat this as a Chinese-language divination helper with simple local interpretation logic. Do not rely on it for important decisions, and expect the AI interpretation capability to be limited unless the host agent supplies that reasoning.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (12)

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

The code is broadly related to the declared divination purpose: it performs hexagram setup by loading bagua data, selecting upper/lower trigrams and a changing line, and presenting the result. However, a key part of the declared description is missing from the supplied code: there is no actual AI-model interpretation of the hexagram or changing line meanings. Instead, the script merely prints a message saying AI should interpret it next. This is a material description-to-behavior mismatch because interpretation is presented as part of the skill’s functionality but is not implemented in the provided chunk.

Content

No source excerpt is available for this finding.

Tp4

High
Category
MCP Tool Poisoning
Confidence
95% confidence
Finding

声明描述了两个核心能力:1)基于梅花易数起卦;2)结合AI进行卦象辞与变爻含义解读。实际代码只覆盖第1部分中的一小部分,即依据年月日时计算上卦、下卦和变爻编号,且实现较为简化。代码没有卦象映射、卦辞文本、变爻解释、模型调用、网络访问或任何解读逻辑。因此描述高估了实际行为,属于描述与实现不符。

Content

No source excerpt is available for this finding.

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
70% confidence
Finding

Without declared permissions the skill's intent is opaque and cannot be validated.

Content

No source excerpt is available for this finding.

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 · SKILL.md (reported line 4)May include surrounding context.

md
---
name: divination-oracle
description: "易经八卦起卦与解读技能。基于梅花易数算法进行起卦,结合AI大模型解读卦象辞与变爻含义。"
location: ~/clawd/skills/divination-oracle/SKILL.md
---

# Divination Oracle

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
88% confidence
Finding

This JSON data file contains only Chinese-language text entries and provides no natural-language indication that the skill offers language selection or that the locale restriction is intentional and documented. Under the policy, forcing a specific language without user opt-in can be a locale-policy violation.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The user-facing output is entirely in Chinese, including the result header and interpretation prompt, with no indication that the language is optional or configurable. This can violate language/locale policy when a skill imposes a specific language without user opt-in or a documented region-specific requirement.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The README presents the skill description and usage entirely in Chinese, including the only documented invocation phrase, without indicating that users may choose another language. This creates a language policy concern because the skill appears to require a specific language rather than offering user choice or documenting a justified locale restriction.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The trigger example uses a very natural conversational phrase ('帮我算个卦:[您的具体问题]') that can overlap with ordinary chat, making accidental or overly eager invocation more likely. In an agent environment, broad triggers can cause the skill to activate without clear user intent, leading to unintended processing of user messages and unreliable routing behavior.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The user-facing output strings are entirely in Chinese, including the final interpretation shown to the user. This imposes a specific language on all users without any visible language selection, opt-in, or documented locale constraint, which matches the language/locale policy violation category.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

This file contains a user-facing print string entirely in Chinese ("上卦", "下卦", "变爻") with no indication that the skill is intentionally limited to Chinese-speaking users or that alternative locales are supported. Under the policy, forcing a specific language without user opt-in is a natural-language policy concern.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The only natural-language description in this file is the Chinese docstring "梅花易数算法引擎", which indicates a fixed language/locale choice with no user opt-in or documented regional justification. Under the language/locale policy, hard-coding a specific language can be a policy concern when no alternative or opt-in is provided.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
90% confidence
Finding

This code includes user-facing print strings and comments entirely in Chinese, which imposes a specific language on users without any visible opt-in or locale selection. The file does not document that the skill is region-specific or otherwise justify the fixed language choice.

Content

No source excerpt is available for this finding.