Scan single URLs for security vulnerabilities with GPT-4 (JS, PHP, Python)
Ready for 3.0What this workflow does
This AI workflow has 32 nodes and runs when someone submits an n8n form (“AI-Powered Code Analyzer”). Along the way it connects OpenAI Chat Model, HTTP Request and Google Drive.
How it runs
Trigger: When someone submits an n8n form (“AI-Powered Code Analyzer”).
- Split AI-Powered Code Analyzer (Single URL) (Split Out): splits a list into separate items
- Python Expert (Single URL) (Switch): routes items into 1 branches
- PHP Expert (Single URL) (Switch): routes items into 1 branches
- JavaScript Expert (Single URL) (Switch): routes items into 1 branches
- Python Expert Agent (Single URL) (AI Agent): runs an AI agent, with model: OpenAI Python (Single URL); 1 tool (HTTP Request Python (Single URL))
- PHP Expert Agent (Single URL) (AI Agent): runs an AI agent, with model: OpenAI PHP (Single URL); 1 tool (HTTP Request PHP (Single URL))
- JavaScript Expert Agent (Single URL) (AI Agent): runs an AI agent, with model: OpenAI JavaScript (Single URL); 1 tool (HTTP Request JavaScript (Single URL))
- Prettify Python Results (Single URL) (Code): runs custom JavaScript code
- Prettify PHP Results (Single URL) (Code): runs custom JavaScript code
- Prettify JavaScript Results (Single URL) (Code): runs custom JavaScript code
…plus 15 more steps. See the full node list below.
Services it uses
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (10)
- n8n Form Trigger
n8n-nodes-base.formTrigger - AI Agent
@n8n/n8n-nodes-langchain.agent - OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi - Http Request Tool
n8n-nodes-base.httpRequestTool - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - Filter
n8n-nodes-base.filter - HTML
n8n-nodes-base.html - Switch
n8n-nodes-base.switch - Google Drive
n8n-nodes-base.googleDrive
From the author
Overview This workflow automates static security analysis for JavaScript, PHP, and Python codebases. It’s designed for bug bounty hunters and security researchers who need fast, structured, and AI-assisted vulnerability detection across multiple sources. ---…