T08 · Insecure Dependencies
- Location
SKILL.md:40- Finding
Unpinned npm Package Is Downloaded and Executed
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 40–43
Vulnerability Type: Unpinned third-party dependency execution
Risk Level: MediumVulnerable Code
bash npx healthclaw-webhook-serverTechnical Analysis
The setup instructions execute
healthclaw-webhook-serverthroughnpxwithout specifying an exact package version or integrity hash. Depending on the local npm environment,npxmay download the current registry release and immediately execute its installation or runtime code with the invoking user's privileges.The reviewed project contains only documentation and metadata; it does not include the webhook server's source code, a lockfile, or integrity information. Therefore, the effective executable payload is outside this audit scope and can change after the skill has been reviewed. Registry account compromise, package takeover, or a malicious future release could turn the documented setup command into arbitrary local code execution.
Attack Path
- An attacker compromises the npm publisher account, package registry entry, or another part of the package's release pipeline.
- The attacker publishes a malicious release under the expected package name.
- A user follows the skill's setup instructions and runs
npx healthclaw-webhook-server. npxretrieves the current package release because no exact version is specified.- Malicious package code executes with the privileges of the user who launched the command.
Impact Assessment
Successful exploitation could provide arbitrary code execution under the invoking user's account. The malicious package could access or modify user-readable files, steal locally stored health records and tokens, alter webhook data, or establish additional persistence. The exact scope depends on the account's privileges and host configuration; the documentation does not request elevated privileges.
- Remediation
View remediation
Remediation Suggestions
- Pin the command to a reviewed exact version, for example
npx healthclaw-webhook-server@X.Y.Z, rather than resolving the latest release. - Publish and link the server's source repository so its implementation can be independently audited.
- Provide a lockfile or documented package-integrity verification procedure.
- Recommend installing and running the server under a dedicated, unprivileged service account with access only to its required data directory.
- Use automated dependency and release-pipeline security checks, signed releases, protected publisher accounts, and multi-factor authentication.
- Re-audit each package version before updating the version referenced by the skill.
- Pin the command to a reviewed exact version, for example
