T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:20- Finding
Unpinned Remote Payload Retrieval and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 20–33
Vulnerability Type: Remote payload retrieval without version pinning or integrity verification
Risk Level: MediumVulnerable Code Snippet
bash openclaw skills install codex-cn-bridge /codex-cn-bridge installAlternative installation path:
bash git clone https://github.com/luckKiven/codex-cn-bridge.git cp -r codex-cn-bridge ~/.openclaw/workspace/skills/Technical Analysis
The audited package contains only
SKILL.md; the proxy implementation and supporting scripts described by the documentation are not included. Instead, users are instructed to run an installer that automatically downloads the complete implementation or clone the repository's mutable default branch.Neither installation path pins the retrieved payload to an immutable commit or release, verifies a cryptographic checksum or signature, or otherwise validates the downloaded files before use. The effective code executed by users can therefore change after this Skill has been reviewed.
The absent implementation reportedly includes
proxy.py,models.yaml, andstart.bat. Because these files are fetched after installation, their behavior—including handling API keys, modifying Codex configuration, and processing prompts—cannot be verified from the audited artifact.Attack Path
- An attacker compromises the upstream repository, package registry entry, maintainer account, default branch, or remote installation infrastructure.
- The attacker modifies the remotely hosted installer or proxy implementation.
- A user follows
SKILL.mdand invokes/codex-cn-bridge install, or clones the mutable repository without specifying a trusted commit. - The altered implementation is downloaded without signature or checksum validation.
- The user configures provider API keys and starts the downloaded proxy.
- The malicious payload executes locally and can access data made available to the bridge, ...[truncated 1011 chars]
- Remediation
View remediation
Remediation Suggestions
- Bundle the complete proxy implementation and all startup or configuration scripts directly in the reviewed Skill package.
- If remote retrieval is necessary, pin every download to an immutable release artifact or exact Git commit rather than a mutable branch.
- Publish SHA-256 or stronger hashes for all downloaded artifacts and verify them before extraction or execution.
- Add cryptographic release signing and validate signatures against a documented, trusted maintainer key.
- Display every download URL, resolved version, and expected digest before installation, and require explicit user confirmation.
- Fail closed if integrity or signature verification cannot be completed.
- Avoid automatically executing newly downloaded files; separate retrieval, verification, inspection, and execution into distinct steps.
- Include the fetched
proxy.py,models.yaml, startup scripts, and installer logic in future security reviews. - Run the bridge with minimum user privileges and restrict its access to credential and configuration files that are strictly required.
- Document repository ownership, release provenance, update behavior, and a secure rollback process.
