# 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
- **Package manager page:** <https://formulae.brew.sh/formula/spytrap-adb>
- **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>
- **Upstream docs:** <https://github.com/spytrap-org/spytrap-adb#readme>
- **License:** GPL-3.0-or-later
- **Source archive:** <https://github.com/spytrap-org/spytrap-adb/releases/download/v0.3.5/spytrap-adb-0.3.5.tar.gz>
- **Generated:** 2026-07-25T07:20:51+00:00

## Executables

- spytrap-adb (cli)
- spytrap-adb (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Caveats: At runtime, adb must be accessible from your PATH. You can install adb from Homebrew Cask: brew install --cask android-platform-tools
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-25
- Package-manager version: 0.3.5
- Local data: ok
- Upstream repository: https://github.com/spytrap-org/spytrap-adb
- info: No package-manager update timestamp was available.
- info: No cached GitHub release or tag data was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** spytrap-adb
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [apkleaks](https://www.automicvault.com/pkg/brew/apkleaks/) - Shares av.db curated category or tags: android, cli, mobile-security, security.
- [jadx](https://www.automicvault.com/pkg/brew/jadx/) - Shares av.db curated category or tags: android, cli, security.
- [acme.sh](https://www.automicvault.com/pkg/brew/acme-sh/) - Shares av.db curated category or tags: cli, security.
- [aescrypt](https://www.automicvault.com/pkg/brew/aescrypt/) - Shares av.db curated category or tags: cli, security.
- [aespipe](https://www.automicvault.com/pkg/brew/aespipe/) - Shares av.db curated category or tags: cli, security.
- [afflib](https://www.automicvault.com/pkg/brew/afflib/) - Shares av.db curated category or tags: cli, security.
- [afl++](https://www.automicvault.com/pkg/brew/afl/) - Shares av.db curated category or tags: cli, security.
- [age](https://www.automicvault.com/pkg/brew/age/) - Shares av.db curated category or tags: cli, security.
- [aws-spiffe-workload-helper](https://www.automicvault.com/pkg/brew/aws-spiffe-workload-helper/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, security, using.

## Combined YAML source

View the package source record on GitHub. [combined/spytrap-adb.yml](https://github.com/automic-vault/db/blob/main/combined/spytrap-adb.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
