instagram-superpower
Fail
Audited by Gen Agent Trust Hub on Jul 19, 2026
Risk Level: HIGHREMOTE_CODE_EXECUTIONDATA_EXFILTRATIONCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The skill relies on SSH to execute arbitrary commands on a remote server. The scripts
download.sh,check-cookies.sh, anddeploy-cookies.shuse root-level SSH access to interact with a Cobalt API and Docker containers, which allows for unconstrained remote code execution if the server address or script logic is compromised. - [DATA_EXFILTRATION]: Sensitive credentials and session data are moved to external infrastructure. Specifically,
deploy-cookies.shuploads Instagram session cookies from~/.secrets/cobalt/cookies.jsonto a remote host viascp. Additionally,download.shtransmits the Cobalt API key as a plaintext command-line argument over an SSH connection. - [COMMAND_EXECUTION]: The skill extensively uses shell scripts that execute dynamic Python code and system commands. Scripts such as
analyze.shandwatchlist.shinterpolate environment variables and user arguments directly into command strings, creating a risk of command injection. - [PROMPT_INJECTION]: The
analyze.shscript ingests untrusted user-generated content, including Instagram captions and profile biographies. This content is passed to the agent's context without boundary markers or robust sanitization (only newline removal), creating an attack surface for indirect prompt injection via malicious post content. - Ingestion points:
analyze.shfetches Instagram captions and user profile data. - Boundary markers: Absent in the output provided to the agent.
- Capability inventory: SSH remote execution, SCP file transfer, secret file access (
~/.secrets), and network operations viacurl. - Sanitization: Simple newline replacement in media captions.
Recommendations
- AI detected serious security threats
Audit Metadata