wenzi-runse
功能正常的文章润色工具,存在硬编码公共密钥和明文凭证存储的安全问题,但均为声明行为,无阴影功能。
Why this conclusion was reached
1/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
2 high-risk artifacts or egress signals were extracted.
There is no explicit malicious chain in the report.
Dependency information is incomplete, so supply-chain confidence stays limited.
What drove the risk score up
DEFAULT_API_KEY 直接写在代码中,虽然是公共共享密钥但不符合最佳实践
用户密钥以明文保存在~/.workbuddy/wenzi-runse-config.json,SKILL.md已声明但仍有风险
用户文本POST到外部云函数,虽声明为无状态但仍存在数据外流
Most important evidence
公共API密钥硬编码在源代码中
默认API密钥 'sk-16a611a2dbb9270b476c2caf29414e345f587f0548aca4a7' 直接硬编码在 scripts/runse.py 第21行,作为公共共享密钥使用。虽然这是有意设计(用于免费体验),但将密钥明文写在代码中不符合安全最佳实践,一旦代码泄露密钥即暴露。
scripts/runse.py:21 用户密钥明文存储在本地文件系统
SKILL.md 声明用户密钥会以明文保存在 ~/.workbuddy/wenzi-runse-config.json。虽然脚本设置了0600权限(仅当前用户可读),但明文存储凭证仍有被本地其他进程或恶意软件读取的风险。
scripts/runse.py:79 缺少依赖版本锁定
脚本仅使用标准库(argparse, json, os, sys, urllib.request),无第三方依赖,因此不存在依赖供应链风险。
N/A 用户文本数据发送至外部云函数
处理文本会POST到腾讯云函数 https://1257707270-955niawhww.ap-shanghai.tencentscf.com。SKILL.md已声明'云函数无状态运行,处理完立即返回结果并丢弃',但用户文本实际离开了本地环境。
scripts/runse.py:41 Declared capability vs actual capability
scripts/runse.py:79-84 save_key写入配置文件 scripts/runse.py:41-55 call_api POST到云端 SKILL.md: Bash工具声明,scripts/runse.py为python脚本 代码未访问os.environ Suspicious artifacts and egress
sk-16a611a2dbb9270b476c2caf29414e345f587f0548aca4a7 scripts/runse.py:21
API_KEY = "sk-16a611a2dbb9270b476c2caf29414e345f587f0548aca4a7" scripts/runse.py:21
https://1257707270-955niawhww.ap-shanghai.tencentscf.com/bailian/chat scripts/runse.py:19
https://1257707270-955niawhww.ap-shanghai.tencentscf.com/v1/models scripts/runse.py:20
https://clawhub.ai/user/abcqq1234567 skill-card.md:9
https://clawhub.ai/abcqq1234567/skills/wenzi-runse skill-card.md:39
Dependencies and supply chain
There are no structured dependency warnings.
File composition
scripts/runse.py skill-card.md