# Install spytrap-adb with Homebrew, apt, Nix, pacman

Test a phone for stalkerware and suspicious configuration using usb debugging. Version 0.3.5 via Homebrew; verified from local package data. Also installable with debian: sudo apt install spytrap-adb.

## Install

```sh
sudo av install brew:spytrap-adb
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install spytrap-adb
```

  Evidence: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install spytrap-adb
```

  Evidence: Debian stable package indexes: spytrap-adb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#spytrap-adb
```

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

- pacman (92%):

```sh
sudo pacman -S spytrap-adb
```

  Evidence: Arch Linux sync databases: spytrap-adb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:spytrap-adb
- **Package manager:** Homebrew
- **Version:** 0.3.5
- **Source summary:** Test a phone for stalkerware and suspicious configuration using usb debugging
- **Homepage:** <https://github.com/spytrap-org/spytrap-adb>
- **Repository:** <https://github.com/spytrap-org/spytrap-adb>
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- spytrap-adb (alias)

## Install behavior

- Bottle: not available

## Freshness

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

spytrap-adb is a Rust command-line tool for scanning Android phones for stalkerware indicators and suspicious configuration through adb and USB debugging.

### Project history

The repository was created in 2021. Its README says the tool is based on stalkerware-indicators data provided by Echap and provides both an interactive UI and direct commands for listing devices, downloading indicators of compromise, and scanning a connected device.

### Adoption history

The project publishes GitHub releases and documents installation through Arch Linux, Debian, an external apt repository, precompiled binaries, and source builds. The input package metadata also shows availability through Homebrew, Debian, Nix, and pacman.

### How it is used

Users enable USB debugging, connect the phone, and run `spytrap-adb` interactively or invoke commands such as `spytrap-adb download-ioc` and `spytrap-adb scan`. The README's example output shows checks against known app identifiers and Android accessibility-service settings.

### Why package nerds care

Package maintainers care about spytrap-adb because it turns a sensitive mobile-safety workflow into a reproducible CLI package with Linux distribution packages, Homebrew packaging, and reproducible-build notes. It is a security tool whose usefulness depends on being easy to install on the helper computer, not on the phone being scanned.

### Timeline

- 2021: GitHub repository created.
- 2023: v0.2.0 published on GitHub releases.
- 2025: v0.3.5 published on GitHub releases.

### Related projects

- The README names Echap's stalkerware-indicators data as an input source and lists MVT, the Mobile Verification Toolkit, as similar work.

### Sources

- GitHub API repository and releases metadata for spytrap-org/spytrap-adb, accessed 2026-07-02
- <https://github.com/spytrap-org/spytrap-adb>
- input source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Debian apt - spytrap-adb - 0.3.5-1: normalized package name match | Debian stable package indexes: spytrap-adb from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Test a phone for stalkerware using adb and usb debugging | https://github.com/spytrap-org/spytrap-adb
- Nix - spytrap-adb: normalized package name match | nixpkgs package indexes: pkgs/by-name/sp/spytrap-adb/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - spytrap-adb - 0.3.5-2: normalized package name match | Arch Linux sync databases: spytrap-adb from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Test a phone for stalkerware using adb and usb debugging to scan for suspicious apps and configuration | https://github.com/spytrap-org/spytrap-adb


## Combined YAML source

View the package source record on GitHub. [combined/spytrap-adb.yml](https://github.com/mxcl/pkgdb/blob/main/combined/spytrap-adb.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
