china-law-search

Fail

Audited by Snyk on Aug 22, 2026

Risk Level: CRITICAL
Full Analysis

CRITICAL E004: Prompt injection detected in skill instructions.

  • Potential prompt injection detected (high risk: 0.90). The skill includes a "自我进化规则" section that explicitly instructs the agent to automatically update the skill's code and documentation after use, which is an instruction for self-modification and persistent behavior outside the stated law-search functionality.

MEDIUM W011: Third-party content exposure detected (indirect prompt injection risk).

  • Third-party content exposure detected (medium risk: 0.30). 该技能在运行时通过 LLM/用户输入的“keyword/法规名称”直接调用 flk_api.search()(POST 到 https://flk.npc.gov.cn/law-search/search/list)与 gov_api.search()(POST 到 https://sousuoht.www.gov.cn/athena/forward/...)来检索并读取其返回的法规文本/字段,而该输入可能携带旁路注入意图;同时在 --content 模式下还会按正文内容搜索并返回正文字段。

MEDIUM W012: Unverifiable external dependency detected (runtime URL that controls agent).


MEDIUM W013: Attempt to modify system services in skill instructions.

  • Attempt to modify system services in skill instructions detected (high risk: 0.80). The skill explicitly instructs automatic self-updating of its own code/docs (modifying files under ~/.claude/skills) and includes automated installation of global tools (npm install -g) and writing cache files, which direct the agent to change the host filesystem/state.

Issues (4)

E004
CRITICAL

Prompt injection detected in skill instructions.

W011
MEDIUM

Third-party content exposure detected (indirect prompt injection risk).

W012
MEDIUM

Unverifiable external dependency detected (runtime URL that controls agent).

W013
MEDIUM

Attempt to modify system services in skill instructions.

Audit Metadata
Risk Level
CRITICAL
Analyzed
Aug 22, 2026, 05:35 PM
Issues
4
Security Audit — snyk — china-law-search