x-entrepreneur-rank
功能正常的X(Twitter)企业家榜单工具,存在文档不完整和隐式外部依赖等轻微瑕疵,无恶意行为证据。
Why this conclusion was reached
1/4 dimensions flagged1 undeclared or violating capabilities were inferred.
6 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
fetch_rank.py 和 generate_report.py 使用 subprocess 调用其他脚本和打开浏览器,SKILL.md 未声明 shell 权限需求
generate_report.py 引用 html2canvas CDN,SKILL.md 声称仅用标准库
report 生成后默认调用 xdg-open/open 自动打开浏览器,用户需显式加 --no-open 才能禁用
Most important evidence
subprocess 调用未在文档中声明
fetch_rank.py 第 128 行使用 subprocess 调用 generate_report.py,generate_report.py 第 218-224 行使用 subprocess 打开浏览器。SKILL.md 未声明 shell/EXEC 权限需求。
scripts/fetch_rank.py:128 隐式外部 CDN 依赖未声明
generate_report.py 生成的 HTML 引用 html2canvas CDN (https://cdn.jsdelivr.net/npm/[email protected]/dist/html2canvas.min.js),用于导出图片功能。SKILL.md 声称「使用 Python 标准库,无需安装第三方包」。
scripts/generate_report.py:205 浏览器自动打开行为缺少提示
generate_report.py 在不使用 --no-open 参数时会自动调用 xdg-open/open 打开生成的 HTML 报告。这一行为在 SKILL.md 中仅作为隐式功能存在,未在能力声明中明确。
scripts/generate_report.py:218 Declared capability vs actual capability
写入 JSON/HTML 到本地,符合文档描述 仅访问 redfox.hk API,与文档一致 fetch_rank.py:128 subprocess调用; generate_report.py:218-224 浏览器打开 仅读取 REDFOX_API_KEY 用于 API 认证 Suspicious artifacts and egress
https://redfox.hk/settings/api-keys?source=clawhub SKILL.md:33
https://redfox.hk/story/api/x/hotAccount/rankList references/api_docs.md:10
https://redfox.hk/story/api/x/userTimeline references/api_docs.md:46
https://clawhub.ai/user/redfox-data skill-card.md:9
https://clawhub.ai/redfox-data/skills/x-entrepreneur-rank skill-card.md:40
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| urllib | stdlib | python | No | 标准库,无风险 |
| html2canvas | 1.4.1 | jsdelivr CDN | No | HTML 报告图片导出用,运行时加载 |
File composition
scripts/generate_report.py scripts/fetch_rank.py SKILL.md references/api_docs.md skill-card.md