rtk-exec
Fail
Audited by Gen Agent Trust Hub on Sep 30, 2026
Risk Level: CRITICALREMOTE_CODE_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [REMOTE_CODE_EXECUTION]: The documentation in
SKILL.mdprovides an installation command that pipes a remote script directly to the system shell:curl -fsSL https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh | sh. This facilitates unauthenticated, arbitrary code execution from an untrusted external repository. - [COMMAND_EXECUTION]: The
scripts/rtk-wrapper.cjshelper script useschild_process.spawnto execute shell commands. This capability allows the agent to run any command on the host system via the rtk proxy, which could be abused to perform unauthorized actions or access sensitive data. - [EXTERNAL_DOWNLOADS]: The skill explicitly depends on an external binary (
rtk) and recommends downloading it from a third-party GitHub repository (rtk-ai/rtk). This introduces supply chain risks as the source is not a verified or well-known organization. - [INDIRECT_PROMPT_INJECTION]: The skill processes output from shell commands, creating a vulnerability where malicious instructions in command output could influence the agent.
- Ingestion points: Captured stdout/stderr from commands in
scripts/rtk-wrapper.cjsreported to the agent. - Boundary markers: None identified in the workflow or output reporting logic.
- Capability inventory: Full subprocess execution capability via
spawnin the wrapper script. - Sanitization: No filtering or sanitization of captured command output is performed.
Recommendations
- HIGH: Downloads and executes remote code from: https://raw.githubusercontent.com/rtk-ai/rtk/refs/heads/master/install.sh - DO NOT USE without thorough review
- AI detected serious security threats
Audit Metadata