T08 · Insecure Dependencies
- Location
SKILL.md:20- Finding
Unpinned Third-Party Package Installation and Execution
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 20–24, 65, 72, and 78
Vulnerability Type: Unpinned npm dependency and installer execution
Risk Level: MediumThe skill directs users and OpenClaw to install or execute
searxng-tool-for-openclawwithout specifying an exact reviewed version or integrity hash.yaml - kind: node package: searxng-tool-for-openclaw bins: - searxng-tool-for-openclawmarkdown - an executable installer so `npx searxng-tool-for-openclaw install` worksbash openclaw plugins install searxng-tool-for-openclawbash npx searxng-tool-for-openclaw installTechnical Analysis
These package references have no exact version, lockfile, or integrity constraint. Consequently, the package manager may resolve a newer npm release than the version represented by the locally audited
index.ts.The
npxcommand is particularly sensitive because it downloads the currently resolved package and runs its installer binary. The documentation also states that the package includes an executable installer. If the npm package, publisher account, or a future release is compromised, attacker-controlled installer logic could run even though the code in this project remains unchanged.This is a software supply-chain weakness rather than evidence that the currently audited
index.tsis malicious. The reviewed runtime code otherwise performs the documented SearXNG request and tool registration.Attack Path
- An attacker compromises the npm publisher account, gains control of the package, or causes a malicious future version to be published.
- The attacker adds malicious behavior to the package installer, executable binary, lifecycle script, or plugin entry point.
- A user follows
npx searxng-tool-for-openclaw installoropenclaw plugins install searxng-tool-for-openclaw. - Because no exact version or integrity value i ...[truncated 1094 chars]
- Remediation
View remediation
Remediation Suggestions
- Pin the package to a reviewed exact version in metadata and installation examples, such as
searxng-tool-for-openclaw@X.Y.Z; do not use version ranges or floating tags. - Replace the floating
npxcommand with an exact-version invocation and disable automatic confirmation where appropriate:bash npx --yes searxng-tool-for-openclaw@X.Y.Z install - Record and verify the expected npm tarball integrity hash before installation. Maintain a lockfile where the installation workflow supports one.
- Verify that the pinned npm artifact corresponds to the source revision that received security review.
- Publish provenance or signed release attestations and require verification in the release process.
- Review package lifecycle scripts and installer behavior before approving each version. Prefer installation mechanisms that do not execute lifecycle scripts when they are unnecessary.
- Run installation with a non-privileged account and restrict access to unrelated secrets, credentials, and sensitive environment variables.
- Establish an explicit upgrade process so dependency updates undergo review rather than being selected automatically at installation time.
- Pin the package to a reviewed exact version in metadata and installation examples, such as
