# mantra を Homebrew, Nix でインストール

mantra のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:mantra
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install mantra
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#mantra
```

  証拠: nixpkgs package indexes: pkgs/by-name/ma/mantra/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## パッケージ情報

- **パッケージキー:** brew:mantra
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/mantra>
- **バージョン:** 3.1
- **ソース概要:** Tool to hunt down API key leaks in JS files and pages
- **ホームページ:** <https://amolo.com.br>
- **リポジトリ:** <https://github.com/brosck/mantra>
- **上流ドキュメント:** <https://amolo.com.br>
- **ライセンス:** GPL-3.0-only
- **ソースアーカイブ:** <https://github.com/brosck/mantra/archive/refs/tags/v3.1.tar.gz>
- **最終更新:** 2026-07-29T17:04:50+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- mantra (cli)
- mantra (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 3.1
- マネージャ更新日: 2026-07-29
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/brosck/mantra
- 検出された最新: v3.1 (最新)
## プロジェクトの歴史と使われ方

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.

### タイムライン

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

### ソース

- <https://github.com/brosck/mantra>
- <https://github.com/brosck/mantra#readme>
- <https://github.com/brosck/mantra/releases/tag/v3.1>


## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger リスク:** グリーン / 低
- narrow executable package without higher-risk signals

## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- Nix - mantra: normalized package name match | nixpkgs package indexes: pkgs/by-name/ma/mantra/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## 関連リンク

- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/ja/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/ja/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [detect-secrets](https://pkg.so/ja/brew/detect-secrets/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [kingfisher](https://pkg.so/ja/brew/kingfisher/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [tartufo](https://pkg.so/ja/brew/tartufo/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [gitleaks](https://pkg.so/ja/brew/gitleaks/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [git-secrets](https://pkg.so/ja/brew/git-secrets/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [cariddi](https://pkg.so/ja/brew/cariddi/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [squealer](https://pkg.so/ja/brew/squealer/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.
- [git-hound](https://pkg.so/ja/brew/git-hound/) - Shares pkgdb curated category or tags: cli, secret-scanning, security.

## Combined YAML source

View the package source record on GitHub. [combined/mantra.yml](https://github.com/mxcl/pkgdb/blob/main/combined/mantra.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
