# 使用 Homebrew, apt, Nix, pacman 安装 spytrap-adb

查看 spytrap-adb 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

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

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

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

  证据: 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
```

  证据: 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
```

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

## 软件包事实

- **软件包键:** brew:spytrap-adb
- **软件包管理器:** Homebrew
- **版本:** 0.3.5
- **来源摘要:** Test a phone for stalkerware and suspicious configuration using usb debugging
- **主页:** <https://github.com/spytrap-org/spytrap-adb>
- **仓库:** <https://github.com/spytrap-org/spytrap-adb>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- spytrap-adb (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 0.3.5
## 项目历史与用法

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

### 项目历史

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.

### 采用历史

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.

### 使用方式

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.

### 为什么软件包爱好者会关心

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.

### 时间线

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

### 来源

- 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


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 其他软件包管理器记录

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


## 来源

- 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
