skill-publisher
skill-publisher 包含硬编码 GitHub Token 和本地路径的发布脚本,且该脚本不应分发给用户。Token 已暴露需立即轮换。
upload_to_github.py 第 7 行包含完整的 GitHub PAT (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)。该 Token 已随 skill 发布而公开暴露,任何人都可使用此 Token 访问 OWNER 的 GitHub 账户。
upload_to_github.py:7 Why this conclusion was reached
2/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 3 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · skill-card.md:1
Escalation · upload_to_github.py:7
Impact · upload_to_github.py:7
What drove the risk score up
upload_to_github.py:7 包含真实 ghp_ TOKEN,已暴露给公众
BASE_DIR 暴露 Windows 用户目录 d:\TRAE SOLO CN\...
upload_to_github.py 是 maintainer tool,不应包含在分发物中,违反 security-audit.md 规则
Most important evidence
硬编码 GitHub Personal Access Token
upload_to_github.py 第 7 行包含完整的 GitHub PAT (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)。该 Token 已随 skill 发布而公开暴露,任何人都可使用此 Token 访问 OWNER 的 GitHub 账户。
upload_to_github.py:7 本地 Windows 路径泄露
upload_to_github.py 第 8 行包含绝对路径 'd:\TRAE SOLO CN\project\skill-publisher',暴露了维护者的 Windows 用户目录结构。
upload_to_github.py:8 Maintainer Tool 不应分发
upload_to_github.py 是发布脚本(maintainer tool),用于将 skill 发布到 GitHub。security-audit.md 明确规定 'publish_all.ps1 and similar scripts are maintainer tools — never include in distribution',但此脚本被包含在分发物中。
upload_to_github.py:1 文档声明与实际行为不符
SKILL.md 声称执行安全扫描会阻止任何 FAIL,但 SKILL.md 自身包含 '本地路径' (BASE_DIR) 和 '危险命令' (base64 编码)。security-audit.md 定义了三层扫描规则,但 skill 本身未能通过这些检查。
SKILL.md:1 Declared capability vs actual capability
SKILL.md: GitHub API calls via REST API SKILL.md: generates repo files, read_local_file() Suspicious artifacts and egress
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 upload_to_github.py:7
https://img.shields.io/github/stars/EdwardWason/skill-publisher?style=flat-square README.en.md:5
https://img.shields.io/badge/license-MIT--0-green?style=flat-square README.en.md:6
https://img.shields.io/badge/ClawHub-skill--publisher-orange?style=flat-square README.en.md:7
https://clawhub.ai/skills/skill-publisher README.en.md:7
https://img.shields.io/badge/Claude%20Code-Skill-blue?style=flat-square README.en.md:8
https://img.shields.io/github/stars/ references/repo-structure.md:64
https://img.shields.io/badge/ClawHub- references/repo-structure.md:66
https://clawhub.ai/skills/ references/repo-structure.md:66
https://evil.com/collect?data=... references/security-audit.md:50
https://clawhub.ai/user/edwardwason skill-card.md:7
https://clawhub.ai/edwardwason/skill-publisher-ai skill-card.md:27
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md references/repo-structure.md references/publish-procedures.md README.en.md upload_to_github.py references/security-audit.md skill-card.md