Skip to content

Back to the catalog

n8n Cybersecurity Workflows
github.comrepo

n8n Cybersecurity Workflows

A GitHub repo of n8n automation blueprints for security teams, organized into Red Team/Pentest, Blue Team (SOC/DFIR/TI), AppSec/DevSecOps, and Platform/General categories. Each of the ~90 workflow ideas gives a Purpose, Integrations, and Flow Outline (e.g., subdomain recon hubs, attack-surface diffing, GoPhish campaign launchers, C2 event forwarding, phishing auto-triage, SAST-on-PR with Semgrep, DAST nightly with ZAP, container image policy gates, CVE prioritization with EPSS/KEV) that map to concrete n8n nodes and real security tools like Subfinder, Nmap, Shodan, Trivy, MISP, and VirusTotal.

TL;DR A large collection of n8n workflow blueprints automating red team, SOC/DFIR, threat intel, and AppSec/DevSecOps tasks.
Document

What it is

A README-style catalog of ~27 automation blueprints for n8n, grouped into Red Team/Pentest, Blue Team (SOC/DFIR/TI), AppSec/DevSecOps, and Platform/General Security. Each entry is an idea, not a ready-to-import workflow: it lists a Purpose, an Integrations list, and a one-line Flow Outline you translate into n8n nodes yourself (HTTP Request, Execute Command, IF/Switch, Function/Code, Split In Batches, Cron, Webhook, Slack/Teams, PostgreSQL/Redis, AWS/GCP/Azure, Kafka, etc.).

What it actually covers

The existing summary frames this as OSINT recon, threat-intel gathering, and monitoring automation. That undersells the offensive half. The catalog is heavily red-team and includes active-attack blueprints: Credential Spraying Orchestrator, GoPhish Campaign Launcher, Malicious Macro Build Conveyor (PoC), C2 Beacon Event Forwarder (Cobalt Strike/Havoc/Sliver webhooks), AV/EDR Evasion Test Matrix Runner, Exfiltration Simulation to Cloud, Default Creds Sweep, Windows Lateral Movement Lab Runner, and API Fuzzing Loop. Defensive/recon entries also exist (Subdomain Recon Hub, Attack Surface Change Detector, TLS/Cert Recon, Vuln Exploit Window Notifier, honeytoken/canary telemetry, Recon-to-Report PDF).

Preconditions / what you're signing up for

  • Nothing is importable. There is no n8n workflow JSON — every item is a flow sketch. You do the node wiring, credential setup, and error handling. Effort is closer to "design brief" than "download and run."
  • Most flows assume external accounts/tooling: Shodan/Censys, SecurityTrails, GoPhish, VirusTotal, AbuseIPDB, crt.sh, Canarytokens, plus a datastore (PostgreSQL/TimescaleDB/Redis) and a notifier (Slack/Teams).
  • Several offensive blueprints are explicitly marked "Lab/Test Only" or "PoC" (Credential Spraying, AV/EDR Evasion, Default Creds Sweep, Windows Lateral Movement, Email Bypass, Bluetooth/IoT). The macro builder and spraying orchestrator are the kind of thing that needs written authorization before touching anything non-lab.

What to do

  • Treat this as an idea backlog, not a deliverable. If you want a defensive quick win, the low-risk recon/monitoring entries (Subdomain Recon Hub, Attack Surface Change Detector, TLS/Cert Recon, Vuln Exploit Window Notifier) map cleanly onto Cron → HTTP/Exec → DB diff → Slack and are safe to build.
  • Route the offensive/lab entries through your rules-of-engagement process; don't stand them up outside an isolated lab.

Caveats

The page gives no configs, no code, and no n8n export — only integration names and one-line flows. Anything past that (auth, rate limits, secret handling for the Execute Command nodes) is left to you, and running Exec nodes against scanners/C2 tooling carries the usual command-injection and credential-exposure risk n8n does not solve for you.

Techniques named here

  • Subdomain enumeration / attack surface recon
  • Cloud bucket enumeration
  • Credential spraying
  • Phishing campaigns
  • Malicious macro/document building
  • C2 beaconing
  • Decoy/canary link tracking
  • Data exfiltration simulation
  • AV/EDR evasion testing
  • TLS/certificate recon
  • Shadow IT / unmanaged app discovery
  • SSRF testing
  • XSS beacon callbacks
  • Technology stack fingerprinting
  • Default credential sweeping
  • API fuzzing
  • Email security bypass testing
  • Lateral movement
  • Phishing landing page telemetry
  • Bluetooth/IoT device discovery
  • WiFi Evil Twin attack simulation
  • C2 infrastructure lifecycle management
  • Threat intel aggregation/normalization
  • IOC enrichment
  • Impossible travel detection
  • OAuth app risk auditing
  • SIEM alert routing/deduplication
  • EDR alert noise suppression
  • Phishing email triage/detonation
  • Ransomware canary/tripwire detection
  • DNS tunneling detection
  • C2 beaconing periodicity detection
  • URL detonation/classification
  • Abuse mailbox triage
  • Threat actor infrastructure tracking
  • SOAR containment actions
  • Cloud configuration drift detection
  • S3 public object detection
  • EDR tamper detection
  • Malicious macro/document risk scoring
  • MFA fatigue detection
  • Brute-force detection
  • Insider data egress monitoring
  • Malspam campaign clustering
  • Incident response orchestration
  • Asset risk correlation
  • Credential leak monitoring
  • Public paste/code leak scraping
  • Endpoint baseline drift detection
  • VPN anomaly detection
  • Shadow admin detection
  • Email authentication health checks
  • Webhook abuse detection
  • OT/IoT device anomaly monitoring
  • TLS weak cipher scanning
  • SAST on pull requests
  • DAST scanning
  • Software composition analysis
  • Container image scanning gate
  • IaC misconfiguration scanning
  • Secrets scanning
  • SBOM and provenance attestation
  • API contract drift detection
  • GraphQL introspection exposure check
  • Security headers compliance checking
  • File upload abuse testing
  • Rate limiting / authorization fuzzing
  • Mobile app security scanning
  • Automated dependency remediation
  • Secrets rotation tracking
  • Attack replay testing
  • Compliance evidence collection
  • Feature flag access control testing
  • CORS/redirect misconfiguration testing
  • Session management validation
  • CI artifact leakage testing
  • Access token exposure scanning
  • License compliance scanning
  • Vulnerability prioritization
  • Certificate expiry planning
  • Backup integrity verification
  • Data classification enforcement
  • Purple Team Exercises