Loading...
Loading...
ClawHub reputation checker for ClawSec suite. Enhances guarded skill installer with VirusTotal Code Insight reputation scores and additional safety checks.
npx skill4agent add prompt-security/clawsec clawsec-clawhub-checkerclawhub installclawsec-suite# First install the suite
npx clawhub@latest install clawsec-suite
# Then install the checker
npx clawhub@latest install clawsec-clawhub-checker
# Run the setup script to integrate with clawsec-suite
node ~/.openclaw/skills/clawsec-clawhub-checker/scripts/setup_reputation_hook.mjs
# Restart OpenClaw gateway for changes to take effect
openclaw gateway restartenhanced_guarded_install.mjsguarded_skill_install_wrapper.mjsclawsec-suite/scriptsguarded_skill_install.mjs# Recommended drop-in wrapper
node scripts/guarded_skill_install_wrapper.mjs --skill some-skill --version 1.0.0
# Or call the enhanced script directly
node scripts/enhanced_guarded_install.mjs --skill some-skill --version 1.0.0--confirm-reputation04243--confirm-reputation1CLAWHUB_REPUTATION_THRESHOLD# Try to install a skill
node scripts/guarded_skill_install_wrapper.mjs --skill suspicious-skill --version 1.0.0
# Output might show:
# WARNING: Skill "suspicious-skill" has low reputation score (45/100)
# - Flagged by VirusTotal Code Insight: crypto keys, external APIs, eval usage
# - Author has no other published skills
# - Skill is less than 7 days old
#
# To install despite reputation warning, run:
# node scripts/guarded_skill_install_wrapper.mjs --skill suspicious-skill --version 1.0.0 --confirm-reputation
# Install with confirmation
node scripts/guarded_skill_install_wrapper.mjs --skill suspicious-skill --version 1.0.0 --confirm-reputation--confirm-reputationclawsec-suiteclawhubclawhub inspect --jsonclawhub installscripts/enhanced_guarded_install.mjsscripts/check_clawhub_reputation.mjshooks/clawsec-advisory-guardian/lib/reputation.mjs