Skill Trust Decision

GitToQuark

纯文档型技能,声明了复杂的文件下载、shell执行和凭证管理能力,但实际不包含任何代码文件(引用scripts/但不存在),存在供应链注入风险

Install decision first Source: ClawHub Scanned: 9 days ago
Files 5
Artifacts 8
Violations 0
Findings 5
Most direct threat evidence
Critical Supply Chain
无实际代码实现

SKILL.md引用scripts/quark-drive.cjs和scripts/install.sh,但package中没有任何脚本文件。技能完全依赖外部下载的CLI二进制。

SKILL.md:14

Why this conclusion was reached

1/4 dimensions flagged
Pass
Declared vs actual capability

Declared resources and inferred behavior are broadly aligned.

Review
Hidden execution and egress

8 lower-risk artifacts were extracted and still need context.

Block
Attack chain and severe findings

The report includes 4 attack-chain steps and 3 severe findings.

Review
Dependencies and supply chain hygiene

1 dependency or supply-chain issues need attention.

Attack Chain

01
用户安装GitToQuark skill

Entry · SKILL.md:1

02
Skill从GitHub下载quarkclouddrive CLI(无hash校验)

Escalation · SKILL.md:52

03
Fallback URL从pdds.quark.cn下载固定版本1.0.15(可能被替换)

Escalation · SKILL.md:59

04
恶意CLI执行未知操作(文件访问、网络外传、凭证收割)

Impact · 外部二进制

What drove the risk score up

无代码文件 +20

声明scripts/quark-drive.cjs和scripts/install.sh但package中不存在

供应链注入风险 +25

下载外部CLI无hash/signature校验,fallback URL固定版本

不可审计行为 +15

技能实际行为完全取决于外部下载的CLI,无法预判

shadow功能风险 +10

SKILL.md描述的CLI行为与实际下载的二进制可能不一致

Most important evidence

Critical Supply Chain

无实际代码实现

SKILL.md引用scripts/quark-drive.cjs和scripts/install.sh,但package中没有任何脚本文件。技能完全依赖外部下载的CLI二进制。

SKILL.md:14
技能必须包含可审计的代码文件,不应仅依赖外部下载物
High Supply Chain

外部CLI下载无完整性校验

从GitHub releases下载最新版本quarkclouddrive,或从固定fallback URL下载1.0.15版本,均无SHA256/hash校验

SKILL.md:59
必须提供二进制完整性校验(checksum或signature verification)
High Supply Chain

固定版本fallback URL存在

当GitHub API失败时,使用硬编码的pdds.quark.cn URL下载固定版本1.0.15,该域名可能被用于定向投毒

SKILL.md:59
移除固定版本fallback,仅使用官方GitHub releases
Medium Credential Theft

凭证存储但未声明访问范围

技能将token存储到~/.quarkclouddrive/,虽然声明不读取,但外部CLI可能访问其他敏感路径

SKILL.md:71
明确外部CLI的credential访问边界
Medium Obfuscation

第三方代理服务不可控

CN用户通过gh-proxy.com、ghproxy.net、v6.gh-proxy.org代理下载,代理节点可能进行流量嗅探或篡改

SKILL.md:31
考虑提供代理源验证或让用户自控代理

Declared capability vs actual capability

Filesystem Pass
Declared WRITE
Inferred WRITE
SKILL.md:76-77 curl -L -o temp file downloads
Network Pass
Declared WRITE
Inferred WRITE
SKILL.md:27-31 curl to ipinfo.io, GitHub API, proxy services
Shell Pass
Declared WRITE
Inferred WRITE
SKILL.md:42 node scripts/quark-drive.cjs; SKILL.md:56 bash scripts/install.sh
Environment Pass
Declared READ
Inferred READ
SKILL.md:90 OPENCLAW_SERVICE_MARKER injection
credential Pass
Declared WRITE
Inferred WRITE
SKILL.md:71-72 stores tokens to ~/.quarkclouddrive/

Suspicious artifacts and egress

Medium External URL
https://ipinfo.io/json

README.md:27

Medium External URL
https://gh-proxy.com/

README.md:31

Medium External URL
https://ghproxy.net/

README.md:31

Medium External URL
https://v6.gh-proxy.org/

README.md:31

Medium External URL
https://pdds.quark.cn/download/stfile/bbhhdeegcbcfbdjdp/quarkclouddrive-1.0.15.zip

README.md:59

Medium External URL
https://skills.sh/b/GitToQuark/GitToQuark

README.zh-CN.md:3

Medium External URL
https://skills.sh/GitToQuark/GitToQuark

README.zh-CN.md:3

Medium External URL
https://img.shields.io/badge/English-English-blue

README.zh-CN.md:7

Dependencies and supply chain

PackageVersionSourceKnown vulnNotes
quarkclouddrive_offical latest github.com/quark-clouddrive/quarkclouddrive_offical No 从GitHub下载最新release无完整性校验
quarkclouddrive 1.0.15 pdds.quark.cn No 固定版本fallback,无校验,存在供应链攻击风险

File composition

5 files · 336 lines
Markdown 3 files · 336 lines
Files of concern · 3
README.md Markdown · 150 lines
https://ipinfo.io/json · https://gh-proxy.com/ · https://ghproxy.net/ · https://v6.gh-proxy.org/ · https://pdds.quark.cn/download/stfile/bbhhdeegcbcfbdjdp/quarkclouddrive-1.0.15.zip
SKILL.md Markdown · 150 lines
无实际代码实现 · 外部CLI下载无完整性校验 · 固定版本fallback URL存在 · 凭证存储但未声明访问范围 · 第三方代理服务不可控
README.zh-CN.md Markdown · 36 lines
https://skills.sh/b/GitToQuark/GitToQuark · https://skills.sh/GitToQuark/GitToQuark · https://img.shields.io/badge/English-English-blue
Other files · chinese.png · english.png

Security positives

文档详细描述了每个操作步骤和错误处理
明确声明不读取、打印或缓存明文凭证
区分API请求(直连)和文件下载(代理)的正确路由
不支持私有仓库下载,限制了数据泄露范围