Skills/ClawHub/klingai

klingai@2.0.5

CAUTION· install only

Publisher claims: "Official Kling AI Skill. Call Kling AI for video generation, image generation, subject management, voice management, and account quota inquiry. Use subcommand video / image / element / voice / account by user intent." Observed in sandbox: reads credential files.

Registry ClawHubPublisher klingai-dev · publishing for 58 daysInstalls 5,568Last detonated 11 h ago

Coverage

Bundled scripts ran with no arguments; no agent task scenario for this bundle.
Tested
8 of 10 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
Not tested
use of the skill by an agent

What changed since 2.0.2

vet-skills diff klingai 2.0.2 2.0.5

This version reaches for something 2.0.2 did not: 2 new hosts (kling.ai, klingai.com) · 1 new credential variable (KLING_API_KEY). Compared from the two recorded runs, not from source.

New hosts
kling.ai, klingai.com
New credential variables
KLING_API_KEY

The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.

Is [email protected] safe to install?

KillerSkills ran it in the KillerSkills honeypot sandbox (2 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-19 and scored it 50/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Access to sensitive file paths; Access to sensitive file paths; Access to sensitive file paths. Summary: reads credential files.

Behavior trace

Honeypot run · 5 s · 2 scenarios
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessbundled script run in the sandbox with no arguments · not named in the instructions
1.3sfilesystemread ~/.config/kling/kling.env · ~/.config/kling/.credentials · ~/.config/kling/identity.json outside project
1.3sfilesystemwrote ~/.config/kling/identity.json
1.3snetworkCONNECT tcp://klingai.com:443
1.3sprocessexited 1: Global / 国际: https://kling.ai/dev/api-key
1.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
2.1sfilesystemread ~/.config/kling/kling.env · ~/.config/kling/.credentials · ~/.config/kling/identity.json outside project
2.1snetworkCONNECT tcp://klingai.com:443
2.1sprocessexited 1: or export KLING_API_KEY for this session / 或设置 KLING_API_KEY
2.1sprocessbundled script run in the sandbox with no arguments · not named in the instructions
2.8sfilesystemread ~/.config/kling/kling.env · ~/.config/kling/.credentials · ~/.config/kling/identity.json outside project
2.8snetworkCONNECT tcp://klingai.com:443
2.8sprocessexited 1: or export KLING_API_KEY for this session / 或设置 KLING_API_KEY
2.8sprocessbundled script run in the sandbox with no arguments
2.8sprocessexited 1: (Use `node --trace-warnings ...` to show where the warning was created)
2.8sprocessbundled script run in the sandbox with no arguments · not named in the instructions
3.5sfilesystemread ~/.config/kling/kling.env · ~/.config/kling/.credentials · ~/.config/kling/identity.json outside project
3.5snetworkCONNECT tcp://klingai.com:443
3.5sprocessexited 1: or export KLING_API_KEY for this session / 或设置 KLING_API_KEY
3.5sprocessbundled script run in the sandbox with no arguments · not named in the instructions
5.2sfilesystemread ~/.config/kling/kling.env · ~/.config/kling/.credentials · ~/.config/kling/identity.json outside project
5.2snetworkCONNECT tcp://klingai.com:443
5.2sprocessexited 1: or export KLING_API_KEY for this session / 或设置 KLING_API_KEY
5.2sprocessbundled script run in the sandbox with no arguments · not named in the instructions
5.3sfilesystemread ~/.config/kling/kling.env outside project
5.3sprocessbundled script run in the sandbox with no arguments · not named in the instructions
5.4sfilesystemread ~/.config/kling/kling.env outside project
5.4sprocess8 of 10 bundled scripts run with no arguments (the rest were not run: per-bundle cap)
5.4sprocessscript backend runs setup only
5.4sprocessscript backend runs setup only
5.4sprocessno install scripts to re-run

Static findings

HIGH
Access to sensitive file pathsscripts/account.mjs:58 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system fileswrites ~/.config/kling/.credentials after exchange succeeds (API Key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/video.mjs:492 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescredentials file ~/.config/kling/.credentials (api_key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
Says it only reads; the code writes or deletes filesscripts/shared/auth.mjs:212 · Says it only reads; the code writes or deletes files (stated in its description)writeFileSync(path, lines.join('\n').trimEnd() + '\n');Fix: Declare and request only the permissions the task needs.
AST02
HIGH
Access to sensitive file pathsscripts/image.mjs:269 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescredentials file ~/.config/kling/.credentials (api_key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/kling.mjs:60 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesEnv: credentials under ~/.config/kling/.credentials (or KLING_STORAGE_ROOT/.credentials), or session KLING_API_KEY; KLING_API_BASEFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
MEDIUM
File permission modification commandscripts/shared/auth.mjs:180 · File permission modification command — agent changes file ownership/permissions* 写入 [profile] 下 api_key,并清除历史 AK/SK 键;Unix 上 chmod 600Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.
AST05
HIGH
Access to sensitive file pathsscripts/shared/auth.mjs:89 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files/** 凭证 INI 路径:<storageRoot>/.credentials */Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/voice.mjs:74 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescredentials file ~/.config/kling/.credentials (api_key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/shared/auth.mjs:28 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filesconst CREDENTIALS_FILENAME = '.credentials';Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/element.mjs:59 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system filescredentials file ~/.config/kling/.credentials (api_key)Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsSKILL.md:124 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files- Credential priority: `KLING_API_KEY` (session Bearer as-is) -> stored `api_key` in `.credentials` (same Bearer; **no JWT**). `KLING_TOKEN` is not recognized.Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05
HIGH
Access to sensitive file pathsscripts/shared/auth.mjs:6 · Access to sensitive file paths — SSH keys, AWS credentials, env files, or system files* 2. ~/.config/kling/.credentials(INI,[profile] api_key)→ 原样作为 Bearer,不再签 JWTFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
AST05

Cost to the agent

Instructions loaded
≈11,229 tok
1 file · 13 in bundle

Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.

Known vulnerabilities

Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.

What would make this Verified

30 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%
  1. Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs.
  2. Unclaimed publisher≈ +8 on the totalClaim klingai-dev: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
  3. Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
  4. Access to sensitive file paths≈ +4 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
  5. Says it only reads; the code writes or deletes files≈ +2 on the totalDeclare and request only the permissions the task needs.
  6. File permission modification command≈ +2 on the totalRequest the narrowest permission that works; replace wildcards with the exact paths or hosts.
Publish a new version to ClawHub, then queue it here. Not your skill? Claim the handle to get verdict changes by email.Claim klingai-devPropose a patch to the maintainer