keyapi-threads
Fail
Audited by Gen Agent Trust Hub on Jul 14, 2026
Risk Level: HIGHCOMMAND_EXECUTIONDATA_EXFILTRATIONEXTERNAL_DOWNLOADSPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/configure-keyapi-auth.mjsmodifies user shell configuration files (such as.bashrc,.zshrc, and PowerShell profiles) to persist theKEYAPI_TOKENenvironment variable. This modification of system startup scripts is a persistence mechanism that can affect the security and behavior of the user's terminal environment. - [DATA_EXFILTRATION]: The script
scripts/configure-keyapi-auth.mjsreads the contents of sensitive shell configuration files (.bashrc,.zshrc, etc.) to check for existing credentials. Accessing these files can expose other environment variables or system secrets stored in the user's profile. - [DATA_EXFILTRATION]: The script
scripts/keyapi-api.mjsprovides the capability to read any local file through the--body-fileand--image-filearguments and send its content to theapi.keyapi.aidomain. This functionality can be misused to exfiltrate sensitive files, such as SSH keys, private keys, or environment files, if the agent is directed to read from those paths. - [EXTERNAL_DOWNLOADS]: The script
scripts/search-keyapi-docs.mjsfetches documentation fromdocs.keyapi.aito dynamically resolve API endpoints at runtime. - [PROMPT_INJECTION]: The skill ingests untrusted data from the Threads API through
scripts/keyapi-api.mjsand lacks explicit boundary markers or sanitization before incorporating this data into its context. This creates a surface for indirect prompt injection. Ingestion point: API responses inkeyapi-api.mjs. Boundary markers: Absent. Capability inventory: Script execution, file system access, and network operations. Sanitization: Absent.
Recommendations
- AI detected serious security threats
Audit Metadata