πŸ”’ Run weekly WAF security audits with WAFtester and Slack alerts

⚑ 46 views Β· πŸ”’ SecOps & Security Automation

πŸ’‘ Pro Tip β€” If you need GitHub data beyond what the REST API gives you, ScraperNode has a repository scraper that extracts metadata at scale without token rate limits.

View All Scrapers

Description

What it does

Automated weekly WAF security assessments with Slack reporting. Detects your WAF vendor, runs a security assessment, grades your protection, and alerts your team when the grade drops below threshold.

About WAFtester

WAFtester is an open-source CLI for testing Web Application Firewalls. It ships 27 MCP tools, 2,800+ attack payloads across 18 categories (SQLi, XSS, SSRF, SSTI, command injection, XXE, and more), detection signatures for 26 WAF vendors and 9 CDNs, and enterprise-grade assessment with F1/MCC scoring and letter grades (A+ through F).

Who it’s for

How it works

The workflow has seven nodes:

  1. Weekly Schedule β€” Triggers every Monday at 3 AM (configurable)
  2. Detect WAF β€” Calls WAFtester’s detect_waf tool to fingerprint the WAF vendor and CDN
  3. Start Assessment β€” Launches an async assess task testing SQLi, XSS, traversal, cmdi, and SSRF
  4. Wait β€” Pauses to let the assessment run
  5. Poll Results β€” Calls get_task_status to retrieve completed results
  6. Check Results β€” Routes based on the WAF grade (pass if β€œA” or better, fail otherwise)
  7. Slack (Pass/Fail) β€” Posts a summary to your Slack channel with grade, detection rate, and bypass count

How to set up

  1. Start WAFtester MCP server: docker run -p 8080:8080 ghcr.io/waftester/waftester:latest mcp --http :8080
  2. Set environment variables: WAF_TARGET_URL (required), WAFTESTER_MCP_URL, SLACK_CHANNEL
  3. Add Slack OAuth2 credentials and select them in both Slack nodes
  4. Activate the workflow

Alternatively, use the included docker-compose.yml to run both n8n and WAFtester together.

Requirements

RequirementDetails
WAFtester MCP serverDocker image (ghcr.io/waftester/waftester:latest) or binary install
SlackWorkspace with OAuth2 bot credentials
AuthorizationOnly test targets you have explicit written permission to test

How to customize

πŸ”— Nodes Used

HTTP Request, Slack, Schedule Trigger

πŸ“₯ Import

Download workflow.json and import into n8n: Workflow menu β†’ Import from File

πŸ“– Importing guide Β· πŸ”‘ Credential setup