T08 · Insecure Dependencies
- Location
references/payment.md:88- Finding
Unpinned Wallet Skill Installation Creates a Supply-Chain Execution Risk
- Content
View full analysis
Vulnerability Details
File Location:
references/payment.md:88-92
Vulnerability Type: Unpinned executable dependency and mutable remote Skill installation
Risk Level: HighVulnerable Code
markdown Install it only after an explicit request: ```sh npx skills add binance/binance-skills-hub/skills/binance-web3/binance-agentic-walletAfter wallet setup, rerun
preparefor the preserved Cournot request so the client obtains fresh payment terms.text ### Technical Analysis The documented installation command invokes the `skills` package through `npx` without specifying an exact package version and installs wallet-related code from a mutable repository path without pinning an immutable commit or verifying integrity. Consequently, the code executed or installed at runtime may differ from the code reviewed during this audit. User confirmation controls whether installation occurs, but it does not establish the authenticity or integrity of the retrieved components. A compromised package release, package registry account, repository, branch, or upstream maintainer account could substitute malicious code. This operation is particularly sensitive because the installed component is intended to participate in wallet setup and payment signing. Fetching mutable executable content exceeds the minimum privileges required merely to query Cournot, although it is only reached through the optional paid-wallet setup workflow. ### Attack Path 1. An attacker compromises the unpinned `skills` npm package, its publication account, the referenced repository, or another mutable component in the installation chain. 2. The attacker publishes or substitutes a malicious package or wallet Skill while retaining the expected package and repository identifiers. 3. A user explicitly requests wallet installation and confirms the setup operation. 4. The agent runs the documented unversioned `npx skills add ...` command. 5. The ...[truncated 1022 chars]- Remediation
View remediation
Remediation Suggestions
- Pin the
skillsCLI to a reviewed exact version rather than allowingnpxto resolve the current release, for example by using an exact version with no semver range. - Pin the Binance wallet Skill to an immutable audited commit digest or signed release tag instead of a mutable repository path.
- Verify a publisher-provided cryptographic checksum or signature before installation.
- Disable implicit package download behavior where possible. Preinstall the reviewed CLI from a locked dependency manifest and lockfile.
- Execute installation in a restricted environment with minimal filesystem and network access, separate from wallet credentials and unrelated user data.
- Require a second review whenever the pinned CLI version, wallet Skill revision, checksum, or installation source changes.
- Preserve the existing explicit setup and payment confirmations, but do not treat confirmation as a substitute for dependency integrity verification.
- Pin the
