T08 · Insecure Dependencies
- Location
SKILL.md:53- Finding
Unverified Third-Party Skill Installation and Updates
- Content
View full analysis
Vulnerability Details
File Location:
SKILL.md, lines 53-86
Vulnerability Type:T08: Insecure Dependencies
Risk Level: MediumVulnerable Code
markdown ### 第四步:安装 用户确认要安装某个技能后,执行安装命令。CLI 会自动检测当前 agent 平台并安装到正确目录。 ```bash linkfoxskill install slug --workdir workspace例如:
bash linkfoxskill install linkfoxlinkfox-aba-data-explorer --workdir ~/.claude确定你的工作空间目录,然后执行 install 命令:
- 如果你是 Claude Code,工作空间目录是
~/.claude - 如果你是 OpenClaw,工作空间目录是你当前的 workspace 路径,如
~/.openclaw/workspace - 如果你是其他 Agent,请找到你的 skillworkspace 目录
安装完成后提示用户重启 Agent 以加载新技能。
更新已安装的技能
用户要更新技能时:
bash linkfoxskill update或更新指定技能:
bash linkfoxskill update slugtext ### Technical Analysis The Skill instructs the Agent to install marketplace-supplied Skills directly into an Agent workspace and then restart the Agent so the installed content is loaded. It also permits both individual and unrestricted bulk updates. These commands do not pin an immutable version, verify a cryptographic hash or signature, validate publisher identity, inspect downloaded files, or require a permissions review before activation. Consequently, the content executed or interpreted by the Agent may differ over time from the content originally reviewed. This is a supply-chain weakness rather than evidence that the current package contains a malicious payload. Exploitation requires an attacker-controlled or compromised marketplace package, publisher account, registry backend, distribution channel, or update. ### Attack Path 1. An attacker publishes a malicious Skill or compromises an existing marketplace package, publisher account, or distribution channel. 2. The Agent searches the marketplace and receives the affected package as a result. 3. The user confirms installation, or requests an update to an already installed package. 4. The Agent runs `linkfoxskill install ...` or `linkfoxsk ...[truncated 929 chars]- 如果你是 Claude Code,工作空间目录是
- Remediation
View remediation
Remediation Suggestions
- Require explicit, immutable package versions for every installation and update.
- Verify package signatures or trusted cryptographic hashes before writing content into the Agent workspace.
- Restrict installations to an allowlist of approved registries and verified publishers.
- Download packages into an isolated staging directory and inspect their instructions, scripts, dependencies, requested permissions, and external communications before activation.
- Present the package version, publisher identity, integrity information, requested capabilities, and destination path to the user before requesting confirmation.
- Replace unrestricted
linkfoxskill updateoperations with per-package, version-pinned updates that require explicit approval. - Run newly installed Skills in a sandbox with minimal filesystem, network, credential, and tool access.
- Maintain a lockfile or installation manifest recording package versions and hashes, and support rollback to the previously verified version.
- Do not instruct users to restart and activate a package until all integrity and security checks have succeeded.
