# ThreatLens

> Python CLI that enriches IPs, domains, URLs, hashes and CVEs across free threat-intel APIs and writes Excel, JSON or CSV reports.

Source: https://osinttools.io/tools/threatlens/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

- **Inputs:** IP address, Domain, URL, File
- **Category:** Threat intelligence
- **Pricing:** Free, open source
- **Footprint:** passive (does not contact the target)
- **Account required:** yes, for full results
- **API:** no public API
- **Platforms:** Python CLI
- **Website:** https://github.com/AbdaullahAG/ThreatLens
- **GitHub:** AbdaullahAG/ThreatLens, 29 stars · Python · Apache-2.0 · last commit 2026-10-28
- **Listed:** Dec 3
- **Last verified by an editor:** Dec 3, 2026

## What it does

ThreatLens is an Apache-licensed command-line tool that looks up indicators in AbuseIPDB, VirusTotal, AlienVault OTX, Shodan, URLScan.io and NVD, plus CISA's Known Exploited Vulnerabilities list and EPSS scores. It takes indicators on the command line or pulls them out of log files (plain text, Zeek, Suricata, Sysmon, JSONL), queries the sources in parallel and gives a verdict per indicator.

Analysts use it to triage suspicious IPs, domains and file hashes without pasting each into several websites, and to keep a local cache, watchlist and history of earlier lookups. Every source except NVD needs a free API key. It can also export to Splunk, Elastic and Sentinel and build a hashed evidence ZIP; it is a recent project from a single maintainer.

Footprint is passive: it reads its own index or third-party records and does not contact the target. An account is needed for full results. There is no public API.

## Features

- IP, domain, URL, hash and CVE lookups
- IOC extraction from Zeek, Suricata and Sysmon logs
- Color-coded Excel, JSON and CSV reports
- Local SQLite cache and watchlist
- Evidence packs with a SHA-256 manifest
- CVE patch or isolate recommendations from KEV and EPSS

## Pros

- One command instead of several lookup sites
- Works on free API tiers
- Privacy modes that limit which providers are queried

## Cons

- Needs free API keys for most sources
- Oriented to SOC triage more than investigations of people
- Single maintainer

## When to use it

- Use it when you have a list of suspicious IPs, domains or hashes and want verdicts from several feeds at once.
- Use it when you need to pull every indicator out of a log file and enrich it in one pass.

## Quick start

Terminal · Python 3.9+:

```
git clone https://github.com/AbdaullahAG/threatlens.git
cd threatlens
pip install -r requirements.txt
cp config/keys.env.example config/keys.env
python main.py -i 45.33.32.156
```

## Alternatives

- [IntelOwl](https://osinttools.io/tools/intelowl/): Self-hosted threat intelligence platform that enriches IPs, domains, URLs, hashes and files through many analyzers. (Open source · IP address, Domain, URL, File · depends · 4,847 GitHub stars)
- [mcp-virustotal (BurtTheCoder)](https://osinttools.io/tools/mcp-virustotal/): Community MCP server for the VirusTotal v3 API that returns file, URL, IP and domain reports with their relationships. (Freemium · File, URL, IP address, Domain · depends · 157 GitHub stars)
- [AlienVault OTX](https://osinttools.io/tools/alienvault-otx/): Free community threat intelligence platform where researchers share indicators in grouped 'pulses'. (Free · IP address, Domain, URL, File · passive)
- [MetaDefender Cloud](https://osinttools.io/tools/metadefender-cloud/): OPSWAT service that scans files with 20+ anti-malware engines and checks hashes, IPs, domains and URLs. (Freemium · File, IP address, Domain, URL · passive)
- [VirusTotal](https://osinttools.io/tools/virustotal/): Google-owned service that checks files, URLs, domains and IPs against many antivirus engines and threat feeds. (Freemium · File, URL, Domain, IP address · depends)
- [OpenCTI](https://osinttools.io/tools/opencti/): Open-source platform for organising cyber threat intelligence as a STIX 2.1 knowledge graph. (Open source · IP address, Domain, URL, File, Email · depends · 10,496 GitHub stars)

All alternatives to ThreatLens in one table: https://osinttools.io/tools/threatlens/alternatives/

## Change history

- 2026-12-03: Listed in the directory.

Feed of changes to ThreatLens: https://osinttools.io/tools/changes/feed.xml?tool=threatlens

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
