T08 · Insecure Dependencies
- Location
SKILL.md:39- Finding
Unpinned Third-Party Package Execution Through npx
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 39–41
Vulnerability Type: Supply-chain exposure caused by executing an unpinned registry package
Risk Level: MediumVulnerable Code Snippet:
bash npx healthclaw-webhook-serverTechnical Analysis
The setup instructions direct users to execute
healthclaw-webhook-serverthroughnpxwithout specifying an exact package version or integrity value. Depending on the local npm state,npxmay download and execute the package currently published under that name.The project contains no lockfile, vendored server source, integrity hash, or other mechanism that binds execution to an audited artifact. The webhook server implementation is also absent from the audited project, so its effective behavior cannot be verified from these files.
This creates a supply-chain risk: a compromised package release, package ownership transfer, or malicious update could change the code executed by future users without requiring any change to this Skill.
Attack Path
- An attacker compromises the npm account, publication process, or upstream repository associated with
healthclaw-webhook-server. - The attacker publishes a malicious version under the same package name.
- A user follows the documented setup command without selecting a reviewed version.
npxretrieves and executes the malicious release.- The package runs with the invoking user's operating-system privileges and may access local files, environment variables, network resources, and health data available to that account.
Impact Assessment
Successful exploitation could result in arbitrary code execution with the privileges of the user running
npx. The affected scope may include:- Health records stored by the webhook service.
- Files readable or writable by the invoking account.
- Environment variables and locally accessible credentials.
- Network services reachable from ...[truncated 249 chars]
- An attacker compromises the npm account, publication process, or upstream repository associated with
- Remediation
View remediation
Remediation Suggestions
- Pin the package to a reviewed, immutable version, for example:
bash npx --yes healthclaw-webhook-server@1.2.3 - Publish and document the expected package integrity hash and provenance.
- Provide the webhook server source in the reviewed repository or link to a version-specific commit and release artifact.
- Use a lockfile and a controlled installation process instead of resolving the latest registry release at execution time.
- Enable npm provenance and signed release workflows where supported.
- Recommend running the service under a dedicated, unprivileged operating-system account with access only to its required data directory.
- Review every dependency update before changing the documented pinned version.
- Pin the package to a reviewed, immutable version, for example:
