T08 · Insecure Dependencies
- Location
SKILL.md:14- Finding
Unpinned Global Installation of an Unaudited npm Package
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 14–15
Vulnerability Type: Supply-chain risk from an unpinned third-party dependency
Risk Level: MediumVulnerable Code:
bash npm install -g clawprobe clawprobe startTechnical Analysis
The skill directs users or agents to globally install the latest available release of the third-party npm package
clawprobeand immediately execute it. No exact version, lockfile, integrity hash, package provenance verification, or locally auditable implementation is provided.Because npm packages can execute lifecycle scripts during installation, the installation itself may run code with the invoking user's permissions. The subsequent
clawprobe startcommand executes additional implementation that is absent from the audited project. Resolving a mutable package version also means that the effective installed code can change after this skill has been reviewed.The documented purpose of the package includes inspecting session health, token usage, API costs, context utilization, and compaction history. The local project does not contain enough implementation evidence to verify how that potentially sensitive information is collected, stored, or transmitted.
Attack Path
- A user or agent loads the skill and follows its installation instructions.
- npm resolves the current mutable release of the
clawprobepackage from the configured registry. - If the package, maintainer account, publication process, or registry resolution has been compromised, attacker-controlled lifecycle scripts may execute during the global installation.
- The user invokes
clawprobe start, executing further unaudited package code. - The malicious code can access resources available to the invoking account and may inspect or transmit accessible agent/session data.
This is a supply-chain exposure rather than evidence that the current package is malicious.
Impact As
...[truncated 636 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin
clawprobeto an exact, independently reviewed version rather than installing the latest release. - Provide a lockfile and verify the package archive against a trusted integrity digest before installation.
- Reference immutable source code corresponding exactly to the distributed release and document its provenance.
- Prefer a project-local installation over
npm install -gto reduce scope and make dependency resolution reproducible. - Disable npm lifecycle scripts during installation where compatible, and separately review any required installation scripts before allowing them to run.
- Run the monitoring process under a dedicated least-privileged account or within an isolated environment.
- Restrict filesystem, credential, environment-variable, and outbound-network access to only what monitoring requires.
- Document what session information is collected, where it is stored, and whether it is transmitted externally.
- Establish dependency update review, package-signature or provenance verification, and automated supply-chain scanning before adopting later releases.
- Pin
