kling-official
Pass
Audited by Gen Agent Trust Hub on Oct 26, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-supplied prompts and external media URLs (e.g.,
image_url,video_url) for generation tasks, creating a surface for potential injection attacks embedded in processed data. - Ingestion points:
promptfields in Video, Image, and TTS generation;image_urlandvideo_urlin reference-based generation and lip-sync tools. - Boundary markers: No explicit delimiters for prompt interpolation are mentioned, though a character limit (2500) for prompts is noted.
- Capability inventory: The skill involves network requests to
api-singapore.klingai.comand reading local files to convert them to base64 for upload. - Sanitization: Validates that callback URLs are absolute
httporhttpslinks; enforces character limits on prompts. - [COMMAND_EXECUTION]: The skill instructions reference the execution of local helper scripts (
tools/_kling/media.py,tools/_kling/elements.py,tools/_kling/account.py) to perform media normalization, element management, and account usage checks via the Kling API.
Audit Metadata