# terrapin-scanner を Homebrew, Nix でインストール

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

## インストール

```sh
sudo av install brew:terrapin-scanner
```

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

### macOS

- Homebrew (100%):

```sh
brew install terrapin-scanner
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#terrapin-scanner
```

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

## パッケージ情報

- **パッケージキー:** brew:terrapin-scanner
- **パッケージマネージャ:** Homebrew
- **バージョン:** 1.1.3
- **ソース概要:** Vulnerability scanner for the Terrapin attack
- **ホームページ:** <https://terrapin-attack.com/>
- **リポジトリ:** <https://github.com/RUB-NDS/Terrapin-Scanner>
- **最終更新:** 2026-07-26T00:50:37+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- Terrapin-Scanner (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

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

Terrapin Vulnerability Scanner is the companion command-line scanner for the Terrapin SSH prefix-truncation attack. The official attack site and repository describe it as a small Go console application that tests whether an SSH server or client offers vulnerable encryption modes and whether strict key exchange countermeasures are present.

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

The scanner was published by the Ruhr University Bochum Network and Data Security group alongside the Terrapin research disclosure. Its narrow purpose is deliberate: it gathers SSH algorithm support in a single connection, avoids full authentication, and does not perform the attack.

### 採用の歴史

Adoption followed the disclosure pattern of a vulnerability-specific operations tool. The project provides release binaries for major desktop platforms, a container image, and Go installation instructions, making it easy for administrators and package maintainers to run quick checks during SSH patch rollouts.

### 使われ方

The CLI is used either in connect mode against an SSH server or in listen mode for testing an SSH client. It can emit JSON, which makes it useful for scripted fleet checks and package-manager users who want a reproducible local scanner rather than a web-based test.

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

For package nerds, terrapin-scanner is a compact example of a research artifact becoming a packaged remediation aid. Its Homebrew and Nix packaging matters less as a general-purpose utility and more as a convenient way to reproduce an official scanner during the short operational window after a protocol vulnerability disclosure.

### タイムライン

- 2024: Terrapin paper scheduled for Real World Crypto, Black Hat USA, and USENIX Security presentations.
- 2024: Official scanner released with prebuilt binaries, Docker image, and Go install path.
- 2024: v1.1.3 listed as latest GitHub release on January 18, 2024.

### Related projects

- The scanner is tied to the Terrapin attack research and to SSH implementations that adopted the strict key exchange countermeasure.

### ソース

- <https://github.com/RUB-NDS/Terrapin-Scanner official README, usage, build, release, and JSON-output notes.>
- <https://terrapin-attack.com/ official attack site and scanner description.>
- source_facts.package-manager lists brew and nix packaging.


## セキュリティノート

escape, surveillance, or offensive capability signal.

- **Geiger リスク:** red / 中
- escape, surveillance, or offensive capability signal

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

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