GitToQuark
Skill references external scripts (scripts/quark-drive.cjs, scripts/install.sh) that are not included in the package, yet the skill declares shell execution, credential persistence to ~/.quarkclouddrive/, and dynamic binary downloads from unversioned GitHub releases and an encoded fallback URL.
SKILL.md line 13-18 explicitly requires scripts/quark-drive.cjs and scripts/install.sh with detailed behavior descriptions, but the scripts/ directory is absent from the package. This is a doc-to-implementation mismatch — the skill cannot function without these files.
SKILL.md:13 为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 11 个一般风险产物,需要结合上下文判断。
报告包含 4 步攻击链,另有 3 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
攻击链
初始入口 · package
权限提升 · SKILL.md:46
权限提升 · SKILL.md:59
最终危害 · SKILL.md:61
风险分是怎么被拉高的
SKILL.md declares bash scripts/install.sh and node scripts/quark-drive.cjs but scripts/ is absent from package
Fetches latest release of Quark CLI without version pinning; latest tag can be altered
pdds.quark.cn fallback URL contains base64-like identifier bbhhdeegcbcfbdjdp that could be swapped to a malicious binary
Skill explicitly stores credentials to ~/.quarkclouddrive/ which persists across sessions
Downloads and executes Node.js binary from untrusted external source without integrity verification
最关键的证据
Referenced scripts not included in package
SKILL.md line 13-18 explicitly requires scripts/quark-drive.cjs and scripts/install.sh with detailed behavior descriptions, but the scripts/ directory is absent from the package. This is a doc-to-implementation mismatch — the skill cannot function without these files.
SKILL.md:13 Unversioned Quark CLI download
SKILL.md line 46-56 fetches the latest release tag via GitHub API and downloads the binary without pinning to a version hash. The 'latest' tag is mutable — an attacker who compromises the quarkclouddrive_offical repo could point latest to a malicious binary.
SKILL.md:46 Hardcoded fallback URL with encoded identifier
SKILL.md line 59 contains a fallback download URL to pdds.quark.cn with an encoded-looking identifier 'bbhhdeegcbcfbdjdp'. This is a static URL pointing to version 1.0.15 but could be replaced with a malicious binary at any time without the skill detecting the change.
SKILL.md:59 Persistent credential storage declared
SKILL.md line 71 explicitly states 'Credentials persist to ~/.quarkclouddrive/'. This is declared but creates a credential persistence mechanism that survives the session and could be harvested by subsequent malicious skills running in the same environment.
SKILL.md:71 No integrity verification for downloaded binary
The skill downloads a Node.js binary from GitHub releases and executes it but does not verify the binary's checksum or signature. An attacker who compromises the release or the fallback URL could serve a trojanized binary.
SKILL.md:46 Skill-card.md acknowledges suspicious security summary
skill-card.md 'Known Risks' section explicitly states 'The security summary rates the release suspicious because installation and runtime behavior rely on missing wrapper scripts'. This admission confirms the package is incomplete/inoperable as delivered.
skill-card.md:20 声明能力 vs 实际能力
SKILL.md:27 curl https://ipinfo.io/json SKILL.md:55 bash scripts/install.sh; SKILL.md:61 node scripts/quark-drive.cjs SKILL.md:73 curl -L -o download; ~/.quarkclouddrive/ credential persistence SKILL.md:145 OPENCLAW_SERVICE_MARKER injection 可疑产物与外联
https://skills.sh/b/GitToQuark/GitToQuark README.md:3
https://skills.sh/GitToQuark/GitToQuark README.md:3
https://img.shields.io/badge/%E4%B8%AD%E6%96%87-%E6%96%87%E6%A1%A3-green README.md:7
https://img.shields.io/badge/English-English-blue README.zh-CN.md:7
https://ipinfo.io/json SKILL.md:27
https://gh-proxy.com/ SKILL.md:31
https://ghproxy.net/ SKILL.md:31
https://v6.gh-proxy.org/ SKILL.md:31
https://pdds.quark.cn/download/stfile/bbhhdeegcbcfbdjdp/quarkclouddrive-1.0.15.zip SKILL.md:59
https://clawhub.ai/user/violet27chen skill-card.md:9
https://clawhub.ai/violet27chen/skills/git-to-quark skill-card.md:36
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| quarkclouddrive_offical | latest (unpinned) | github_releases | 否 | No version pinning, fetches 'latest' tag which is mutable. No integrity verification. |
文件构成
SKILL.md skill-card.md README.md README.zh-CN.md