Install
openclaw skills install pre-publish-securityMulti-layered security audit system for GitHub/ClawHub releases. Prevents credential leaks, detects vulnerabilities, validates documentation. Frequency-aware...
openclaw skills install pre-publish-securityPrevents security breaches like exposed credentials in open-source releases.
✅ Multi-Level Scanning
✅ Smart Frequency Management
✅ What It Catches
[ORG], example.com)✅ Automated Protection
# Automatic protection on every push
./install-hooks.sh /path/to/your/repo
# One-time deep dive (or monthly)
./audit-full.sh /path/to/repo history
# See when scans last ran
./schedule.sh status
# Auto-determines what to run based on time
./schedule.sh run /path/to/repo
# Quick scan (every push)
./audit-simple.sh /path/to/repo
# Git history scan (monthly)
./audit-full.sh /path/to/repo history
# Dependency scan (weekly)
./audit-full.sh /path/to/repo dependencies
# Full audit (before releases)
./audit-full.sh /path/to/repo full
./install-hooks.sh ~/my-repo
git push # Automatic security check
# Add to OpenClaw cron
openclaw cron add \
--name "weekly-repo-scan" \
--cron "0 3 * * 1" \
--announce \
--message "Run: ~/.openclaw/workspace/skills/pre-publish-security/schedule.sh run ~/repo"
# Before clawhub publish
./audit-full.sh ~/skills/my-skill full
clawhub publish skills/my-skill --version 1.0.1
audit-simple.sh - Fast pre-push scanaudit-full.sh - Complete scanner with trackingschedule.sh - Status & smart automationinstall-hooks.sh - Git hook installeraudit-state.json - State tracking (auto-created)AUDIT-SCHEDULE.md - Detailed frequency guideREADME.md - Full documentationagents/ - Sub-agent definitions (future use)Required:
Optional (enhanced detection):
Automatically tracks:
View with: ./schedule.sh status
0 - Passed (no issues or low/medium only)1 - Critical issues (blocks push)2 - High issues (requires review)Problem: Accidentally pushed GitHub PAT in git remote URL
Solution: This tool caught it and blocked the push
Result: Credential never exposed publicly
On 2026-03-15, a GitHub PAT was accidentally exposed in a git config file. This protocol ensures it never happens again - to anyone.
MIT - Use it, improve it, share it.
Issues & PRs welcome at: https://github.com/solmas/pre-publish-security