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.
为什么得出这个结论
3/4 个维度触发发现 3 项声明之外的能力或越权行为。
提取到 3 个高危 IOC 或外联信号。
报告包含 3 步攻击链,另有 1 项高危或严重发现。
没有完整依赖信息,供应链判断需要保留弹性。
攻击链
初始入口 · SKILL.md:47
reconnaissance · SKILL.md:47
最终危害 · SKILL.md:47
风险分是怎么被拉高的
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
最关键的证据
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 声明能力 vs 实际能力
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 可疑产物与外联
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
依赖与供应链
没有结构化依赖告警。
文件构成
SKILL.md skill-card.md