T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:101- Finding
Remote Binary Is Downloaded and Executed Without Integrity Verification
- Content
View full analysis
**Security notice (ASI04)**: The current download process has no built-in checksum or signature verification. Binary authenticity depends on trusting `open-agent-cli.bj.bcebos.com`. To verify it, obtain the SHA-256 checksum for the version through an official Baidu Maps Open Platform channel and compare it using `sha256sum "$BMAP_CLI"` after downloading. ``` ```bash test -x "$BMAP_CLI" ``` When the preceding command fails, the Skill instructs the agent to execute: ```bash curl -fL "https://open-agent-cli.bj.bcebos.com/cli/bmap-cli--" -o "$BMAP_CLI" ``` ```bash chmod +x "$BMAP_CLI" ``` ### Technical Analysis The Skill downloads a native executable from a remote URL, grants it executable permissions, and subsequently invokes it for installation, authentication, credential management, and configuration operations. The workflow does not require a pinned checksum, cryptographic signature, immutable version identifier, or verified release manifest. HTTPS protects the connection in transit but does not establish that the hosted artifact is the intended reviewed binary. If the hosting account, storage bucket, release process, DNS resolution, certificate infrastructure, or publication credentials are compromised, the downloaded payload can be replaced without changing this Skill file. The text acknowledges the absence of verification, but checksum verification is optional rather than an enforced prerequisite. User confirmation of the download domain also does not verify the integrity of the artifact served by that domain. ### Attack Path 1. An attacker compromises the remote artifact host, its publication credentials, or another part of the binary distribution pipeline. 2. The attacker replaces the platform ...[truncated 1156 chars]- Remediation
View remediation
