agnes-image-gen
SKILL.md embeds a real Agnes AI API key and declares shell/filesystem/network capabilities without any executable implementation present, creating credential exposure risk and a significant doc-to-code mismatch.
Why this conclusion was reached
3/4 dimensions flagged3 undeclared or violating capabilities were inferred.
3 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 1 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:47
reconnaissance · SKILL.md:47
Impact · SKILL.md:47
What drove the risk score up
sk-8Rzd2yCbFzOi1vxojseH8C5D8w3u4aMdNWsPNzxk0G7339Cz at SKILL.md:47 is a plausible real Agnes AI key, not a placeholder. Exposed in a published skill file.
SKILL.md does not declare any allowed-tools (shell:WRITE, filesystem:WRITE, network:READ) despite calling curl, writing files, and making HTTP requests
SKILL.md references scripts/agnes_gen.py but no scripts/ directory or code files exist. The skill is documentation-only with no executable.
Calls to apihub.agnes-ai.com are documented but not declared as a resource capability
Most important evidence
Hardcoded real API key in SKILL.md
A plausible real Agnes AI API key (sk-8Rzd2yCbFzOi1vxojseH8C5D8w3u4aMdNWsPNzxk0G7339Cz) is embedded at line 47 of SKILL.md. Unlike the 'your-api-key-here' placeholders, this follows a valid key format and may be a genuine credential. If this is a real key, anyone who accesses the skill can use it at the owner's expense.
SKILL.md:47 Referenced implementation script does not exist
SKILL.md extensively references scripts/agnes_gen.py as the recommended way to use the skill, but no scripts/ directory or code files exist in the package. The skill is entirely documentation.
SKILL.md:60 No allowed-tools declarations for required capabilities
The skill uses curl/bash for HTTP requests, writes files to save images, and calls PowerShell/Python — all of which require declared allowed-tools. SKILL.md declares NONE for all resources despite the implied capabilities. The allowed-tools mapping shows Bash→shell:WRITE, Write→filesystem:WRITE, WebFetch→network:READ, but these are never explicitly declared.
SKILL.md:1 Placeholder credentials in documentation examples
Lines 29 and 32 show 'your-api-key-here' placeholder text in environment variable examples. While these are clearly placeholders, they appear in close proximity to the real API key and could confuse users about which key to use.
SKILL.md:29 Declared capability vs actual capability
SKILL.md makes POST requests to https://apihub.agnes-ai.com but never declares network:READ capability SKILL.md documents saving images to local paths via PowerShell/Python but never declares filesystem:WRITE capability SKILL.md documents curl/bash commands throughout but never declares shell:WRITE capability Suspicious artifacts and egress
sk-8Rzd2yCbFzOi1vxojseH8C5D8w3u4aMdNWsPNzxk0G7339Cz SKILL.md:47
API_KEY = "your-api-key-here" SKILL.md:29
API_KEY="your-api-key-here" SKILL.md:32
https://agnes-ai.com SKILL.md:50
https://apihub.agnes-ai.com/v1/images/generations SKILL.md:98
https://apihub.agnes-ai.com/v1/images/edits SKILL.md:119
https://clawhub.ai/user/jiuwu2495 skill-card.md:7
https://clawhub.ai/jiuwu2495/agnes-image-gen skill-card.md:29
Dependencies and supply chain
There are no structured dependency warnings.
File composition
SKILL.md skill-card.md