precc
Skill installs CLI tool via documented pipe-to-bash pattern and registers a shell hook; all behavior is declared but the install method remains inherently risky.
为什么得出这个结论
1/4 个维度触发声明资源与推断能力基本一致。
提取到 1 个高危 IOC 或外联信号。
没有形成明确的恶意路径。
发现 3 项需要关注的依赖或供应链线索。
风险分是怎么被拉高的
curl -fsSL https://peria.ai/install.sh | bash at SKILL.md:101 is documented but still dangerous
Hook can intercept and rewrite Bash commands, declared in docs
最关键的证据
Pipe-to-bash install pattern
SKILL.md documents curl -fsSL https://peria.ai/install.sh | bash at line 101. While declared, this pattern is inherently dangerous as it executes arbitrary remote code without inspection.
SKILL.md:101 Author mismatch between SKILL.md and skill-card.md
SKILL.md lists author as 'peri-a-i' while skill-card.md shows publisher as 'yijunyu'. This indicates potential copy/republishing without alignment.
SKILL.md, skill-card.md:12 PreToolUse hook intercepts all shell commands
The precc-hook binary registered as a PreToolUse hook can review and potentially rewrite any Bash command before execution. Declared but powerful.
SKILL.md:59 声明能力 vs 实际能力
SKILL.md lines 59-64: writes to ~/.local/bin/, ~/.local/share/precc/ SKILL.md line 101: curl -fsSL install.sh | bash SKILL.md: PRECC_LICENSE_KEY env var Downloads binaries from GitHub releases, declared PreToolUse hook registered in ~/.claude/settings.json 可疑产物与外联
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
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| precc | * | binary | 否 | Rust binary downloaded from GitHub releases; SHA256 verified |
| precc-hook | * | binary | 否 | Hook binary; PreToolUse registered in Claude Code settings |
| cocoindex-code | * | pip (optional) | 否 | Optional semantic search; pipx install recommended |
文件构成
SKILL.md skill-card.md