# Install shodan with Homebrew

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

## 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://help.shodan.io/command-line-interface/1-getting-started>
- **License:** MIT
- **Source archive:** <https://files.pythonhosted.org/packages/c5/06/c6dcc975a1e7d89bc764fd271da8138b318e18080b48e7f1acd2ab63df28/shodan-1.31.0.tar.gz>
- **Last updated:** 2026-05-14T11:30:24Z
- **Generated:** 2026-07-08T18:08:21+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-07-08
- Package-manager version: 1.31.0
- Package-manager updated: 2026-05-14
- 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. Nucleus 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://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter 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.
- [python@3.14](https://www.automicvault.com/pkg/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [recon-ng](https://www.automicvault.com/pkg/brew/recon-ng/) - Shares av.db curated category or tags: cli, osint, python, security.
- [amass](https://www.automicvault.com/pkg/brew/amass/) - Shares av.db curated category or tags: cli, osint, security.
- [bandit](https://www.automicvault.com/pkg/brew/bandit/) - Shares av.db curated category or tags: cli, python, security.
- [bbot](https://www.automicvault.com/pkg/brew/bbot/) - Shares av.db curated category or tags: cli, osint, security.
- [censys](https://www.automicvault.com/pkg/brew/censys/) - Shares av.db curated category or tags: cli, internet-intelligence, security.
- [favirecon](https://www.automicvault.com/pkg/brew/favirecon/) - Shares av.db curated category or tags: cli, osint, security.
- [maigret](https://www.automicvault.com/pkg/brew/maigret/) - Shares av.db curated category or tags: cli, osint, python, security.
- [pdfalyzer](https://www.automicvault.com/pkg/brew/pdfalyzer/) - Shares av.db curated category or tags: cli, python, security.

## Combined YAML source

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


## Sources

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