Scan Report
15 /100
murasame-feishu-voice
飞书语音气泡技能:使用丛雨(Murasame)语音包发送语音气泡,并同步发送中文文本
飞书语音气泡技能,功能为发送语音消息和网络调用飞书 API,代码基本与声明一致;存在轻微的未声明外部脚本调用但用途合理。
Safe to install
可安全使用。建议将 subprocess.Popen 调用的外部脚本路径声明于文档中,并考虑将状态文件路径暴露为可配置。
Findings 4 items
| Severity | Finding | Location |
|---|---|---|
| Low | 外部脚本调用未声明 Doc Mismatch | scripts/send_murasame_voice.py:243 |
| Low | ffprobe subprocess 调用未声明 Doc Mismatch | scripts/send_murasame_voice.py:63 |
| Low | 调试文件写入残留 Sensitive Access | scripts/send_text.py:54 |
| Info | 硬编码 Windows 路径 Priv Escalation | scripts/send_murasame_voice.py:22 |
| Resource | Declared | Inferred | Status | Evidence |
|---|---|---|---|---|
| Filesystem | NONE | WRITE | ✓ Aligned | scripts/send_murasame_voice.py:196-198 write_state() |
| Network | READ | READ | ✓ Aligned | scripts/send_murasame_voice.py:54 urllib Feishu API |
| Shell | NONE | READ | ✓ Aligned | scripts/send_murasame_voice.py:63 subprocess.run ffprobe |
3 findings
Medium External URL 外部 URL
https://open.feishu.cn/open-apis/auth/v3/tenant_access_token/internal scripts/send_murasame_voice.py:54 Medium External URL 外部 URL
https://open.feishu.cn/open-apis/im/v1/files scripts/send_murasame_voice.py:106 Medium External URL 外部 URL
https://open.feishu.cn/open-apis/im/v1/messages?receive_id_type=open_id scripts/send_murasame_voice.py:132 File Tree
4 files · 14.2 KB · 431 lines Python 2f · 360L
Markdown 1f · 55L
JSON 1f · 16L
├─
▾
references
│ └─
mapping.json
JSON
├─
▾
scripts
│ ├─
send_murasame_voice.py
Python
│ └─
send_text.py
Python
└─
SKILL.md
Markdown
Dependencies 2 items
| Package | Version | Source | Known Vulns | Notes |
|---|---|---|---|---|
ffmpeg | N/A | system | No | 系统级依赖,通过 subprocess 调用 |
ffprobe | N/A | system | No | 系统级依赖,通过 subprocess 调用 |
Security Positives
✓ 凭证(FEISHU_APP_ID/SECRET)仅用于飞书 API 调用,无外传行为
✓ 语音发送逻辑清晰,标签映射机制合理
✓ 开关控制通过状态文件实现,无需每次传递参数
✓ 代码结构良好,函数职责单一
✓ mapping.json 分离配置,便于扩展标签