Description-Behavior Mismatch
- Category
- MCP Tool Poisoning
- Confidence
- 99% confidence
- Finding
所提供代码没有执行法律资料检索、访问裁判文书或监管问答来源,也没有进行案例分析。文档导出可以作为法律检索工具的辅助功能,但该代码块仅包含独立的格式转换命令,未体现与所声明法律功能的关联,因此其实际主要行为与描述不符。
- Content
Security audit
Security checks for vulnerabilities and agentic risk
The skill is marked suspicious because scanners report behavior that does not match its legal-research purpose and instructions to share an API key in chat; they did not establish malicious intent.
Consider avoiding installation until the API-key handling and the mismatch between the stated legal-research purpose and the reported extra functions are clarified. Do not paste a secret key into chat. The scan is marked partial because a referenced local path was missing, so some evidence is incomplete; the scanners did not establish malicious intent.
所提供代码没有执行法律资料检索、访问裁判文书或监管问答来源,也没有进行案例分析。文档导出可以作为法律检索工具的辅助功能,但该代码块仅包含独立的格式转换命令,未体现与所声明法律功能的关联,因此其实际主要行为与描述不符。
The supplied chunk is an operational diagnostic and account-status script. It does not accept a legal dispute, search judgments or regulatory materials, retrieve cases, or analyze legal outcomes. Authentication and availability checks could support a larger legal-search workflow, but this chunk contains only those checks and an undeclared billing lookup. The credential is sent to the Cue service as an authentication token; the code alone does not establish malicious credential exfiltration.
The supplied chunk performs only local configuration writes; it does not search, retrieve, or analyze legal materials. Configuration can be a supporting implementation detail, but nothing supplied connects this particular configuration to the declared service. The overwrite could also replace an existing API key with a placeholder. No network access or credential exfiltration is shown.
Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
CUE_KEY=$(python3 -c "import json;print(json.load(open('$HOME/.cue/config.json'))['api_key'])" 2>/dev/null || echo "$CUE_API_KEY")
echo "=== 1/4 API Key ===" && [ -n "$CUE_KEY" ] && echo "已配置" || echo "未配置!"
echo "=== 2/4 Cue 服务 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/health" -H "Authorization: Bearer $CUE_KEY"
echo "=== 3/4 搭子 ===" && curl -sS --max-time 10 "https://cuecue.cn/api/playbook" -H "Authorization: Bearer $CUE_KEY" | python3 -c "import sys,json;scenes=json.load(sys.stdin).get('data',{}).get('scenes',[]);buddy=[b for s in scenes if s.get('secondary_category')=='法律合规' for b in s.get('buddies',[]) if b.get('title')=='疑难法律实操案例库'];print(f'可用:{len(buddy)}个') if buddy else print('暂不可用')"
echo "=== 4/4 剩余积分 ===" && python3 -c "
import json, urllib.request, os
p = os.path.expanduser('~/.cue/config.json')
The onboarding instructions repeatedly require users to paste a bearer API key into the conversation, unnecessarily exposing it to chat retention, transcripts, and systems processing those messages. The sample configuration write also sets no explicit restrictive permissions, so local exposure depends on the existing file permissions and process umask.
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.
Cue API Key:在 cuecue.cn 注册后免费创建,新账号送 500 积分 + 每天 10 积分。点击「创建 API Key」,生成 API Key 后一定要点击「复制」并粘贴发送给您正在使用的智能体。写入 ~/.cue/config.json:
mkdir -p ~/.cue
echo '{"api_key": "sk你的key"}' > ~/.cue/config.json
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
| 目标格式 | 依赖 | macOS | Ubuntu |
|----------|------|-------|--------|
| Word (.docx) | pandoc | `brew install pandoc` | `sudo apt install pandoc` |
| PDF (.pdf) | pandoc + LaTeX | `brew install --cask basictex` | `sudo apt install texlive-xetex` |
---
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
| 目标格式 | 依赖 | macOS | Ubuntu |
|----------|------|-------|--------|
| Word (.docx) | pandoc | `brew install pandoc` | `sudo apt install pandoc` |
| PDF (.pdf) | pandoc + LaTeX | `brew install --cask basictex` | `sudo apt install texlive-xetex` |
---
Triggers such as “离婚” (divorce), “继承” (inheritance), and “交通事故” (traffic accident) identify topics rather than requests for legal-case research. They can occur in emotional-support conversations, programming discussions, or emergency requests, and the skill provides no exclusion conditions for these uses.
The output specification explicitly requires a Chinese report, and lines 402–403 repeat that requirement without offering user opt-in or another language. Although the research covers domestic Chinese cases, the file does not explain why the report itself must be Chinese regardless of the user's preferred language.
The skill requires a promotional workflow and forbids other follow-up questions until it has been presented, allowing vendor marketing instructions to displace the user's legal-research priorities. The social-sharing option also carries a report identifier, creating a potential privacy concern for sensitive legal matters, although the text does not itself automatically publish a report.