T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:50- Finding
Unverified Remote Installer Scripts Are Executed Directly
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 50-57 and line 164
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalThe installation instructions execute mutable scripts retrieved from
aitun.ccdirectly in a shell.bash Or install via one-line script (Linux/macOS): ```bash curl -fsSL https://aitun.cc/install.sh | bashWindows (PowerShell):
powershell irm https://aitun.cc/install.ps1 | iextext The unsafe alternatives are repeated in the CLI documentation: ```markdown The `aitun` command (installed via `pip install aitun`, or alternatively `curl -fsSL https://aitun.cc/install.sh | bash` / `irm https://aitun.cc/install.ps1 | iex` on Windows) accepts these flags:Technical Analysis
Piping
curloutput intobash, or passing an Internet response to PowerShell'sInvoke-Expression, combines retrieval and execution into a single operation. The user cannot inspect the exact payload before it runs, and the Skill does not pin a script revision or require checksum or signature verification.The effective executable payload can change after the Skill has been audited. Compromise of the domain, web server, DNS resolution, TLS endpoint, deployment pipeline, or installer publishing account could consequently turn the documented installation command into arbitrary code execution.
This behavior is not required for the declared webhook functionality. The Skill already supports package-manager installation, so remote script execution exceeds the minimum mechanism necessary to install the tunnel client.
Attack Path
- An attacker compromises the remote installer, its publication infrastructure, or another component capable of controlling the HTTPS response.
- The attacker modifies
install.shorinstall.ps1to contain a malicious payload. - A user or agent follows the installation instructions in
SKILL.md. curlorirmret ...[truncated 696 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove all
curl | bashandirm | iexinstallation alternatives, including the repeated commands in the CLI reference. - Prefer a package-manager or release-artifact installation process that allows review before execution.
- Pin the installer or artifact to a specific audited version.
- Publish cryptographic checksums through an independent trusted channel and require verification before execution.
- Prefer signed release artifacts and verify the publisher's signature.
- Download installers to a local file, inspect them, and execute them only after successful integrity validation.
- Explicitly warn users not to run installation commands from an administrator or root shell unless elevated privileges are demonstrably necessary.
- Remove all
