precc
该技能通过预编译 Rust 二进制实现核心功能,但安装方式采用危险的 curl|bash 模式,攻击者可在安装阶段注入恶意代码。虽有 SHA256 校验但无法验证来源可信度。
SKILL.md 直接展示 `curl -fsSL https://peria.ai/install.sh | bash` 命令,这是标准的供应链攻击向量。攻击者若能入侵 peria.ai 域名或中间人攻击,即可向用户机器注入任意代码。
SKILL.md:101 Why this conclusion was reached
2/4 dimensions flaggedDeclared resources and inferred behavior are broadly aligned.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 1 severe findings.
1 dependency or supply-chain issues need attention.
Attack Chain
Entry · SKILL.md:101
Escalation · install.sh:1
Impact · N/A
What drove the risk score up
SKILL.md:101 直接展示危险安装模式,攻击者可在peria.ai劫持后注入恶意代码
install.sh 自动下载执行,无交互式验证环节
虽然声称校验SHA256,但peria.ai域名的可信度未经验证
Most important evidence
危险的远程脚本执行安装方式
SKILL.md 直接展示 `curl -fsSL https://peria.ai/install.sh | bash` 命令,这是标准的供应链攻击向量。攻击者若能入侵 peria.ai 域名或中间人攻击,即可向用户机器注入任意代码。
SKILL.md:101 安装源域名可信度未声明
install.sh 从 peria.ai 下载二进制,但未提供该域名的安全审计记录或证书透明度信息。
SKILL.md:100 PreToolUse 钩子具有命令拦截和修改能力
precc-hook 作为 PreToolUse 钩子运行,可拦截所有 Bash 命令并决定是否修改后执行。这是一个高权限操作,理论上可被滥用执行未预期的命令。
SKILL.md:58 文档未声明 allowedTools
SKILL.md 缺少 allowedTools 声明,用户和系统无法预知该技能需要的具体工具权限。
SKILL.md:1 Declared capability vs actual capability
SKILL.md:101 curl -fsSL|bash SKILL.md:58 写入~/.claude/settings.json SKILL.md:17 PRECC_LICENSE_KEY Suspicious artifacts and egress
curl -fsSL https://peria.ai/install.sh | bash SKILL.md:101
https://peria.ai/install.sh SKILL.md:101
https://clawhub.ai/skills/precc SKILL.md:179
https://clawhub.ai/user/yijunyu skill-card.md:7
https://clawhub.ai/yijunyu/skills/precc skill-card.md:29
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| precc | N/A | binary | No | 预编译Rust二进制,从peria.ai/GitHub下载 |
| precc-hook | N/A | binary | No | PreToolUse钩子,拦截Bash命令 |
| cocoindex-code | * | pip | No | 可选依赖,无版本锁定 |
File composition
SKILL.md skill-card.md