π JavaScriptSentry: detect sensitive information in JavaScript
β‘ 1,186 views Β· π SecOps & Security Automation
Description
This workflow contains community nodes that are only compatible with the self-hosted version of n8n.
How It works:
When the user clicks βExecute Workflowβ they are prompted for a URL, from there the Puppeteer node extracts JavaScript links from the provided URL.
The links are then filtered down to ones that are relevant to the original URL that was quieried.
From there an AI Agent searches the provided JavaScript links for API Keys, email addresses, and PII leaks.
Finally a report is generated and sent via gmail to a desired destination. The report contains discovered links as well as any sensitive information that may have been found.
Why Itβs Useful:
This is a great tool for Cybersecurity testing.
- For Developers, make sure your scripts are clean and you didnβt leave anything behind.
- For Ethical Hackers, this is a great tool for Bug Bounties by discovering sensitive information hidden in JavaScript.
π Nodes Used
Gmail, AI Agent, OpenAI Chat Model, n8n Form Trigger
π₯ Import
Download workflow.json and import into n8n:
Workflow menu β Import from File