T08 · Insecure Dependencies
- Location
SKILL.md:11- Finding
Unpinned and Unnecessary npm Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 11-15
Vulnerability Type: Supply-chain exposure through an unpinned third-party dependency
Risk Level: MediumVulnerable Code
yaml install: - id: npm kind: node package: axios bins: ["axios"]Technical Analysis
The skill requests installation of
axioswithout specifying an exact version or package integrity hash. Consequently, the package contents resolved during installation may differ from those reviewed or tested by the skill author.Installing a mutable package version creates a supply-chain trust boundary. If the registry package, publisher account, dependency graph, or package resolution process is compromised, package-controlled lifecycle behavior could run with the privileges of the skill installer.
The declaration also identifies
axiosas an executable binary, although Axios is ordinarily consumed as a JavaScript library. No content inSKILL.mduses Axios, and the documented workflow relies on tools such asweb_fetch,curl, andread. This inconsistency increases the likelihood that the dependency is unnecessary or incorrectly configured.Attack Path
- A user installs or enables the skill.
- The OpenClaw installer processes the npm installation declaration.
- The package manager resolves the current package version because no exact version or integrity value is provided.
- A compromised or unexpectedly changed package release is downloaded.
- Package-controlled installation behavior executes in the installer context, where applicable.
- Malicious package behavior could access files, environment variables, or network resources available to that context.
Impact Assessment
Successful exploitation would provide code execution with the privileges of the package installation process. The resulting scope depends on how OpenClaw performs installation and may include access to user files, environment variables, network credentials ...[truncated 207 chars]
- Remediation
View remediation
Remediation Suggestions
- Remove the Axios installation declaration if it is not required by an actual implementation.
- If Axios is required, pin it to an audited exact version rather than resolving the latest compatible release.
- Use a lockfile and verified package integrity hash to make dependency resolution reproducible.
- Review the complete transitive dependency tree and package lifecycle scripts before distribution.
- Remove
bins: ["axios"]unless a reviewed package version demonstrably provides and requires that executable. - Prefer the platform's existing documentation-fetching tools instead of adding a redundant third-party dependency.
