Back to skill

Security audit

Ai Image Gen Skill

Security checks for vulnerabilities and agentic risk

Overview

This is a simple Gemini image-generation skill, with privacy and dependency caveats but no evidence of hidden or destructive behavior.

Install only if you are comfortable using a Gemini-backed image generator. Avoid confidential prompts, personal data, or private reference images unless you have approval, and make sure the referenced local generate_image.py helper comes from a trusted OpenClaw installation because it is not bundled in this artifact.

Vulnerability Patterns
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (1)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The skill documentation states that a GEMINI_API_KEY is required and shows prompts plus optional reference images being passed to an image-generation script, but it does not disclose that this content is likely sent to an external Gemini service. Users may unknowingly submit sensitive text prompts or private images to a third party, creating confidentiality and privacy risks.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.