T08 · Insecure Dependencies
- Location
SKILL.md:8- Finding
Mandatory Execution of Unpinned External Skill Dependencies
- Content
View full analysis
source ../dolphindb-skills/scripts/dolphin_wrapper.sh # Method 2: Run from any location source ~/.jvs/.openclaw/workspace/skills/dolphindb-skills/scripts/dolphin_global.sh ``` ```bash clawhub install dolphindb-basic ``` ```bash # Load the environment detector source ../dolphindb-skills/scripts/load_dolphindb_env.sh ``` ### Technical Analysis The Skill requires users or agents to execute shell scripts supplied by a separate `dolphindb-skills` installation and to install `dolphindb-basic` from ClawHub. Neither dependency is pinned to an immutable version, commit, digest, or cryptographic checksum. The shell `source` command executes a referenced file in the current shell rather than an isolated subprocess. Consequently, those external scripts can execute commands with the invoking user's permissions and can modify environment variables, shell functions, aliases, working directories, or other process state. Because the referenced files are outside this audited project, their behavior and integrity cannot be verified from the submitted artifact. No evidence establishes that the current external dependencies are malicious. The vulnerability is the unaudited and mutable supply-chain trust boundary created by mandatory initialization. ### Attack Path 1. An attacker compromises the external Skill distribution, its publisher account, an update channel, or the locally installed `dolphindb-skills` directory. 2. The attacker modifies one of the referenced initialization scripts or causes an unsafe version of the unpinned dependency to be installed. 3. A user or agent follows the mandatory setup instructions in `SKILL.md`. 4. The shell evaluates the ...[truncated 611 chars]- Remediation
View remediation
