keyapi-tiktok
Warn
Audited by Gen Agent Trust Hub on Jul 14, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/configure-keyapi-auth.mjsmodifies user shell profile files (e.g.,.zshrc,.bashrc,.profile, and PowerShell profiles) to store theKEYAPI_TOKENenvironment variable, which establishes a persistence mechanism on the host system. - [DATA_EXFILTRATION]: The authentication script reads sensitive shell configuration files to check for and manage credentials. The skill also performs network operations to the external domain
api.keyapi.aito retrieve TikTok data. - [PROMPT_INJECTION]: The skill ingests and processes content from external API responses and documentation pages, which presents a surface for indirect prompt injection attacks.
- Ingestion points:
scripts/keyapi-api.mjsfetches live data from the TikTok API, andscripts/search-keyapi-docs.mjsretrieves remote documentation content. - Boundary markers: The skill does not implement explicit delimiters or instructions for the agent to isolate and ignore potentially malicious instructions embedded in the external content.
- Capability inventory: The agent is authorized to execute local scripts, write to the file system, and perform network requests.
- Sanitization: No explicit sanitization or validation of the fetched external content is performed before processing.
Audit Metadata