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.
Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 5 attack-chain steps and 2 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
reconnaissance · SKILL.md:1
resource_access · index.js:49
data_collection · index.js:63
Exfiltration · index.js:134
Impact · index.js:7
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
API_KEY = "3ee94c45-6dad-4680-827c-eb3017420dff" index.js:7
https://ark.cn-beijing.volces.com/api/v3/chat/completions index.js:134
Dependencies and supply chain
There are no structured dependency warnings.
File composition
index.js