可灵视频生成

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 user may not see the API key and local tool requirements in the registry metadata before opening the skill details.

Why it was flagged

The registry permission/dependency contract does not advertise the credential and tools that the SKILL.md/script require. This is a visibility issue, not evidence of hidden installation or malicious code.

Skill content
Required binaries (all must exist): none ... Required env vars: none ... Primary credential: none
Recommendation

Declare HSAI_API_KEY, curl, and python3 in metadata so users can review requirements before use.

What this means

The key may authorize video generation, account usage, or billing with the provider.

Why it was flagged

The script requires HSAI_API_KEY and sends it as a bearer token to the configured API. This is expected for a video-generation provider, but it is still delegated account authority.

Skill content
if [[ -z "${HSAI_API_KEY:-}" ]]; then ... AUTH="Authorization: Bearer $API_KEY"
Recommendation

Use a dedicated, revocable API key with the minimum needed access and avoid exposing it in shared shells or logs.

What this means

Private prompts, image references, or video references may leave the local environment and be processed by the external service.

Why it was flagged

The script posts the JSON request body, including the prompt and optional image/video URL or base64 references, to an external API gateway. This data flow is purpose-aligned but should be understood.

Skill content
BASE_URL="${HSAI_BASE_URL:-https://api-aigw.corp.hongsong.club}" ... -X POST "${BASE_URL}${KLING_API_PATH}" ... -d "$JSON_BODY"
Recommendation

Only submit media and prompts you are allowed to share with the configured provider, and confirm HSAI_BASE_URL is set to the intended endpoint.

What this means

If an existing or important file is chosen as the output path, it could be overwritten or deleted during a failed download.

Why it was flagged

The script downloads to the user-selected output path and removes that path on download failure, without first checking whether the file already existed.

Skill content
DL_CODE=$(curl -s -o "$OUTPUT" -w "%{http_code}" -L "$VIDEO_URL") ... rm -f "$OUTPUT"
Recommendation

Use a new, non-critical output filename; the script should ideally refuse to overwrite existing files or download to a temporary file before replacing the final output.