Back to skill

Security audit

图片提示词生成

Security checks for vulnerabilities and agentic risk

Overview

This is a disclosed image-prompt generator that sends user-entered descriptions to the local OpenClaw Gateway and does not show hidden persistence or destructive behavior.

Before installing, confirm that you trust the model provider configured behind your OpenClaw Gateway and avoid entering confidential creative briefs or client material unless that provider is acceptable. The skill would benefit from narrower trigger phrases, but the reviewed artifacts are purpose-aligned and disclosed.

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
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • 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
Findings (5)

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The trigger phrase '生成提示词' is overly generic and can match many non-image-related requests, causing the skill to activate outside its intended scope. This increases the risk of prompt hijacking or unintended routing, where unrelated user requests are handled by this skill and their content is forwarded to the configured model provider.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

The pattern '用[风格]风格生成' is ambiguous because it lacks any image-specific constraint and could match broad content-generation requests such as writing, code, or document creation. In this skill, that ambiguity is more dangerous because matched requests may be transformed and sent to the model backend, leading to unintended invocation and possible disclosure of user input to the downstream provider.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The natural-language instruction explicitly requires output to be in Chinese, and the UI also hardcodes Chinese-language behavior, without offering the user a language selection or documenting a justified region-specific constraint. This is a locale policy issue because it imposes a specific language regardless of user preference.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The app sends raw user-entered content to a remote LLM API via fetch() without any visible disclosure, consent flow, or privacy notice in the UI. In a prompt-generation tool, users may paste proprietary creative concepts, client materials, or sensitive text, so silent transmission creates a genuine privacy and data-handling risk even if there is no direct code execution issue.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description is written entirely in Chinese, which imposes a specific language/locale in the skill metadata without indicating that users can choose another language. This can violate language/locale policy where skills should not force a language unless clearly justified or optional.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.