# Install terrapin-scanner with Homebrew, Nix

Vulnerability scanner for the Terrapin attack. Version 1.1.3 via Homebrew; verified 2026-07-26. Also installable with nix: nix profile install nixpkgs#terrapin-scanner.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

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

## Package facts

- **Package key:** brew:terrapin-scanner
- **Package manager:** Homebrew
- **Version:** 1.1.3
- **Source summary:** Vulnerability scanner for the Terrapin attack
- **Homepage:** <https://terrapin-attack.com/>
- **Repository:** <https://github.com/RUB-NDS/Terrapin-Scanner>
- **Last updated:** 2026-07-26T00:50:37+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- Terrapin-Scanner (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 1.1.3
## Project history and usage

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.

### Project history

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 history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

escape, surveillance, or offensive capability signal.

- **Geiger risk:** red / medium
- escape, surveillance, or offensive capability signal

## Other Package-Manager Records

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


## Sources

- 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
