Skip to content
Back to skills

Page Behavior Audit

ASecurity

Deep behavioral audit with hashed policy (CSP-compliant, no plaintext badwords)

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
toolsbashgitapisecurity

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill page-behavior-audit --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Page Behavior Audit?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Page Behavior Audit
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-page-behavior-audit/badge)](https://www.skillsdirectory.com/skills/modbender-page-behavior-audit)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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

- 🔍 Browser automation with redirect tracking
- 🛡️ Content policy checking (hashed badwords)
- 🎯 Response monitoring (SSRF/XXE detection)
- 📸 Full-page screenshots
- 📊 HAR export
- 🚨 WeCom alerts for critical findings

## Prerequisites

Set required environment variables:

```bash
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

```bash
curl -X POST http://localhost:8080/api/audit/scan \
  -H "Content-Type: application/json" \
  -d '{"url": "https://example.com", "include_har": true}'
```

### Via CLI

```bash
openclaw skill run page-behavior-audit --url https://example.com
```

## Configuration

**Input schema:**
- `url` (string, required): Target URL to audit
- `include_har` (boolean, optional): Export HAR file (default: true)

**Output:**
- `redirects`: Captured redirects
- `text_alerts`: Content policy violations
- `ct_alerts`: Response monitoring alerts
- `screenshot_path`: Screenshot file path
- `har_path`: HAR file path

## Security

- SHA256-hashed badword policies
- Ed25519 signature verification
- CSP-compliant (no plaintext sensitive words)
- Sandbox-isolated browser execution

## Alert Rules

**CRITICAL severity:**
- XML served from non-.xml endpoints (SSRF/XXE risk)
- Image endpoints returning XML (XXE evasion)

Alerts are sent to WeCom webhook when critical issues are detected.

Files in this skill

  • README.md591 B
  • SKILL.md2.5 KB
  • install.sh5 KB
  • package.json445 B
  • skill.yaml5.2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.