T08 · Insecure Dependencies
- Location
skills.sh:82- Finding
Unrestricted Installation and Update of Unverified Third-Party Skills
- Content
View full analysis
&1 echo "" ;; update) echo "" echo -e "${YELLOW}🔄 正在检查更新...${NC}" echo "==========================================" if [ -z "$2" ]; then openclaw skills update 2>&1 | grep -v "^🦞" else openclaw skills update "$2" 2>&1 | grep -v "^🦞" fi ``` ### Technical Analysis The skill-management wrapper permits installation of an arbitrary skill name and supports unpinned updates of either one skill or all installed skills. It does not enforce an allowlist, pin an approved version, verify a package checksum or signature, validate the package source, or require an explicit trust decision after displaying package provenance. Although the skill name is quoted and therefore does not create direct shell command injection, it is passed to a package-management operation that may retrieve and install executable third-party content. The reviewed project is primarily a daily-report utility, so general-purpose dependency installation is broader than the privileges needed for its core reporting functions. The effective behavior of an installed skill may differ from what was previously reviewed if the registry package is compromised, replaced, or updated to a malicious release. ### Attack Path 1. An attacker publishes a malicious skill under a deceptive name, compromises an existing registry package, or gains control of a previously trusted package version. 2. A user or Agent invokes `skills.sh install `, or invokes `skills.sh ...[truncated 1133 chars]- Remediation
View remediation
