T08 · Insecure Dependencies
- Location
SKILL.md:37- Finding
Unpinned Third-Party Package Execution in Installation Instructions
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 37–39
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code:
bash npx clawhub@latest install deepseekoracle/lygo-pc-lattice-hardeningTechnical Analysis
The documented installation command instructs users to execute the package associated with the mutable
clawhub@latesttag throughnpx. If that package is not already available locally,npxmay download and execute it, including applicable package lifecycle or command-entry code.Because
latestdoes not identify an immutable, previously reviewed release, the effective installer code can change after this Skill has been audited. Compromise of the upstream package, publisher account, registry, or release process could therefore expose users to supply-chain code execution.The bundled
scripts/self_check.pydoes not exhibit malicious behavior; this finding concerns the separate third-party installer command documented inSKILL.md.Attack Path
- An attacker compromises the upstream
clawhubpackage, its publisher account, or its release pipeline. - The attacker publishes a malicious release and assigns it to the
latestdistribution tag. - A user follows the installation command from
SKILL.md. npxresolvesclawhub@latest, downloads the attacker-controlled release, and executes its command entry point or associated lifecycle behavior.- The malicious code runs with the privileges of the user who invoked the installation command.
Impact Assessment
Successful exploitation could permit arbitrary code execution under the invoking user's account. Depending on that account's permissions and local environment, an attacker could read or modify accessible files, obtain user-level credentials or tokens, install additional payloads, or alter local configuration.
The command does not itself request administrative privileges, so direct impact is ordinarily l ...[truncated 177 chars]
- An attacker compromises the upstream
- Remediation
View remediation
Remediation Suggestions
- Replace the floating
@latesttag with an exact, reviewed package version. - Document the expected package version and cryptographic integrity value where the package ecosystem supports integrity verification.
- Prefer a lockfile-backed installation workflow that records the complete resolved dependency graph.
- Verify publisher identity, package provenance, signatures, and release attestations before recommending execution.
- Review package lifecycle scripts and transitive dependencies for every version update.
- Perform installation from a non-administrative account and avoid elevated shells.
- Consider separating package acquisition from execution so operators can inspect and verify the artifact before running it.
- Establish a controlled update process in which new versions are audited before the pinned version is changed.
- Replace the floating
