Back to skill

Security audit

Kling Ai

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Kling AI video-generation guide with a disclosed example API endpoint and no hidden execution or persistence.

Installers should understand that using the API example would send prompts and generation inputs to Kling AI and requires a Kling API key. Review Kling's privacy and billing terms before submitting sensitive media or text.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

The section titled "中文提示词优势" explicitly centers Chinese prompting as the preferred interaction mode, and the best-practice guidance later reinforces that users need not translate to English. Because the skill does not offer a language choice or explain a justified locale restriction, this is a natural-language locale policy issue.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · SKILL.md (reported line 80)May include surrounding context.

md
client = OpenAI(
    api_key="your_kling_api_key",
    base_url="https://api.klingai.com/v1"
)

# 文生视频

Static analysis

No suspicious patterns detected.