# Install shodan with Homebrew

Python library and command-line utility for Shodan. Version 1.31.0 via Homebrew; verified 2026-07-12.

## Install

```sh
sudo av install brew:shodan
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install shodan
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:shodan
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/shodan>
- **Version:** 1.31.0
- **Source summary:** Python library and command-line utility for Shodan
- **Homepage:** <https://cli.shodan.io>
- **Repository:** <https://github.com/achillean/shodan-python>
- **Upstream docs:** <https://cli.shodan.io>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/c5/06/c6dcc975a1e7d89bc764fd271da8138b318e18080b48e7f1acd2ab63df28/shodan-1.31.0.tar.gz>
- **Last updated:** 2026-07-12T23:29:50+09:00
- **Generated:** 2026-08-04T22:13:35+00:00

## Executables

- shodan (cli)
- shodan (alias)

## Dependencies

- certifi
- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-08-04
- Package-manager version: 1.31.0
- Package-manager updated: 2026-07-12
- Local data: ok
- Upstream repository: https://cli.shodan.io
- info: Release/tag comparison is only available for GitHub repositories.

## Security Notes

No matching local secret-handling manifest was found for shodan. Package metadata is still published here so future coverage has a stable package URL.



## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Credential files

- Unix: ~/.shodan/api_key, $XDG_CONFIG_HOME/shodan/api_key, ~/.config/shodan/api_key
## Source Database Details

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


## Related links

- [Terminal utility packages](https://pkg.so/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://pkg.so/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [python@3.14](https://pkg.so/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [recon-ng](https://pkg.so/brew/recon-ng/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [subfinder](https://pkg.so/brew/subfinder/) - Shares pkgdb curated category or tags: cli, osint, security.
- [sherlock](https://pkg.so/brew/sherlock/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [amass](https://pkg.so/brew/amass/) - Shares pkgdb curated category or tags: cli, osint, security.
- [theharvester](https://pkg.so/brew/theharvester/) - Shares pkgdb curated category or tags: cli, osint, security.
- [pwntools](https://pkg.so/brew/pwntools/) - Shares pkgdb curated category or tags: cli, python, security.
- [maigret](https://pkg.so/brew/maigret/) - Shares pkgdb curated category or tags: cli, osint, python, security.
- [bandit](https://pkg.so/brew/bandit/) - Shares pkgdb curated category or tags: cli, python, security.
- [censys](https://pkg.so/brew/censys/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, command-line, intelligence, internet.
- [bbot](https://pkg.so/brew/bbot/) - Both packages touch the same language runtime or ecosystem. Shared terms: certifi, cli, osint, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/shodan.yml](https://github.com/mxcl/pkgdb/blob/main/combined/shodan.yml)


## Sources

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
