Back to skill

Security audit

Ecommerce Image Asset Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent ecommerce image-planning and image-generation guide, with expected but user-managed provider and credential considerations.

Before using generation or editing mode, confirm which provider will receive prompts or source images, avoid uploading confidential product or campaign assets unless approved, and never paste raw API keys or tokens into chat; use environment variables or a secret manager instead.

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 (2)

Missing User Warnings

Medium
Confidence
91% confidence
Finding
The skill explicitly supports generating or editing images through external providers and returning saved paths or URLs, but it does not instruct the agent to warn users that prompts, source images, and resulting assets may be transmitted to third-party services or written to storage. In a workflow that may include product images, unreleased campaign assets, or proprietary creative, this omission can lead to unintended data disclosure and side effects without informed user consent.

Missing User Warnings

Medium
Confidence
95% confidence
Finding
The skill asks users how access is configured and whether API keys such as ARK_API_KEY are configured, but it never warns users not to paste secrets directly into chat. In practice, users may respond by disclosing raw API keys, tokens, or signing material in conversation, creating a direct credential-exposure risk that could enable unauthorized provider use or downstream compromise.

Static analysis

No suspicious patterns detected.