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.
Why this conclusion was reached
3/4 dimensions flagged3 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 4 attack-chain steps and 3 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:1
trust_exploitation · SKILL.md:7
Escalation · scripts/generate_image.py:30
Impact · scripts/generate_image.py:21
What drove the risk score up
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
Most important evidence
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 Declared capability vs actual capability
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 Suspicious artifacts and egress
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
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| requests | * | pip | No | Version not pinned - could receive malicious updates |
File composition
scripts/generate_image.py SKILL.md skill-card.md