T03 · Remote Payload Retrieval and Execution
- Location
references/setup.md:17- Finding
Mutable Remote Installer Downloaded and Executed with Optional Root Privileges
- Content
View full analysis
Vulnerability Details
File Location:
references/setup.md, lines 17–35
Vulnerability Type: Remote payload retrieval and execution
Risk Level: CriticalVulnerable Code
bash **Download the installer and read it before running it — never pipe `curl` straight into a shell.** Confirm it only fetches the pinned image, runs the image's `config init`, and installs the `pr0xteus` command — then run it. # 1. Download (do not pipe curl into a shell). curl -fsSL https://raw.githubusercontent.com/psyb0t/pr0xteus/main/install.sh -o pr0xteus-install.sh # 2. Inspect — read the whole thing. less pr0xteus-install.sh # 3a. Per-user install (no root): command -> ~/.local/bin, config -> # ~/.config/pr0xteus, just for the current user. bash pr0xteus-install.sh # 3b. Or system-wide: command -> /usr/local/bin, config -> /etc/pr0xteus # (root-owned, readable by the `docker` group so any docker-group operator # drives the one shared stack). sudo bash pr0xteus-install.sh --systemTechnical Analysis
The setup procedure retrieves a shell script from the upstream repository's mutable
mainbranch and subsequently executes it. The URL is not pinned to an immutable commit, and the procedure does not require verification using a cryptographic signature or a trusted checksum.Consequently, the effective executable payload can change after this Skill has been reviewed. The installer itself is not included in the audited artifact, so its behavior cannot be statically verified as part of this audit.
Advising the operator to inspect the file with
lessis a useful precaution but does not establish authenticity or integrity. Manual inspection is especially unreliable in automated Agent workflows and can miss subtle malicious changes. The optionalsudo bashcommand amplifies the exposure by granting the unverified payload root privileges.Attack Path
- An attacker compromises the upstrea ...[truncated 1482 chars]
- Remediation
View remediation
Remediation Suggestions
- Vendor the installer inside the Skill artifact so that its exact contents are available for review.
- If remote retrieval is necessary, use an immutable release artifact or a URL pinned to a specific commit rather than the
mainbranch. - Publish a cryptographic checksum through a separately trusted release channel and require verification before execution.
- Prefer signed release artifacts and verify the maintainer's signature against a documented trusted key.
- Fail closed if checksum or signature verification fails; do not present verification as optional.
- Remove the direct
sudo bashworkflow. Separate privileged installation actions into a minimal, auditable helper with narrowly scoped permissions. - Pin associated container images by immutable digest rather than only by version tags, and avoid security-sensitive
:latestor rolling deployment paths. - Ensure setup instructions display and verify the resolved immutable version before any local execution.
