T08 · Insecure Dependencies
- Location
SKILL.md:32- Finding
Unpinned Executable Skill Dependencies Create a Supply-Chain Risk
- Content
View full analysis
&1) || die "获取视频信息失败:\n$VIDEO_INFO" ``` ```bash node "$DOUYIN_SCRIPT" download "$DOUYIN_URL" -o "$DOWNLOAD_DIR" 2>&1 | tail -1 ``` ```bash OSS_OUTPUT=$(python3 "$OSS_SCRIPT" upload --file "$VIDEO_FILE" --key "$OSS_KEY" 2>&1) || die "OSS上传失败:\n$OSS_OUTPUT" ``` ### Technical Analysis The installation instructions do not pin either dependency to a reviewed version, immutable commit, package digest, or cryptographic signature. The workflow then directly executes JavaScript and Python obtained from those dependencies. The executed processes inherit the workflow's environment by default. Consequently, dependency code may be able to read not only the credentials it legitimately needs, but also unrelated credentials present in the same process environment, including Aliyun OSS and Feishu application secrets. The dependency implementations are not included in this project, so their behavior could not be verified during this audit. This does not establish that the current dependency versions are malicious, but it creates a mutable supply-chain execution boundary without integrity enforcement. ### Attack Path 1. An attacker com ...[truncated 1261 chars]- Remediation
View remediation
