
ot
com.otinstaller/ot
Install and run open-source OSINT tools in a local sandbox, asking before runs that touch a target.
Documentation
otinstaller
ot is one CLI for open-source OSINT tools. It installs each tool in isolation, keeps it up to date, runs it with your arguments passed straight through, and can run several tools against one target and merge what they find.
$ ot install sherlock maigret socialscan
$ ot run sherlock johndoe
$ ot scan username johndoe
Install
macOS and Linux:
curl -fsSL https://otinstaller.com/install.sh | sh
Windows (PowerShell):
irm https://otinstaller.com/install.ps1 | iex
Both scripts download the build for your platform from otinstaller.com and verify its SHA-256 checksum before installing. OT_VERSION picks a version and OT_INSTALL_DIR the location.
ot self-update moves an installed ot to the newest release. It installs a release only if its checksums.txt is signed with a key built into the copy of ot that is running (internal/sign/keys.go) and the download matches that list; the signature names the version, so the files of an older release cannot be offered as a newer one. Once a day, after a command run in a terminal, ot fetches releases/latest.txt and says so if a newer version exists. That request is the same from every copy and OT_NO_UPDATE_CHECK=1 turns it off.
New tool versions do not wait for a release of ot. The site also publishes the whole registry as registry/index.json, signed with the release key, and ot fetches it at the same times (and when ot mcp starts). A release uses it in place of its built-in manifests when the signature verifies and the index is newer than the commit the release was built from; a copy built from source never does. ot registry update fetches it at once, and ot update then moves installed tools to the new pins. How it works is described in internal/registry/index.go.
With Go 1.27 or newer you can also install from source:
go install github.com/otinstaller/otinstaller/cmd/ot@latest
or build a checkout of this repository:
go build -o bin/ot ./cmd/ot # bin/ot.exe on Windows
Commands
| Command | What it does |
|---|---|
ot list | List every tool. -i shows only installed ones, -c <category> filters, --names prints the names alone and --lock the installed tools with their versions. |
ot search <words> | Find tools by name, category, target kind or description. |
ot info <tool> | Show a tool's details and how it would be installed here. |
ot install [tool[@version]]... | Install tools. With no names it opens a picker. -c <category> installs every tool of one kind, --from <file> the tools a file names and --all everything for this platform. |
ot run <tool> [args] | Run a tool. Everything after the name goes to the tool; ot exits with its exit code. --proxy and --tor go before the name. |
ot scan [kind] <target>... | Run every tool for a username, email address, domain, phone number, IP address or URL and merge the results. |
ot case ... | List, show, compare, export and remove saved scans. |
ot keys ... | Store API keys and pass each one only to the tools that use it. |
ot update [tool]... | Move installed tools to the registry's pinned versions. --latest uses upstream's newest release; --check only reports. |
ot remove <tool>... | Remove tools. |
ot doctor | Check the environment and that every installed tool starts. |
ot self-update | Update ot itself to the newest release. --check only reports; --version <v> installs a named release. |
ot mcp | Serve the tools to an AI agent over the Model Context Protocol. |
ot telemetry [on|off] | See or change what ot mcp reports about its own use. |
ot registry update | Fetch the newest published registry now. |
ot registry check | For contributors: confirm every download a manifest points to exists. |
list, search, info, scan and case take --json. ot completion <shell> prints a completion script that also completes tool, case, key and category names.
The same tools on another machine
$ ot list --lock > tools.txt # on the first machine: sherlock@0.16.2, subfinder@2.17.0, ...
$ ot install --from tools.txt # on the second: the same tools at the same versions
The file holds one tool per line, as a name or as name@version; blank lines and anything after a # are skipped, so a team can keep one in a repository and say what each tool is for. A name without a version installs the version the registry pins. A tool installed as a system package is listed by name alone, because its version is the package manager's choice. --from - reads the list from standard input.
Scanning a target
$ ot scan username johndoe
→ Scanning username johndoe with sherlock, maigret, socialscan
✓ socialscan 2 found 1s
✓ sherlock 124 found 1m0s
✓ maigret 126 found 1m13s
Accounts (208)
SITE URL FOUND BY PROFILE
GitHub https://github.com/johndoe maigret, sherlock John Doe · Berlin
...
The tools run in parallel. A finding reported by several tools is listed once, with all of them named, and findings confirmed by more than one tool come first.
| Kind | Tools | Finds |
|---|---|---|
username | sherlock, maigret, socialscan | profile URLs, plus profile details where a site exposes them |
email | holehe, socialscan | sites the address is registered on |
domain | subfinder, theharvester, dnsx, checkdmarc (dnstwist, httpx, tlsx with --tools) | subdomains, email addresses, IPs, DNS records, SPF, DMARC and DNSSEC, look-alike domains |
phone | phoneinfoga | number format and country, prepared web searches |
ip | dnsx, ipinfo, cdncheck (httpx, tlsx with --tools) | location, network and ASN, reverse DNS, the CDN, cloud or firewall the address belongs to |
url | httpx, tlsx (wafw00f with --tools) | status, page title, web server, technologies, IP addresses, the TLS certificate and the other host names on it |
ot reads the kind from the target's form, so ot scan jane@example.com and ot scan 203.0.113.7 work as they are. Name the kind first when the form is ambiguous: ot scan username john.doe, which would otherwise be read as a domain.
Several targets are scanned one after another, each with the tools for its kind:
$ ot scan johndoe jane@example.com example.com
$ ot scan --file targets.txt --case acme # one target per line; # starts a comment
$ subfinder -d example.com -silent | ot scan --file - --tools dnsx --json
--pivot goes one step further. It also scans the email addresses, IP addresses and related host names the scans found, each with the default tools for its kind, and marks every such scan with the one that led to it. It adds at most 10 targets (--pivot-limit), does not follow what those scans find, and leaves subdomains alone: a domain can have hundreds. Nothing a pivot starts connects to a target.
$ ot scan example.com --pivot --case acme
Useful flags: --tools a,b picks the tools, --timeout 10m sets the per-tool limit, --limit 0 prints every row, --install installs missing tools without asking, --tor or --proxy sends the tools through a proxy.
If a tool fails, times out or changes its output format, the scan says so for that tool and still reports what the others found.
Most scans only look the target up in public sources. httpx, tlsx and wafw00f connect to it, so they are defaults only for a URL, and ot shows the same one-time reminder as for ot run. wafw00f is never a default: it provokes the firewall with requests that look like attacks.
Cases and reports
$ ot scan username johndoe --case acme # save into a case
$ ot scan domain acme.example --case acme
$ ot case show acme
$ ot case export acme -o acme.html # or .md, .json, .csv
$ ot scan email jane@acme.example -o jane.html # one-off report, no case
Cases are JSON files under ~/.ot/cases; nothing is uploaded. The HTML report is a single self-contained file. A report of several scans opens with a summary of them and lists what turned up for more than one target, such as two domains on the same address.
Scan a target into the same case again and ot case diff shows what changed:
$ ot case diff acme # newest scan of each target against the one before
$ ot case diff acme acme.example --baseline # one target, against its first scan
$ ot scan domain acme.example --case acme && ot case diff acme --exit-code # status 1 on a change, for a scheduled job
A finding counts as gone only if a tool that had reported it ran to the end in the newer scan. If that tool failed or was left out, the finding is listed as not compared.
Through a proxy or Tor
--proxy sends the tools' traffic through a proxy, and --tor through the Tor running on your machine: the Tor service on port 9050, or Tor Browser on 9150. ot scan, ot run and ot mcp take both.
$ ot scan johndoe --tor
$ ot scan example.com --proxy socks5h://127.0.0.1:9050
$ ot run --proxy http://127.0.0.1:8080 sherlock johndoe # ot's options go before the tool's name
$ export OT_PROXY=tor # for every run; --proxy= turns it off for one
Tools do not agree on how they take a proxy, and some ignore one. So with a proxy ot starts a tool only if that tool has been checked to send its traffic through it:
- If the proxy does not answer, nothing starts.
- A scan leaves out the tools that would connect directly and says why for each.
ot runrefuses such a tool. - Proxy settings from your own shell are replaced for the tool, and
NO_PROXYis removed.
| Target | Through Tor or a SOCKS5 proxy | Through an HTTP proxy |
|---|---|---|
| username | sherlock, maigret | sherlock, maigret |
| holehe | holehe | |
| domain | subfinder, dnsx, httpx, tlsx | subfinder, httpx |
| ip | dnsx, ipinfo, httpx, tlsx | ipinfo, httpx |
| url | httpx, tlsx, wafw00f | httpx, wafw00f |
| phone | none | none |
The table includes the tools a scan uses only with --tools. Each of these was run against a proxy that logs its requests and against one that refuses them. Every other tool in the registry is unchecked, and ot will not start it through a proxy.
What a proxy does not cover:
- Name lookups. With
socks5h://, which--toruses, a tool hands the name to the proxy where it can. Withsocks5://or an HTTP proxy, some tools look the name up through your own resolver first. tlsx always does. - subfinder's crt.sh source, which connects outside the proxy. It is switched off for the run.
- Tools installed with Docker. They are left out.
- A refused request. A tool that the proxy turns away often reports nothing found, not an error.
- A proxy's password. It reaches the tool on its command line or in its environment, where other programs on the machine can read it.
A copy of holehe installed by an earlier ot lacks the package it needs for SOCKS; ot install holehe --force adds it. A scan saved to a case records that it ran through a proxy, since it may hold less than a direct one.
API keys
Some tools unlock more sources when given an API key in an environment variable.
$ ot keys list # which keys tools can use, and which are set
$ ot keys set NUMVERIFY_API_KEY # prompts without echoing; or pipe the value in
$ ot keys remove NUMVERIFY_API_KEY
ot passes a stored key only to tools whose manifest declares it, and a variable already set in your shell wins. Keys are kept in ~/.ot/keys.json: encrypted for your Windows account with DPAPI on Windows, and in a file readable only by you (mode 0600, not encrypted) on macOS and Linux. Keys are not passed to tools installed with Docker.
AI agents (MCP)
ot mcp is a Model Context Protocol server over stdio. For Claude Code:
claude mcp add ot -- ot mcp
It offers these tools:
| Tool | What it does |
|---|---|
list_tools | Lists the tools ot knows and which are installed. |
scan | Runs the tools for a target and returns the merged findings, with a scan_id. |
run_tool | Runs one installed tool with its own arguments. |
save_to_case | Keeps a scan of this session, by its scan_id, in a case on your machine. |
list_cases, get_case | Read cases back. |
case_changes | Shows what changed between two scans of a target in a case. |
Each tool tells the client whether it only reads, whether it can overwrite anything and whether it reaches the internet, so a client can decide when to ask you first. run_tool carries no reassurance on any of the three. A scan reports each tool as it finishes to a client that asks for progress, and results are also sent as structured data to clients that take it.
Two things are off unless you start it with a flag:
--allow-activelets the agent run tools that send traffic to the target, such as port scanners and crawlers. Without itscanalso leaves httpx, tlsx and wafw00f out, so it cannot scan a URL, and its result names what was left out.--allow-installadds aninstall_tooltool.
--proxy and --tor send everything the agent runs through a proxy. The agent cannot turn that off: scan leaves out the tools that would connect directly and names them in its result, and run_tool refuses them.
run_tool gives the agent each tool's full command line, including options that write files, so treat it like handing the agent a terminal restricted to those tools.
What ot mcp reports
ot mcp reports how it is used, so that we can see which of its tools are worth improving and which fail: the MCP tool that was called, how long it took, whether it failed, the kind of a scan, the registry name of a tool that was run, the agent's name, and the version and system of ot. A report never holds a target, an argument, any output or an error message, and it carries a random id that lasts one conversation and is stored nowhere. Reports go to otinstaller.com, not to a third party's address. No other command reports anything; the daily look-up of the newest version, described under Install, sends nothing about the copy of ot that makes it.
$ ot telemetry # whether reports are on, and exactly what one looks like
$ ot telemetry off # turn them off; OT_TELEMETRY=off or DO_NOT_TRACK=1 does the same
The code is internal/telemetry and observeMCP in internal/cli/telemetry.go. https://otinstaller.com/privacy/ says the same for users.
How tools are installed
Everything lives under ~/.ot (override with OT_HOME).
- GitHub release:
otdownloads the prebuilt binary for your platform and checks its SHA-256 against a hash pinned in the manifest or, failing that, the checksum list published with the release. A mismatch or a missing checksum installs nothing. - uv: Python tools each get their own virtual environment under
~/.ot/uv, separate from your system Python and your ownuvtools. Ifuvis not on yourPATH,otinstalls its own copy first. - Python source: a few tools, such as spiderfoot and recon-ng, are published only as source code.
otdownloads the pinned tag's source archive, checks it against a SHA-256 recorded in the manifest, and gives it its own virtual environment under~/.ot/tools. - System package:
otuses a tool that is already on yourPATH. Otherwise it shows thewinget,brew,apt, ... command and asks before running it.ot removenever uninstalls a system package. - Docker: a fallback for platforms with no native build, chosen with
--method docker.
A checksum from the release itself catches a corrupted or swapped download, not a release that was malicious when upstream published it. Python packages are pinned by version only.
Installed tools also get a launcher in ~/.ot/bin. Add that directory to your PATH to call tools by their own name.
Tools that send traffic to their target print a one-time reminder to scan only systems you are allowed to test.
Tools
66 tools. ot list has the full table; ot search <word> narrows it.
| For | Tools |
|---|---|
| Usernames | sherlock, maigret, socialscan, nexfil, linkook, user-scanner, masto, naminter |
| holehe, ghunt, h8mail, checkdmarc, crosslinked | |
| Phone numbers | phoneinfoga, ignorant |
| Subdomains and DNS | subfinder, amass, findomain, sublist3r, knockpy, chaos, dnsx, alterx, fierce, gobuster, dnstwist, theharvester, bbot |
| Recon frameworks | spiderfoot, recon-ng |
| Web | httpx, katana, cariddi, gau, webanalyze, wafw00f, gowitness, waybackpy, httrack, archivebox |
| Networks and hosts | nmap, naabu, masscan, zmap, tlsx, asnmap, cdncheck, mapcidr, ipinfo, whois, shodan, censys, uncover |
| Social platforms | instaloader, toutatis, twscrape, telepathy |
| Secrets and cloud | gitleaks, trufflehog, s3scanner |
| Files and media | exiftool, xeuledoc, yt-dlp, gallery-dl |
| Dark web | onionsearch, torbot |
naminter, masscan, zmap and archivebox are not available on Windows, and bbot is available on Linux only: one of the libraries it needs publishes no macOS build yet.
Adding a tool
A tool is one YAML manifest. The built-in ones are in internal/registry/manifests; a file in ~/.ot/registry/ adds a tool or overrides a built-in one without rebuilding. CONTRIBUTING.md documents every field.
name: subfinder
description: Fast passive subdomain enumeration from dozens of public sources
homepage: https://github.com/projectdiscovery/subfinder
license: MIT
categories: [domain, subdomain, recon]
inputs: [domain]
version_args: ["-version"] # used by `ot doctor`
install: # in order of preference
- method: github
repo: projectdiscovery/subfinder
version: "2.17.0"
tag_prefix: v
bin: subfinder
checksums: "subfinder_{version}_checksums.txt"
assets:
windows/amd64: "subfinder_{version}_windows_amd64.zip"
linux/amd64: "subfinder_{version}_linux_amd64.zip"
darwin/arm64: "subfinder_{version}_macOS_arm64.zip"
Development
go test ./...
go vet ./...
CI also runs staticcheck for the code of each platform and govulncheck, which reports known vulnerabilities in the modules and in the Go release that go.mod names. When it reports one in the Go release, raise the go line.
Three things guard against a tool changing under ot:
- The parser tests use output captured from the pinned versions, and
FuzzParsersgives every parser input nobody wrote a test for:go test ./internal/scan -run '^$' -fuzz FuzzParsers -fuzztime 2m. go run ./tools/canary -ot ./otruns real scans against targets that are safe to look up, and fails if a tool fails or prints somethingotcannot read.canary.ymlruns both, andgovulncheck, every Monday. A failed run is the notice.
Every tool is pinned to a version. go run ./tools/pins lists the pins that are behind upstream's newest release and -write moves them, keeping each manifest's layout and replacing a pinned SHA-256 with the hash of the new download. pins.yml does this every Monday and opens one pull request; the install test runs on its branch. Opening the pull request needs the repository setting "Allow GitHub Actions to create and approve pull requests".
Go dependencies are deliberately few: cobra for the command line, yaml.v3 for manifests, and golang.org/x/term and x/sys for the terminal and Windows key encryption. The interactive picker, MCP server, exporters and release tooling use only the standard library.
Releases
Releases are built with tools/release, which makes the six platform builds, checksums.txt and its signature, plus Scoop, Homebrew and winget manifests in dist/packaging (not published anywhere yet). The maintainers sign them with the release key and publish them, together with the website and the signed registry index, at otinstaller.com. tools/sitedata prepares what the site is built from; the site itself is kept in a separate repository.
Pushing a tag such as v0.6.0 also runs release.yml, which builds that version again and keeps the files on a GitHub release in this repository as a record. Its archives are a separate build, so their checksums differ from the ones on otinstaller.com; install from otinstaller.com or with ot self-update.
Contributing
Tool manifests, scan adapters, bug reports and fixes are welcome; CONTRIBUTING.md explains how. Please read the code of conduct, and report security problems privately as described in SECURITY.md, not in an issue.
Licence
Apache License 2.0; see LICENSE. The tools ot installs are separate projects with their own licences.
https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_darwin_amd64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_darwin_amd64.mcpbhttps://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_darwin_arm64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_darwin_arm64.mcpbhttps://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_linux_amd64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_linux_amd64.mcpbhttps://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_linux_arm64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_linux_arm64.mcpbhttps://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_windows_amd64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_windows_amd64.mcpbhttps://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_windows_arm64.mcpb# mcpb: https://github.com/OTInstaller/ot/releases/download/v0.16.1/ot_0.16.1_windows_arm64.mcpb