T08 · Insecure Dependencies
- Location
README.md:47- Finding
Unpinned Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
README.md, lines 47–50
Vulnerability Type: Unpinned third-party installer and mutable supply-chain dependency
Risk Level: MediumVulnerable Code
bash npx clawhub install tetsuakira-vk/viral-thread-writerTechnical Analysis
The documented installation command invokes
clawhubthroughnpxwithout specifying a reviewed package version or integrity value. If the package is not already available locally,npxmay retrieve its current version from the configured npm registry and execute it immediately.The requested skill identifier is also not pinned to an immutable version or artifact digest. Consequently, both the installer implementation and installed skill content may differ from the versions assessed during this audit. This creates a supply-chain trust boundary in which remotely mutable third-party content is executed or installed based solely on its package and repository names.
No evidence in the reviewed files demonstrates that the current
clawhubpackage or skill is malicious. The risk arises from the installation process allowing future package compromise, account takeover, registry substitution, or mutable release replacement to affect users after the project has been reviewed.Attack Path
- An attacker compromises the npm publication account, registry resolution path, or another distribution channel used for the
clawhubpackage; alternatively, the attacker compromises the mutable skill publication channel. - The attacker publishes a modified installer package or skill artifact under the expected identifier.
- A user follows the README and runs
npx clawhub install tetsuakira-vk/viral-thread-writer. npxresolves and executes the remotely supplied installer version, or the installer retrieves the modified skill.- Malicious installer code executes with the permissions of the invoking user, or altered skill i ...[truncated 906 chars]
- An attacker compromises the npm publication account, registry resolution path, or another distribution channel used for the
- Remediation
View remediation
Remediation Suggestions
- Pin the ClawHub CLI to a specifically reviewed version, for example by documenting an installation command that includes an exact package version rather than resolving the latest release.
- Pin the skill itself to a specific immutable release, commit hash, or artifact digest if ClawHub supports that capability.
- Publish the expected package source, registry, version, and integrity hash so users can verify the downloaded artifact before execution.
- Prefer installing the verified CLI separately and invoking the installed binary, rather than combining remote retrieval and immediate execution through an unpinned
npxcommand. - Use a lockfile and npm integrity metadata where the installation workflow supports them.
- Add release-signature or checksum verification for both the installer and skill artifact.
- Run the installer under a least-privileged account or isolated environment, and review installer lifecycle scripts before execution.
- Update the README whenever the audited installer or skill version changes, ensuring each documented version undergoes a new security review.
