# 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
- **バージョン:** 3.1
- **ソース概要:** Tool to hunt down API key leaks in JS files and pages
- **ホームページ:** <https://amolo.com.br>
- **リポジトリ:** <https://github.com/brosck/mantra>
- **最終更新:** 2026-07-29T17:04:50+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- mantra (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 3.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

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

- 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


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
