Lp3
Medium
- Category
- MCP Least Privilege
- Confidence
- 70% confidence
- Finding
- Without declared permissions the skill's intent is opaque and cannot be validated.
Security audit
Security checks for vulnerabilities and agentic risk
This skill is a disclosed AI Hive image-generation helper with expected API-key use, user-selected image upload, job polling, and result download behavior.
Install only if you are comfortable using AI Hive for image generation. The skill can upload image references you provide, send prompts to AI Hive, consume API credits, open a browser during setup, and store an API key locally in ~/.ai-hive/config.json.
def _resolve_api_key(self, cli_key):
if cli_key:
return cli_key
env_key = os.environ.get("AI_HIVE_API_KEY")
if env_key:
return env_key
file_config = self._read_config_file()def _try_read_existing_api_key():
"""安全读取已配置的 API Key,失败返回 None。"""
env_key = os.environ.get("AI_HIVE_API_KEY")
if env_key:
return env_key
try:No suspicious patterns detected.