Description-Behavior Mismatch
- Category
- MCP Tool Poisoning
- Confidence
- 99% confidence
- Finding
文档转换可以作为生成分析报告的辅助步骤,本身不应被视为违规能力;但所提供代码的全部行为均为通用格式转换,没有呈现所声明的核心股票分析功能。因此,仅就该代码块而言,其实际主要用途与声明存在实质差异。
- Content
Security audit
Security checks for vulnerabilities and agentic risk
The skill is rated suspicious because scanners report that it asks users to share an API key in chat and steers the workflow toward referrals and purchases beyond its stated technical-analysis purpose.
Treat this as a review-needed skill, not a confirmed malicious one. Before installing, consider whether you trust the service and its API-key handling, and avoid pasting secrets into chat; use a protected local configuration if available. Review any scheduled-task setup and commercial prompts, and note that the scan was partial because a referenced local path was missing.
文档转换可以作为生成分析报告的辅助步骤,本身不应被视为违规能力;但所提供代码的全部行为均为通用格式转换,没有呈现所声明的核心股票分析功能。因此,仅就该代码块而言,其实际主要用途与声明存在实质差异。
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')
This is the same credential-exposure issue identified by SQP-2: onboarding requires the user to disclose an API key in chat before the agent writes it to configuration. The stated rule that the agent cannot view the key conflicts with this handling procedure; there is no evidence here of intentional theft or transmission to an unrelated destination.
The setup explicitly asks users to paste an API secret into the agent conversation, exposing it to conversation storage, logging, and any systems with access to that conversation. Authentication is legitimately needed, but conversational disclosure is unnecessary and could enable unauthorized API use or credit consumption if the key leaks.
The skill mandates referral, purchase, and social-sharing prompts and gives them priority over other follow-up interactions, redirecting the agent beyond the user's technical-analysis request. Although it requires user selection and does not automatically purchase or publish anything, this is a bounded workflow-hijacking and commercial-steering risk.
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.
| 环境 | 配置方式 |
|------|---------|
| Claude Code | 用 `CronCreate`,cron 表达式 `30 16 * * 1-5`(自定义时间按用户所选取 分 时 日 月 周) |
| macOS | 建 `~/Library/LaunchAgents/com.cue.technical-analysis.plist`,`StartCalendarInterval` 设 `Weekday` 1–5、`Hour` 16、`Minute` 30,再 `launchctl load` |
| Linux | `crontab -e` 追加 `30 16 * * 1-5 <上面的命令>` |
配完必须回报三件事:**触发时间、绑定标的、如何关掉**(Claude Code 删任务 / `launchctl unload` / `crontab -e` 删除对应行)。
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.
| 环境 | 配置方式 |
|------|---------|
| Claude Code | 用 `CronCreate`,cron 表达式 `30 16 * * 1-5`(自定义时间按用户所选取 分 时 日 月 周) |
| macOS | 建 `~/Library/LaunchAgents/com.cue.technical-analysis.plist`,`StartCalendarInterval` 设 `Weekday` 1–5、`Hour` 16、`Minute` 30,再 `launchctl load` |
| Linux | `crontab -e` 追加 `30 16 * * 1-5 <上面的命令>` |
配完必须回报三件事:**触发时间、绑定标的、如何关掉**(Claude Code 删任务 / `launchctl unload` / `crontab -e` 删除对应行)。
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.
|------|---------|
| Claude Code | 用 `CronCreate`,cron 表达式 `30 16 * * 1-5`(自定义时间按用户所选取 分 时 日 月 周) |
| macOS | 建 `~/Library/LaunchAgents/com.cue.technical-analysis.plist`,`StartCalendarInterval` 设 `Weekday` 1–5、`Hour` 16、`Minute` 30,再 `launchctl load` |
| Linux | `crontab -e` 追加 `30 16 * * 1-5 <上面的命令>` |
配完必须回报三件事:**触发时间、绑定标的、如何关掉**(Claude Code 删任务 / `launchctl unload` / `crontab -e` 删除对应行)。
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.
| macOS | 建 `~/Library/LaunchAgents/com.cue.technical-analysis.plist`,`StartCalendarInterval` 设 `Weekday` 1–5、`Hour` 16、`Minute` 30,再 `launchctl load` |
| Linux | `crontab -e` 追加 `30 16 * * 1-5 <上面的命令>` |
配完必须回报三件事:**触发时间、绑定标的、如何关掉**(Claude Code 删任务 / `launchctl unload` / `crontab -e` 删除对应行)。
### 必须提前告知的两个坑
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` |
---