HY Image Generation

AdvisoryAudited by Static analysis on Apr 30, 2026.

Overview

No suspicious patterns detected.

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

A normal image-generation request may immediately submit a Tencent Cloud job, which could consume quota or incur cost.

Why it was flagged

The skill instructs the agent to run the Python generation script without an additional confirmation once the user asks for image generation.

Skill content
Agent 必须严格按照以下步骤自主执行,无需询问用户确认 ... 零交互原则:Agent 应直接执行脚本,不要向用户询问任何确认。
Recommendation

Only invoke the skill when you intend to submit a Tencent Cloud image-generation request; consider adding confirmation for paid or sensitive prompts.

What this means

The skill can act through the Tencent Cloud account associated with the configured API key.

Why it was flagged

The script reads Tencent Cloud credentials from the local environment and uses them to create the Tencent Cloud API credential object.

Skill content
secret_id = os.getenv("TENCENTCLOUD_SECRET_ID")
secret_key = os.getenv("TENCENTCLOUD_SECRET_KEY")
...
token = os.getenv("TENCENTCLOUD_TOKEN")
Recommendation

Use a least-privilege Tencent Cloud API key limited to the needed AIArt/Hunyuan image-generation permissions, and avoid using broad account-wide keys.

What this means

Runtime installation depends on the package source available at execution time and may change if the package version changes.

Why it was flagged

If the Tencent SDK is missing, the script installs an unpinned package at runtime.

Skill content
subprocess.check_call([sys.executable, "-m", "pip", "install", "tencentcloud-sdk-python", "-q"], ...)
Recommendation

Prefer preinstalling and pinning a reviewed version of tencentcloud-sdk-python in the environment before using the skill.

What this means

Text prompts and referenced image URLs may be processed by Tencent Cloud.

Why it was flagged

The user's prompt and optional reference image URLs are sent to Tencent Cloud's AIArt API endpoint, which is expected for this image-generation integration.

Skill content
http_profile.endpoint = "aiart.tencentcloudapi.com" ... params = {"Prompt": prompt, "Resolution": resolution} ... params["Images"] = images
Recommendation

Do not submit confidential prompts or private reference image URLs unless you are comfortable sending them to Tencent Cloud under its service terms.