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

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

## インストール

```sh
sudo av install brew:badkeys
```

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

### macOS

- Homebrew (100%):

```sh
brew install badkeys
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#badkeys
```

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

## パッケージ情報

- **パッケージキー:** brew:badkeys
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.0.19
- **ソース概要:** Tool to find common vulnerabilities in cryptographic public keys
- **ホームページ:** <https://badkeys.info>
- **リポジトリ:** <https://github.com/badkeys/badkeys>
- **最終更新:** 2026-06-17T09:59:35Z
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- badkeys (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.0.19
## プロジェクトの歴史と使われ方

badkeys is a Python tool and library for checking cryptographic public keys against known vulnerability patterns and blocklist data. It sits in the practical security-tooling niche between certificate/key parsers and vulnerability scanners.

### プロジェクトの歴史

The badkeys GitHub repository was created in January 2022. Its README says the tool checks public keys in multiple formats for known vulnerabilities, with a public web version at badkeys.info.

The README credits Hanno Boeck as author, says the work was initially funded in 2022 through the CIDI project and CISAT at the IT University of Copenhagen, and notes later 2025/2026 support from NLnet's NGI0 Core Fund.

### 採用の歴史

The project is distributed through PyPI and appears in Homebrew and Nix in the batch package metadata. The README also points users to Repology for distribution packages, suggesting upstream expected operating-system packaging beyond Python-only installation.

Release names show the project expanding its checks over time, including DKIM support in 2024, parser robustness and return-code improvements in 2026, and a 'Post-Quantum Edition' release in June 2026.

### 使われ方

badkeys users first download blocklist data with badkeys --update-bl, then scan key, certificate, CSR, SSH public key, TLS host, or SSH host material. The README documents return codes that distinguish application errors, parser problems, and vulnerable keys.

Its command-line use is intentionally automation-friendly: quiet output when no vulnerable keys are found, an all-keys output flag for audits, and bitmask return codes for CI or batch scans.

### パッケージ好きにとっての重要性

badkeys is package-nerd relevant because it turns a pile of cryptographic failure cases into a reusable CLI and library with data updates. Packaging it gives security teams a repeatable way to scan public keys without copying ad hoc scripts around.

It also illustrates a modern security package pattern: a small Python CLI, external vulnerability/blocklist data, optional network scanning modes, and package-manager availability for workstation and CI installation.

### タイムライン

- 2022: Public GitHub repository created and initial CIDI/CISAT funding period described by upstream.
- 2024: v0.0.7 and v0.0.9 releases published; v0.0.9 added DKIM support.
- 2025: Upstream README notes NLnet NGI0 Core Fund support across 2025/2026.
- 2026: v0.0.19 'Post-Quantum Edition' released.

### Related projects

- badkeys is adjacent to OpenSSL, SSH host-key audit tooling, TLS scanners, DKIM key checking, and certificate linting tools.
- The README notes Paramiko as an optional dependency for SSH scanning.

### ソース

- <https://badkeys.info/>
- <https://github.com/badkeys/badkeys>
- <https://github.com/badkeys/badkeys/releases>
- <https://pypi.org/project/badkeys/>
- source_facts.package-manager


## セキュリティノート

badkeys に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。


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

- Nix - badkeys: normalized package name match | nixpkgs package indexes: pkgs/by-name/ba/badkeys/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/badkeys.yml](https://github.com/mxcl/pkgdb/blob/main/combined/badkeys.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
