T08 · Insecure Dependencies
- Location
SKILL.md:107- Finding
Unpinned and Inconsistently Identified External Skill Dependency
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md:107-115, with related package identity and dependency declarations inpackage.json:2-15andmetadata.json:87-90
Vulnerability Type: T08: Insecure Dependencies
Risk Level: MediumVulnerable Code
SKILL.md:107-115:markdown ## 🚀 快速开始 ```bash # 安装 clawhub install self-improving-skill # 启动自进化循环 self-improving-skill start --skill="skill-name" --interval="17m"text `package.json:2-15`: ```json "name": "auto-improver-pro", "version": "1.0.0", "description": "Auto-improving AI skill that learns from every execution", "main": "src/index.js", "scripts": { "test": "jest", "start": "node src/index.js" }, "keywords": ["self-improvement", "learning", "automation", "feedback"], "author": "pagoda111king", "license": "MIT", "clawhub": { "slug": "auto-improver-pagoda", "name": "Self-Improving Skill",metadata.json:87-90:json "dependencies": [ "skill-evolver" ],Technical Analysis
The quick-start instructions install
self-improving-skill, while the package manifest identifies the project asauto-improver-proand assigns it the ClawHub slugauto-improver-pagoda. The separateskill-evolverdependency is also declared without a version, source, or integrity digest.None of these external components is pinned to an immutable version or cryptographic integrity value. The repository contains no implementation against which the installed package can be compared:
package.jsonreferencessrc/index.js, but the supplied project structure contains nosrcdirectory. As a result, the reviewed artifact does not establish the identity or contents of the executable code that the documented installation command would retrieve.This creates a supply-chain risk involving dependency confusion, package-name ambiguity, registry compromise, or mutable upstream releases. The risk is amplified ...[truncated 1945 chars]
- Remediation
View remediation
Remediation Suggestions
- Use one canonical identifier consistently across
SKILL.md,package.json, andmetadata.json. - Pin every external skill and dependency to an exact, reviewed version rather than resolving a mutable latest release.
- Record the trusted registry or repository URL and verify publisher ownership before installation.
- Publish and verify cryptographic integrity hashes or signed release attestations for installed artifacts.
- Include the actual implementation, including
src/index.js, in the auditable package. - Add a dependency lockfile and enforce frozen or immutable dependency resolution in installation and CI workflows.
- Remove undeclared or unused dependencies, or formally declare their versions, sources, integrity values, and purpose.
- Apply least privilege: do not grant
Write,Bash, orExecunless required for a specific operation. - Restrict writes to an explicitly selected target-skill directory and execute commands inside a sandbox with network and filesystem controls.
- Require explicit user review and confirmation before applying generated modifications to another skill.
- Add installation-time validation that rejects package identifiers, versions, or integrity digests that differ from the audited manifest.
- Use one canonical identifier consistently across
