安装 ClawHub 技能前做供应链安全预检,拦截 social-engineering 落地
针对“技能 README 要求手动执行陌生命令”场景:通过来源核验、命令拆解与沙箱验证,避免被伪造 prerequisite 引导安装恶意程序。
REDDITDiscovered 2026-02-13Author u/lirantal
Prerequisites
- You have a staging/sandbox host isolated from production secrets.
- Skill install process is documented and can be paused before running external shell commands.
Steps
- Before installation, read SKILL.md prerequisites and flag any command that pulls remote scripts (curl|bash, base64|sh, pastebin links).
- Cross-check package/repo identity: publisher history, repo age, release tags, and community references.
- If command is unavoidable, decode/inspect it in sandbox first and require explicit human approval before execution.
- Prefer reproducible install methods (pinned version, checksum/signature) over ad-hoc one-liners.
- Maintain an internal denylist for known-bad domains/packages and update it after each incident review.
Commands
openclaw helpopenclaw gateway statusgit statusVerify
New skills are installable without executing opaque remote one-liners; suspicious prerequisites are quarantined for manual review.
Caveats
- This checklist reduces risk but cannot guarantee zero-day detection across all skill ecosystems.
- Reported IOCs/domains from public incident posts should be continuously re-validated(需验证)。
Source attribution
This tip is aggregated from community/public sources and preserved with attribution.
Open original source ↗