Back to skill

Security audit

AI Hairstyle Generator

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Media.io hairstyle-generation helper that sends user-provided image URLs to Media.io and does not show hidden, persistent, or destructive behavior.

Install only if you are comfortable sending user-authorized portrait image URLs to Media.io for processing. Avoid using private or sensitive images unless you understand Media.io's retention and sharing terms, and keep MEDIAIO_API_KEY out of logs and shared transcripts.

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
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • 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 (3)

Hidden Instructions

High
Category
Prompt Injection
Confidence
60% confidence
Finding

Hidden instructions were detected in comments or invisible text. These could contain malicious directives. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 1)May include surrounding context.

md
---
name: mediaio-ai-hairstyle-generator
description: Try different hairstyles and accessories on photos using AI via Media.io OpenAPI. Preview new haircuts, hair colors, glasses, hats. AI hairstyle generator, hair color changer, virtual haircut AI.
metadata: {"openclaw": {"homepage": "https://platform.media.io/docs/", "requires": {"bins": ["curl"], "env": ["MEDIAIO_API_KEY"]}, "primaryEnv": "MEDIAIO_API_KEY"}}

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill instructs users to supply image URLs to a third-party API but does not clearly warn that both the source image and resulting generated media are transmitted to and processed by Media.io. This creates a privacy and data-handling risk, especially for portrait images, because users may unknowingly send sensitive personal images to an external service.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
88% confidence
Finding

The skill is explicitly designed to send data to an external service, including API authentication headers and user-provided image URLs. In context this is expected functionality, but it is still a real security/privacy-relevant behavior because external transmission of portrait images to a third party can expose sensitive personal data if users are not properly informed or if logs capture request details.

Content

Scanner excerpt · SKILL.md (reported line 100)May include surrounding context.

  1. Stop when status is completed or failed.
  2. Return output URLs from data.result when completed.

cURL Examples

Query Credits

bash

Static analysis

No suspicious patterns detected.