π¦ ClawHub
page-behavior-audit
by @youdaolee
Deep behavioral audit with hashed policy (CSP-compliant, no plaintext badwords)
TERMINAL
clawhub install page-behavior-auditπ About This Skill
name: page-behavior-audit description: Deep behavioral audit with hashed policy (CSP-compliant, no plaintext badwords) homepage: https://github.com/openclaw/page-behavior-audit metadata: { "openclaw": { "emoji": "π", "type": "skill", "version": "1.0.3", "modelInvocable": false, "requiredEnv": [ { "name": "WECOM_WEBHOOK_URL", "description": "WeCom webhook URL for critical alerts", "sensitive": true, }, { "name": "OPENCLAW_AUDIT_DIR", "description": "Directory for audit logs, screenshots, and HAR files", "default": "${HOME}/.openclaw/audit", }, ], "trigger": { "type": "webhook", "path": "/api/audit/scan", "method": "POST" }, "timeout": 15000, }, }
page-behavior-audit
Deep behavioral page auditing with content safety policy enforcement.
Features
Prerequisites
Set required environment variables:
export WECOM_WEBHOOK_URL="https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=YOUR_KEY"
export OPENCLAW_AUDIT_DIR="${HOME}/.openclaw/audit" # optional
Usage
Via Webhook
curl -X POST http://localhost:8080/api/audit/scan \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "include_har": true}'
Via CLI
openclaw skill run page-behavior-audit --url https://example.com
Configuration
Input schema:
url (string, required): Target URL to auditinclude_har (boolean, optional): Export HAR file (default: true)Output:
redirects: Captured redirectstext_alerts: Content policy violationsct_alerts: Response monitoring alertsscreenshot_path: Screenshot file pathhar_path: HAR file pathSecurity
Alert Rules
CRITICAL severity:
Alerts are sent to WeCom webhook when critical issues are detected.
π‘ Examples
Via Webhook
curl -X POST http://localhost:8080/api/audit/scan \
-H "Content-Type: application/json" \
-d '{"url": "https://example.com", "include_har": true}'
Via CLI
openclaw skill run page-behavior-audit --url https://example.com
βοΈ Configuration
Input schema:
url (string, required): Target URL to auditinclude_har (boolean, optional): Export HAR file (default: true)Output:
redirects: Captured redirectstext_alerts: Content policy violationsct_alerts: Response monitoring alertsscreenshot_path: Screenshot file pathhar_path: HAR file path