T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:10- Finding
Unverified Remote Executable Handles Account Credentials
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 10–14
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code Snippet:
markdown ## Prerequisites 1. Download the executable from [GitHub Release](https://github.com/bosshuman/openclaw-x/releases) 2. Export your X cookies from Chrome (using Cookie-Editor extension), save as `cookies.json` in the same directory 3. Run the executable, ensure the service is running at `http://localhost:19816`Technical Analysis
The Skill instructs users to download and execute a precompiled binary from an external release page. It does not pin an immutable release, specify a cryptographic checksum, require signature verification, or provide source code and reproducible-build instructions.
The externally hosted executable can change after the Skill has been reviewed. A compromised publisher account, release pipeline, or distribution artifact could therefore replace the expected application with malicious code. The risk is elevated because the downloaded executable is explicitly given access to exported X/Twitter session cookies.
The reviewed project contains only
SKILL.md; consequently, the executable's actual credential handling, network activity, and local system behavior cannot be verified from the available source.Attack Path
- An attacker compromises the upstream publisher account, release pipeline, or downloadable release artifact.
- The attacker replaces the legitimate executable with a malicious binary.
- A user follows the Skill instructions and downloads the modified executable.
- The user stores authenticated X/Twitter cookies in the executable's directory.
- The user runs the executable without integrity or signature verification.
- The malicious executable reads the session cookies and may transmit them to an attacker or execute arbitrary code under the user's operating-system account.
...[truncated 440 chars]
- Remediation
View remediation
Remediation Suggestions
- Include auditable source code in the project and provide reproducible-build instructions.
- Pin downloads to a specific immutable release and commit revision.
- Publish a SHA-256 checksum through a separately protected channel and require users to verify it before execution.
- Digitally sign release artifacts and document mandatory signature verification.
- Protect the release pipeline with least-privilege credentials, multi-factor authentication, and provenance attestations.
- Run the service in a sandbox or dedicated low-privilege account with restricted filesystem and network access.
- Avoid granting the executable access to reusable browser session cookies; use a narrowly scoped, revocable authorization mechanism instead.
