Skip to content

Identify and manage n8n workflows with unauthenticated webhooks | Dashboard + backend hooks | Created during live stream

Notifications You must be signed in to change notification settings

idirouhab/n8n-webhook-security-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Protect n8n Webhooks Without Authentication

This repository contains two different approaches to identify and manage n8n workflows that have webhook triggers without authentication enabled.

πŸŽ₯ Live Stream

This code was created during a live stream teaching how to prevent exposing webhook triggers in n8n in Spanish.

πŸ”— Connect

πŸ“‹ Solutions Overview

Solution 1: Workflow-Based Approach (No Code)

A pure n8n workflow solution that:

  • Lists all workflows with unauthenticated webhook triggers
  • Provides an interactive HTML dashboard with dark/light themes
  • Includes a secure deactivation workflow that validates before disabling
  • Requires no external code or configuration

Best for: Users who prefer a no-code solution within n8n itself.

πŸ“ View Solution 1 β†’


Solution 2: Backend Hooks (Technical)

Uses n8n's backend hooks feature to:

  • Send notifications when workflows with unauthenticated webhooks are activated
  • Optionally deactivate workflows automatically using the shared deactivation workflow
  • Enforce security policies at the infrastructure level

Best for: Teams wanting automated enforcement and real-time alerts.

πŸ“ View Solution 2 β†’


πŸš€ Quick Start

Choose the solution that best fits your needs:

  1. Solution 1: Import the workflow files into your n8n instance
  2. Solution 2: Configure your n8n Docker setup with the provided hooks

πŸ“š Documentation

Each solution folder contains:

  • Detailed setup instructions
  • Required files and configurations
  • Diagrams explaining the flow

Shared Components

Both solutions use a common deactivation workflow that validates and deactivates workflows with unauthenticated webhooks.

πŸ“ View Shared Components β†’

⚠️ Security Note

Exposing webhook triggers without authentication can be a security risk. These solutions help you identify and manage such workflows proactively.

🀝 Contributing

Feel free to open issues or submit pull requests with improvements!

πŸ“„ License

MIT

About

Identify and manage n8n workflows with unauthenticated webhooks | Dashboard + backend hooks | Created during live stream

Topics

Resources

Stars

Watchers

Forks

Contributors