🛡️ n8n Phishing URL Checker

This project uses n8n and the VirusTotal API to determine if a submitted URL is malicious, suspicious, or harmless.

🔍 Features

🛠️ Tools Used

🧰 Workflow Overview

  1. Webhook accepts JSON input:
    {
      "suspicious_url": "http://example.com/phish"
    }
  2. Function Node encodes the URL to base64.
  3. HTTP Request sends encoded URL to VirusTotal:
    https://www.virustotal.com/api/v3/urls/{{encoded_url}}
  4. Set Node extracts malicious, harmless, suspicious, undetected counts.
  5. Email Node sends report to your inbox.

📊 Sample Output

Malicious: 0
Suspicious: 0
Harmless: 85
Undetected: 8
  

📷 Workflow Diagram

n8n Workflow

🔄 Try It Locally

curl -X POST http://localhost:5678/webhook-test/phishing-check \
  -H "Content-Type: application/json" \
  -d '{"suspicious_url": "http://example.com/phish"}'
  

🚰 Setup Notes