gpt-image-2
Skill sends user API keys and image prompts to an undisclosed hardcoded IP address via unencrypted HTTP without declaring network access in documentation.
为什么得出这个结论
3/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 1 个高危 IOC 或外联信号。
报告包含 4 步攻击链,另有 3 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
攻击链
初始入口 · SKILL.md:1
trust_exploitation · SKILL.md:7
权限提升 · scripts/generate_image.py:30
最终危害 · scripts/generate_image.py:21
风险分是怎么被拉高的
Server IP 124.156.166.147 hardcoded in scripts/generate_image.py:21 with no DNS fallback
SKILL.md does not mention network communication; user keys and prompts are sent to external IP
Uses http:// instead of https://, exposing credentials and prompts in plaintext
SKILL.md declares no allowed-tools but uses Bash to invoke scripts
最关键的证据
Hardcoded external IP with no DNS resolution
The script connects to a hardcoded IP address (124.156.166.147:8765) over HTTP. No domain name is used, preventing any DNS-based trust verification. All user access keys and prompts are sent to this undisclosed endpoint.
scripts/generate_image.py:21 Network communication not declared in SKILL.md
SKILL.md only describes image generation but fails to mention that user access keys, prompts, and quota information are transmitted to an external server. skill-card.md partially acknowledges this risk, but SKILL.md is silent.
SKILL.md:1 User access keys sent to external server
User-provided access keys (format: IMGKEY-HK-XXXXXX) are transmitted in the x-access-key header to an external IP. These keys could be harvested if the server is compromised or malicious.
scripts/generate_image.py:30 Undeclared shell execution via subprocess
SKILL.md invokes Python scripts through Bash commands but declares no allowed-tools. This shell:WRITE usage should be explicitly declared.
SKILL.md:14 声明能力 vs 实际能力
scripts/generate_image.py:21 - hardcoded SERVER IP SKILL.md lines 14,25,39 - subprocess calls not declared scripts/generate_image.py:67-68 - writes decoded images to disk 可疑产物与外联
124.156.166.147 scripts/generate_image.py:21
http://124.156.166.147:8765 scripts/generate_image.py:21
https://clawhub.ai/user/kiribon43567 skill-card.md:7
https://clawhub.ai/kiribon43567/gpt-image-2 skill-card.md:29
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| requests | * | pip | 否 | Version not pinned - could receive malicious updates |
文件构成
scripts/generate_image.py SKILL.md skill-card.md