Automic VaultAutomic Vault

brew

Install mantra with Homebrew, Nix

Tool to hunt down API key leaks in JS files and pages. Version 3.1 via Homebrew; verified 2026-06-15.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install mantra

local Homebrew formula metadata

Linux

Nixverified · 92%
nix profile install nixpkgs#mantra

nixpkgs package indexes · pkgs/by-name/ma/mantra/package.nix · source: api.github.com

overview

Package summary

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

Commands and aliases

  • mantra

history

Project history and usage

mantra is a Go command-line security tool for finding API-key leaks in JavaScript files and HTML pages.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2023: Public GitHub repository created.
  • 2023: v1.0 release published.
  • 2024: v2.0 release published.
  • 2025: v3.1 release published.

Related projects

  • The README does not name direct related projects; it fits the broader secret-scanning and web reconnaissance tool category.

security posture

Risk level: green

narrow executable package without higher-risk signals.

Risk classifier

green risk · low confidence · appliance

Why

  • narrow executable package without higher-risk signals

Signals

  • metadata:no-higher-risk-signals

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 8 platform targets.
  • Build metadata lists 1 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
mantracliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version3.1
manager updated2026-06-15
local dataok
upstreamcurrent
latest detectedv3.1

https://github.com/brosck/mantra

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:mantra
Version3.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/mantra
Homepagehttps://amolo.com.br
Repositoryhttps://github.com/brosck/mantra
Upstream docshttps://github.com/brosck/mantra#readme
LicenseGPL-3.0-only
Source archivehttps://github.com/brosck/mantra/archive/refs/tags/v3.1.tar.gz
Last updated2026-06-15T10:20:21-04:00
Pulseupdated
Build dependenciesgo
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namemantra
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Nix95%

mantra

nix profile install nixpkgs#mantra
  • normalized package name match
  • Matched by: Mantra
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ma/mantra/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment