T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:55- Finding
Unverified Tor Installer Is Downloaded and Executed as Root
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, line 55
Vulnerability Type: Remote payload retrieval and privileged execution
Risk Level: CriticalVulnerable Code:
bash curl -sSL https://get.mobazha.org/standalone | sudo bash -s -- --overlay torTechnical Analysis
The documented installation command retrieves a mutable script from an external URL and pipes it directly into
sudo bash. The downloaded content is not pinned to an immutable version and is not inspected or validated through a cryptographic signature or checksum before execution.Because the remote response is executed with root privileges, the effective payload can change after the Skill has been reviewed. Compromise of the hosting server, domain, DNS path, TLS endpoint, or release infrastructure could therefore turn this installation command into an arbitrary privileged-code-execution mechanism.
Attack Path
- An attacker compromises or gains control over the remote script distribution infrastructure for
get.mobazha.org. - The attacker modifies the response served from
/standaloneto include malicious shell commands. - A user or agent follows the Tor installation instruction in the Skill.
curldownloads the attacker-controlled response.- The shell pipeline passes the response directly to
sudo bash. - The malicious commands execute with root privileges without prior integrity verification or review.
Impact Assessment
Successful exploitation provides arbitrary command execution as root on the installation host. An attacker could access or alter system and application data, steal credentials and secrets, modify containers or services, install persistence, disable security controls, pivot to reachable systems, or destroy data. The potential scope includes the entire host and any resources accessible through its credentials or network trust relationships.
- An attacker compromises or gains control over the remote script distribution infrastructure for
- Remediation
View remediation
Remediation Suggestions
Replace the pipe-to-shell installation flow with a verifiable release process:
- Publish versioned installer artifacts through an official release channel.
- Pin the documentation to an immutable release version rather than a mutable endpoint.
- Publish a cryptographic signature and a strong checksum, such as SHA-256, through a separately secured channel.
- Require users to download the artifact to a local file and verify its signature and checksum before execution.
- Allow users to inspect the downloaded script before running it.
- Avoid running the entire installer as root. Use an unprivileged account and elevate only narrowly scoped operations that require administrative access.
- Configure
curlto fail on HTTP errors and enforce modern HTTPS behavior, but do not treat transport security as a substitute for artifact verification. - Document the files, services, containers, and permissions modified by the installer so its privileged effects can be audited.
