扫描报告
22 /100
携程笔记全自动发布
携程内容中心全自动发布技能,支持从 Bing Images 搜索高清无版权图片、自动填写标题正文、自动上传图片、自动选择目的地、自动点击发布
The skill implements legitimate Ctrip auto-publishing via Chrome browser automation, but makes undeclared use of AppleScript shell execution and has documentation mismatch regarding CDP protocol vs osascript implementation.
可以安装
Declare shell:WRITE permission in SKILL.md if AppleScript/subprocess usage is intentional; align SKILL.md's stated CDP WebSocket approach with the actual osascript implementation; pin Playwright dependency in publish.sh.
安全发现 3 项
| 严重性 | 安全发现 | 位置 |
|---|---|---|
| 中危 | Undeclared shell execution via osascript 文档欺骗 | scripts/ctrip_auto_publish.py:52 |
| 中危 | SKILL.md claims CDP WebSocket but code uses AppleScript 文档欺骗 | SKILL.md:42 |
| 低危 | Unpinned Playwright dependency in publish.sh 供应链 | scripts/publish.sh:14 |
| 资源类型 | 声明权限 | 推断权限 | 状态 | 证据 |
|---|---|---|---|---|
| 文件系统 | WRITE | WRITE | ✓ 一致 | SKILL.md and scripts/write target /tmp/openclaw/uploads/ and ~/.qclaw/workspace/ |
| 网络访问 | READ | READ | ✓ 一致 | SKILL.md; scripts access Bing Images and Ctrip URLs |
| 浏览器 | READ | READ | ✓ 一致 | SKILL.md; scripts control Chrome via osascript DOM manipulation |
| 命令执行 | NONE | WRITE | ✗ 越权 | auto_fill.py:14 subprocess.run(['osascript']); ctrip_auto_publish.py:37+52+69 su… |
| 环境变量 | NONE | NONE | — | No env var access observed |
| 剪贴板 | NONE | NONE | — | No clipboard access observed |
| 数据库 | NONE | NONE | — | No database access observed |
| 技能调用 | NONE | NONE | — | No cross-skill invocation observed |
5 项发现
中危 外部 URL 外部 URL
https://we.ctrip.com/publish/publishPictureText SKILL.md:65 中危 外部 URL 外部 URL
https://we.ctrip.com/publish/publishHome SKILL.md:170 中危 外部 URL 外部 URL
https://we.ctrip.com/publish/contentManagement SKILL.md:171 中危 外部 URL 外部 URL
https://we.ctrip.com/publish/detail?articleType=1 scripts/publish.py:15 中危 外部 URL 外部 URL
https://we.ctrip.com/publish/detail?articleType=2 scripts/publish.py:16 目录结构
7 文件 · 26.4 KB · 885 行 Python 4f · 684L
Markdown 1f · 170L
Shell 1f · 21L
JSON 1f · 10L
├─
▾
scripts
│ ├─
auto_fill.py
Python
│ ├─
ctrip_auto_publish.py
Python
│ ├─
generate_script.py
Python
│ ├─
publish.py
Python
│ └─
publish.sh
Shell
├─
_meta.json
JSON
└─
SKILL.md
Markdown
依赖分析 2 项
| 包名 | 版本 | 来源 | 已知漏洞 | 备注 |
|---|---|---|---|---|
playwright | * | pip3 | 否 | Version not pinned in publish.sh |
websockets | not used | pip | 否 | Listed in SKILL.md but not used in any script |
安全亮点
✓ No credential harvesting or environment variable enumeration observed
✓ No data exfiltration or external C2 communication detected
✓ No obfuscation, base64-encoded payloads, or anti-analysis techniques
✓ No access to sensitive paths (~/.ssh, ~/.aws, .env, keychain)
✓ No reverse shell, RCE payloads, or privilege escalation attempts
✓ No hidden HTML comments or prompt injection instructions
✓ Content and destinations are hardcoded sample travel data, not user data theft
✓ Filesystem write scope is limited to /tmp and ~/.qclaw/workspace, both non-sensitive