T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:20- Finding
Mutable Unverified Native Executables Are Retrieved from Remote Releases
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 20-51
Vulnerability Type: Remote payload retrieval and execution
Risk Level: HighVulnerable Code
yaml install: - id: darwin-arm64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-darwin-arm64 bins: [claw-keyboard] label: macOS Apple Silicon os: [darwin] - id: darwin-amd64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-darwin-amd64 bins: [claw-keyboard] label: macOS Intel os: [darwin] - id: linux-amd64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-linux-amd64 bins: [claw-keyboard] label: Linux x86_64 os: [linux] - id: linux-arm64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-linux-arm64 bins: [claw-keyboard] label: Linux ARM64 os: [linux] - id: windows-amd64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-windows-amd64.exe bins: [claw-keyboard] label: Windows x86_64 os: [win32] - id: windows-arm64 kind: download url: https://github.com/clawdevice/claw-keyboard/releases/latest/download/claw-keyboard-windows-arm64.exe bins: [claw-keyboard] label: Windows ARM64 os: [win32]Technical Analysis
The Skill retrieves precompiled native executables through GitHub's mutable
releases/latestpath. The effective executable can therefore change after the Skill itself has been reviewed, without any modification toSKILL.md.No immutable release version or expected platform-specific digest is included in the installation metadata. Although line 134 states that checksums are available on the Re ...[truncated 2190 chars]
- Remediation
View remediation
Remediation Suggestions
- Replace every
releases/latestURL with an immutable, explicitly versioned release URL. - Add a platform-specific SHA-256 digest to the installation metadata and require the installer to reject any artifact that does not match it.
- Do not rely solely on a checksum fetched from the same mutable release. Pin the expected digest in the reviewed Skill package or verify a signed release using a public key distributed through an independent trusted channel.
- Publish provenance attestations and use a hardened CI release workflow with protected environments and short-lived publishing credentials.
- Prefer reproducible builds and publish the corresponding source revision and build instructions so release artifacts can be independently verified.
- Update dependencies through a review process that changes both the pinned version and digest, making payload changes visible in the Skill diff.
- Replace every
