☰ Menu
CLI Open source 1 installs/mo

mantra for Mac

mantra

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

mantra — overview

「?」 About Mantra

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:

From source code:

Results

Firebase API Key Leak:

Buy me a coffee?

Details

用于追踪 JS 文件和页面中 API 密钥泄露的工具

How to install mantra

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2025-08-06; current version v3.1, with the latest 4 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v3.12025-08-06Stable———Download
v2.02024-04-01Stable———Download
v.1.12023-05-20Stable6.5 MBDownloadDownloadDownload
v1.02023-03-07Stable——DownloadDownload

Data from GitHub Releases; stable releases first, each group sorted newest first.

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
mantrav3.1GPL-3.0-onlyCLI1
flickcurl1.26GPL-2.0-or-later OR LGPL-2.1-or-laterCLI0
fsevents-tools1.0.0Apache-2.0CLI1
glbindingv3.5.0MITCLI1

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…