img2-generate-only

PassAudited by VirusTotal on May 8, 2026.

Overview

Type: OpenClaw Skill Name: img2-generate-only Version: 0.1.0 The skill bundle defines a tool for generating images via OpenAI-compatible APIs. The documentation in SKILL.md and the example input are consistent with the stated purpose of calling an external API and saving the resulting image locally. While the execution command in SKILL.md references a hardcoded absolute path (/home/ye/.openclaw/workspace/scripts/img2_generate_only.py) for a script not included in the provided files, there is no evidence of malicious intent, prompt injection, or unauthorized data access within the analyzed content.

Findings (0)

Artifact-based informational review of SKILL.md, metadata, install specs, static scan signals, and capability signals. ClawScan does not execute the skill or run runtime probes.

What this means

The skill may fail on most systems, or it may run whatever script happens to exist at that path; that script would receive the image prompt and API key.

Why it was flagged

The skill's runtime depends on a hard-coded absolute-path script, but the supplied package contains no such script or install spec. If invoked, the agent would run unreviewed local code.

Skill content
python3 /home/ye/.openclaw/workspace/scripts/img2_generate_only.py
Recommendation

Package the script with the skill, provide an install spec, avoid user-specific absolute paths, and review the script before passing real credentials to it.

What this means

A real API key could authorize charges or account access with the configured provider, and command-line secrets may be exposed through shell history or process listings.

Why it was flagged

The skill explicitly requires a provider API key and demonstrates passing it as a command-line argument. This is expected for the image API, but the key is sensitive.

Skill content
### 3)`api_key`
接口密钥。 ... --api_key "sk-xxxx"
Recommendation

Use only trusted API endpoints, prefer a secret manager or environment-based credential handling, and avoid placing real keys directly in command examples or logs.

What this means

Prompts and credentials are sent to the configured endpoint, and files are written to the configured local path.

Why it was flagged

The skill sends requests to a user-supplied API base URL and writes the generated image to a local output directory. This matches the stated purpose but should be used with trusted inputs.

Skill content
`base_url` ... `{base_url}/images/generations` ... `output_dir` ... `/tmp/generated-images`
Recommendation

Confirm the base URL belongs to the intended provider and choose an output directory that is safe for generated files.