tiktok-hot-search
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFEDATA_EXFILTRATIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DATA_EXFILTRATION]: The script
scripts/tiktok_hot_search.pyattempts to read sensitive shell configuration files (~/.zshrc,~/.bashrc,~/.bash_profile,~/.profile) to find theREDFOX_API_KEY. While this is intended for user convenience as a fallback for environment variables, accessing these files is generally considered a sensitive operation. - [INDIRECT_PROMPT_INJECTION]: The skill processes and summarizes external data from TikTok (video descriptions, topic names, and user profiles). This creates a surface for indirect prompt injection if an attacker places malicious instructions in TikTok metadata.
- Ingestion points: Search results from the RedFox API, specifically fields like
content,userName, andtopicNameprocessed inscripts/tiktok_hot_search.py. - Boundary markers: Data is rendered into structured Markdown tables; video summaries are truncated to 60 characters to limit context length.
- Capability inventory: The skill can perform network requests to
redfox.hk, write to the local filesystem (JSON and HTML output), and execute shell commands to open the browser. - Sanitization: The skill uses
html.escapeduring HTML report generation to prevent XSS and applies string truncation for Markdown output. - [COMMAND_EXECUTION]: The script
scripts/generate_report.pyusessubprocess.runto execute platform-specific commands (open,start, orxdg-open) to automatically open the generated HTML report in the user's default browser. - [EXTERNAL_DOWNLOADS]: The HTML report generated by
scripts/generate_report.pyincludes a script tag that fetches thehtml2canvaslibrary from thecdn.jsdelivr.netCDN at runtime.
Audit Metadata