tiktok-transcript
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/fetch-tiktok-transcript.pyexecutesyt-dlpandmlx-whisperviasubprocess.run. All commands are constructed as lists (not strings) and do not useshell=True, which prevents shell injection vulnerabilities. - [EXTERNAL_DOWNLOADS]: The skill downloads TikTok video metadata, captions, and audio using
yt-dlp. It also facilitates the download of themlx-whispertranscription model from themlx-communityrepository (a recognized ML source for Apple Silicon). The use ofuvxformlx-whisperexecution is a standard practice for environment isolation. - [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted TikTok captions and audio transcripts, which are potential ingestion surfaces for indirect prompt injection.
- Ingestion points: Transcript files (
transcript.json,transcript.md,transcript.txt) are generated from external TikTok content inscripts/fetch-tiktok-transcript.py. - Boundary markers: The workflow encourages reading
metadata.compact.jsonfirst and using specific commands likepreview,search, orexcerptto limit the volume of untrusted data loaded into the agent's context. - Capability inventory: The skill's capabilities include reading/writing files in the
tiktok-transcriptsdirectory and executing external tools for data retrieval. - Sanitization: Subtitle content is sanitized using
html.unescapeandstrip_vtt_markupbefore being written to transcript artifacts, reducing the risk of control character injection.
Audit Metadata