github-code-analyzer
Hardcoded API credentials exposed in source code, undocumented external API communications to ByteDance VolcEngine instead of declared DeepSeek, and shell execution on user-controlled repository URLs.
为什么得出这个结论
3/4 个维度触发发现 2 项声明之外的能力或越权行为。
提取到 1 个高危 IOC 或外联信号。
报告包含 5 步攻击链,另有 2 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
reconnaissance · SKILL.md:1
resource_access · index.js:49
data_collection · index.js:63
数据外泄 · index.js:134
最终危害 · index.js:7
风险分是怎么被拉高的
ARK_API_KEY = "3ee94c45-6dad-4680-827c-eb3017420dff" exposed in index.js:7
SKILL.md states DeepSeek but code calls ark.cn-beijing.volces.com (ByteDance VolcEngine)
git clone executes on user-provided repo URLs without validation
Repository structure and code samples sent to external API
最关键的证据
Hardcoded API Credential
API key '3ee94c45-6dad-4680-827c-eb3017420dff' is hardcoded in index.js:7. This exposes sensitive credentials in source code, making them easily extractable.
index.js:7 Undeclared External API Communication
SKILL.md claims to use DeepSeek API, but code sends data to 'ark.cn-beijing.volces.com' (ByteDance VolcEngine API). Repository data and code samples are transmitted to this endpoint.
index.js:134 Shell Command Injection Risk
User-provided repository URLs are passed directly to git clone command without sanitization. While git clone has some protection, malformed URLs could cause issues.
index.js:49 Missing Permission Declaration
SKILL.md does not declare shell execution (exec) or filesystem write operations used in the implementation.
index.js:46 声明能力 vs 实际能力
index.js:49 - fs.rmSync used for cleanup index.js:49 - exec(git clone...) without doc declaration index.js:134 - POST to external API with repo data API key hardcoded instead of env var usage 可疑产物与外联
API_KEY = "3ee94c45-6dad-4680-827c-eb3017420dff" index.js:7
https://ark.cn-beijing.volces.com/api/v3/chat/completions index.js:134
依赖与供应链
没有结构化依赖告警。
文件构成
index.js