T08 · Insecure Dependencies
- Location
SKILL.md:37- Finding
Unpinned Global Installation of a Security-Sensitive Third-Party CLI
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 37-41
Vulnerability Type: Unpinned third-party dependency and unsafe global installation
Risk Level: HighVulnerable Code
bash ### 2. Install the CLI ```bash npm install -g @proxygate/cli # or pnpm add -g @proxygate/cliTechnical Analysis
The skill instructs users to install the latest available version of
@proxygate/cliglobally. It does not pin a reviewed version, verify a checksum or signature, identify a trusted registry, use a lockfile, or provide controls for npm lifecycle scripts.A global package installation can execute package lifecycle scripts under the permissions of the user performing the installation. The resulting CLI is subsequently trusted to process API keys and Solana wallet keypairs, initiate financial operations, expose local services, and install additional skills. Consequently, a compromised maintainer account, package registry, or future package release could introduce code that was not present when this skill was audited.
Attack Path
- An attacker compromises the package publisher, registry distribution path, or a future release of
@proxygate/cli. - The attacker publishes a malicious version containing a lifecycle script or malicious CLI implementation.
- A user follows the documented unpinned global installation command.
- The package manager resolves and installs the attacker-controlled release.
- Malicious code executes with the installing user's permissions during installation or when the CLI is invoked.
- The code can access files and credentials available to that user, potentially including ProxyGate API keys, configuration data, and wallet keypair files.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the current user's account. The accessible scope would include files, credentials, environment data, and network resources available to ...[truncated 365 chars]
- An attacker compromises the package publisher, registry distribution path, or a future release of
- Remediation
View remediation
Remediation Suggestions
- Pin
@proxygate/clito a specifically reviewed version rather than implicitly installing the latest release. - Publish and verify cryptographic checksums or package signatures through an independently trusted channel.
- State the expected package registry and verify package ownership and provenance before installation.
- Prefer a lockfile-backed, project-local, or isolated installation over a global installation.
- Disable package lifecycle scripts during installation where operationally feasible, and invoke only reviewed entry points afterward.
- Run the CLI in a least-privilege environment that cannot access unrelated wallet files, credentials, or sensitive user data.
- Document a controlled upgrade process requiring review of release notes, package contents, provenance, and integrity information.
- Document exactly what
proxygate skills installdownloads or modifies, and require explicit user confirmation before installing pinned and reviewed skill versions.
- Pin
