SkillAgentSearch skills...

Mantra

ć€ŒšŸ”‘ć€A tool used to hunt down API key leaks in JS files and pages

Install / Use

/learn @brosck/Mantra
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

<h1 align="center">ć€ŒšŸ”‘ć€ About Mantra</h1> <p align="center"><img src="assets/banner.png"></p>

The tool in question was created in Go and its main objective is to search for API keys in JavaScript files and HTML pages.

It works by checking the source code of web pages and script files for strings that are identical or similar to API keys. These keys are often used for authentication to online services such as third-party APIs and are confidential and should not be shared publicly.

By using this tool, developers can quickly identify if their API keys are leaking and take steps to fix the problem before they are compromised. Furthermore, the tool can be useful for security officers, who can use it to verify that applications and websites that use external APIs are adequately protecting their keys.

In summary, this tool is an efficient and accurate solution to help secure your API keys and prevent sensitive information leaks.

Help

Usage

Install

From go:

go install github.com/Brosck/mantra@latest

From source code:

git clone https://github.com/brosck/mantra
cd mantra
make
./build/mantra-amd64-linux -h

Results

Firebase API Key Leak: <img width="1689" height="559" alt="image" src="https://github.com/user-attachments/assets/c06d2c2e-e2e8-4fc9-b20d-2f6b2ad9a096" />

Buy me a coffee?

<a href="https://pixgg.com/MrEmpy" target="_blank"> <img src="https://pixgg.com/img/logo-darkmode.046d3b61.svg" height="30" widght="30"> </a> </br> </br> <a href="https://www.buymeacoffee.com/mrempy" target="_blank"> <img src="https://play-lh.googleusercontent.com/aMb_Qiolzkq8OxtQZ3Af2j8Zsp-ZZcNetR9O4xSjxH94gMA5c5gpRVbpg-3f_0L7vlo" height="50" widght="50"> </a>
View on GitHub
GitHub Stars877
CategoryDevelopment
Updated1d ago
Forks93

Languages

Go

Security Score

100/100

Audited on Apr 4, 2026

No findings