Back to skill

Security audit

Zhouyi Master (周易大师)

Security checks for vulnerabilities and agentic risk

Overview

ClawScan rates this skill suspicious because it reports that personal birth details are sent to an external service without a privacy warning, alongside permission and remote-code concerns; the evidence is incomplete because the scan was partial.

Consider the suspicious verdict before installing. The clearest reported concern is disclosure of names and birth details to an external service without a privacy warning; the report also flags capabilities outside declared permissions. Skillspector marked the scan partial because two local path references were unresolved, and its findings include disputed or unconfirmed alerts, so the evidence does not establish that the skill is malicious or that it is safe.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Behavioral ASTexec() Call, eval() Call, Dynamic Import
  • Taint TrackingDirect Taint Flow, Variable-Mediated Taint Flow, Credential Exfiltration Chain
Findings (8)

Tainted flow: 'req' from os.environ.get (line 165, credential/environment) → urllib.request.urlopen (network output)

Critical
Category
Data Flow
Confidence
90% confidence
Finding

Credentials or environment variables flow to a network sink. This is a high-confidence indicator of credential exfiltration.

Content

Scanner excerpt · zhouyi/zhouyi_core.py (reported line 167)May include surrounding context.

python
headers["Content-Type"] = "application/json; charset=utf-8"
            req = urllib.request.Request(url, data=data, headers=headers, method=method.upper())
            try:
                with urllib.request.urlopen(req, timeout=self.timeout) as resp:
                    http_status = resp.status
                    text = resp.read().decode("utf-8")
            except urllib.error.HTTPError as exc:

Code capability 'file_write' detected in scripts/local_render.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'file_write' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

Code capability 'network' detected in scripts/local_render.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'network' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
90% confidence
Finding

Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.

Content

Scanner excerpt · scripts/local_render.py (reported line 25)May include surrounding context.

python
python3 local_render.py resp.json -o out.html            # 通用渲染
    python3 local_render.py resp.json --func F3 -o out.html  # 八字精做分节
    python3 local_render.py resp.json --func bazi  -o out.html
    curl -s ... | python3 local_render.py - --func lingqian -o out.html
    python3 local_render.py --list-families                  # 列出可用功能族/编号映射
"""

Code capability 'env' detected in zhouyi/zhouyi_core.py but not covered by declared permissions.

High
Category
MCP Least Privilege
Confidence
75% confidence
Finding

The skill uses 'env' capability that is not covered by the declared 'allowed-tools' preapproval. Review the host runtime's actual enforcement policy; runtime permissions are unknown unless separately verified, and this declaration alone does not establish a permission ceiling.

Content

No source excerpt is available for this finding.

The invocation workflow sends personal birth details to an external API without a privacy warning.

Medium
Category
Output Handling
Confidence
95% confidence
Finding

The workflow directs the agent to submit names, birth dates, birth times, and gender to a third-party service without explicitly warning users that their personal information will leave the conversation environment. External processing is consistent with this API-backed divination skill, but requesting a reading does not necessarily establish informed consent to that disclosure.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · config.yaml (reported line 12)May include surrounding context.

yaml
api_key: "sk-zhouyi-cQnryvaJAaNS8JA9TNtWgUK67F6pykaV"              # 默认共享 Key(下载即用);可被环境变量 ZHOUYI_API_KEY 或显式参数覆盖
endpoint:
  base_url: https://api.iching.jiuchongju.com         # 服务根地址;兼容 /api/ 或 /api/open 尾缀
  mcp_url: https://api.iching.jiuchongju.com/mcp      # MCP 服务端点(独立 MCP Server 使用)
brand:
  name: 周易大师
  home: https://iching.jiuchongju.com

Dynamic attribute access via getattr()

Low
Category
Dangerous Code Execution
Confidence
50% confidence
Finding

Dynamic getattr() with a non-literal attribute name can access arbitrary object attributes, potentially bypassing access controls.

Content

Scanner excerpt · zhouyi/zhouyi_cli_dispatch.py (reported line 81)May include surrounding context.

python
("year", "year"), ("month", "month"), ("day", "day"),
                              ("hour", "hour"), ("minute", "minute"),
                              ("sxId", "sx_id"), ("dy", "dy"), ("paiFa", "pai_fa")):
                value = getattr(args, attr, None)
                if value is not None:
                    body[key] = value
        result = client.paipan(args.paipan_type, body)