T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:28- Finding
Mutable Remote Installation Script Is Piped Directly into Bash
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:28-31
Vulnerability Type: Remote payload retrieval and immediate shell execution
Risk Level: Criticalbash > **Pre-check: Aliyun CLI >= 3.3.3 required** > Run `aliyun version` to verify >= 3.3.3. If not installed or version too low, > run `curl -fsSL https://aliyuncli.alicdn.com/setup.sh | bash` to install/update, > or see [references/cli-installation-guide.md](references/cli-installation-guide.md) for installation instructions.Technical Analysis
The Skill downloads a mutable script from an external URL and sends its response directly to Bash. There is no version pinning, checksum validation, signature verification, local inspection, or confirmation of the final payload.
HTTPS protects data in transit but does not establish that the remotely served script is immutable or safe. The effective code can change after the Skill package has been audited. Compromise of the CDN, vendor release process, hosting account, DNS resolution path, or referenced script could therefore turn the prerequisite workflow into arbitrary code execution.
This behavior is not the minimum privilege necessary to manage ADBPG Supabase projects. Installing the CLI may be a legitimate prerequisite, but executing an unverified remote script is not required to satisfy that prerequisite safely.
Attack Path
- An attacker compromises the remote script, CDN, hosting pipeline, or another component capable of changing the response.
- The user or agent follows the mandatory prerequisite workflow.
curlretrieves the attacker-controlled response.- The pipe sends the response directly to Bash without an inspection or verification boundary.
- The payload executes with the privileges of the agent or user running the Skill.
- The payload may read accessible files, alter local tools, capture configured Alibaba Cloud credentials, or invoke cloud APIs under th ...[truncated 645 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the
curl | bashpipeline entirely. - Install through a trusted operating-system package manager where available.
- Otherwise, download a versioned artifact to a new restricted directory without executing it.
- Pin an exact CLI version instead of using a mutable setup endpoint.
- Verify a vendor-published cryptographic signature or SHA-256 digest obtained through an independently trusted channel.
- Inspect the artifact type and expected contents before extraction or execution.
- Display the source, version, digest, destination, and required privileges to the user.
- Obtain explicit approval before installation, especially if system-wide changes are required.
- Abort if provenance or integrity verification cannot be completed.
- Remove the
