macOS
brew install mantralocal Homebrew formula metadata
brew
Tool to hunt down API key leaks in JS files and pages. Version 3.1 via Homebrew; verified 2026-06-15.
install
brew install mantralocal Homebrew formula metadata
nix profile install nixpkgs#mantranixpkgs package indexes · pkgs/by-name/ma/mantra/package.nix · source: api.github.com
overview
Tool to hunt down API key leaks in JS files and pages
history
mantra is a Go command-line security tool for finding API-key leaks in JavaScript files and HTML pages.
The public repository was created in January 2023. Its README describes a tool built in Go whose main objective is to inspect web page source and script files for strings that are identical or similar to API keys.
The project is distributed as a Go install target, source build, and Homebrew formula. Its GitHub topics and README position it for bug bounty, pentest, JavaScript, leaked-secret, and web security workflows.
Users install with `go install github.com/Brosck/mantra@latest` or build from source, then run the `mantra` CLI against pages or JavaScript files to identify possible exposed API keys.
mantra is part of the small, fast Go CLI ecosystem around web reconnaissance and secret scanning, where package-manager availability matters because tools are often chained in scripts.
security posture
narrow executable package without higher-risk signals.
green risk · low confidence · appliance
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
mantra | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/brosck/mantra
install metadata
| Package key | brew:mantra |
|---|---|
| Version | 3.1 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/mantra |
| Homepage | https://amolo.com.br |
| Repository | https://github.com/brosck/mantra |
| Upstream docs | https://github.com/brosck/mantra#readme |
| License | GPL-3.0-only |
| Source archive | https://github.com/brosck/mantra/archive/refs/tags/v3.1.tar.gz |
| Last updated | 2026-06-15T10:20:21-04:00 |
| Pulse | updated |
| Build dependencies | go |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | mantra |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
mantra
nix profile install nixpkgs#mantrasource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.