mantra

Hunt down API key leaks in JavaScript files and web pages

brewmacoslinux
Try with needOr install directly
Source

About

Tool to hunt down API key leaks in JS files and pages

Commands

mantra

Examples

Scan a single JavaScript file for API key leaks$ mantra scan script.js
Scan an entire directory recursively for exposed secrets$ mantra scan ./src --recursive
Scan a website by URL and check for hardcoded credentials$ mantra scan https://example.com