Back to skill

Security audit

uni-image

Security checks for vulnerabilities and agentic risk

Overview

The skill is mostly coherent for multi-provider image generation, but it tells users to run an unreviewed proxy script outside the published artifact and persist API keys locally without documented protections.

Install only if you are comfortable with a local proxy that sends prompts and image data to the selected AI provider. Before use, verify the actual proxy and injection scripts from the package you install, avoid putting secrets in prompts, use restricted provider keys with billing limits, and check or delete `~/.openclaw-dev/uni-image-config.json` if you do not want keys retained on disk.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
Findings (2)

T09 · Insecure Skill Coding Practices

Error
Location
SKILL.md:74
Finding

Execution of an Unverified Script Outside the Skill Package

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:49
Finding

Persistent Plaintext Storage of Image-Provider API Keys

Content
View full analysis
Remediation
View remediation
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 (5)

Ae1

High
Category
analysis-evasion
Confidence
100% confidence
Finding

Referenced artifact was not completely inspected

Content

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

md
- `SKILL.md` — This skill manifest

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
90% confidence
Finding

The skill is designed to proxy prompts and image-generation requests to multiple third-party AI providers, but the documentation does not prominently warn users that their prompts and related data will be transmitted off-host. In an image-generation context, prompts may contain sensitive business, personal, or proprietary information, so lack of explicit disclosure creates a meaningful privacy and data-handling risk.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The documentation explicitly states that API keys are stored in a local file under the user's home directory, but it gives no warning about credential persistence, file permissions, or the sensitivity of that location. This can lead users to leave long-lived third-party API credentials on disk in plaintext or weakly protected form, increasing the risk of accidental disclosure through backups, shared accounts, or local compromise.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
60% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

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

bash
# Seedream (default)
node {baseDir}/../../uni-image-proxy.js &
curl -X POST http://127.0.0.1:18800/v1/images/generations \
  -H "Content-Type: application/json" \
  -d '{"model":"doubao-seedream-5-0-260128","prompt":"a cute cat","size":"1024x1024"}'

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
80% confidence
Finding

The title and several usage references rely on Chinese-language labels such as 统一多平台 AI 图片生成, 绘画助手, and 模型平台, while the document otherwise targets a broader audience in English. This can amount to a language/locale constraint without explicit opt-in or an offered language choice.

Content

No source excerpt is available for this finding.