> cat /dev/github | grep security-tools
discovered 30 Mar 2026

opensquat

Python β˜… 942 via github-topic
β†’ View on GitHub

AI Summary: openSquat is an open-source intelligence (OSINT) tool designed to identify cyber squatting threats against brands or domains. It leverages advanced detection techniques, such as similarity detection using the Levenshtein distance algorithm, and integrates with services like VirusTotal for domain reputation checks. Key features include daily updates on newly registered domains, DNS validation, and multiple output formats, enhancing its utility for security professionals monitoring potential domain-related threats.


README

openSquat Logo

openSquat Core

Python 3.8+ License: GPL v3 GitHub issues GitHub stars


πŸ“‘ Table of Contents


🎯 What is openSquat?

openSquat is an Open Source Intelligence (OSINT) security tool that identifies cyber squatting threats targeting your brand or domains:

Threat TypeDescription
🎣 PhishingFraudulent domains mimicking your brand
πŸ”€ TyposquattingDomains with common typos (e.g., gooogle.com)
🌐 IDN HomographLook-alike characters from other alphabets
πŸ‘₯ DoppelgΓ€ngerDomains containing your brand name
πŸ”€ BitsquattingSingle-bit errors in domain names

πŸ”“ Open-Core Model

openSquat follows an open-core model:

  • Core detection engine β€” Open source and community-driven
  • Advanced capabilities β€” Delivered through commercial intelligence services

This model enables transparency and community collaboration while supporting the scale, reliability, and operational requirements of enterprise use.


✨ Key Features

  • πŸ“… Daily NRD feeds β€” Automatic newly registered domain updates
  • πŸ” Similarity detection β€” Levenshtein distance algorithm
  • πŸ›‘οΈ VirusTotal integration β€” Check domain reputation
  • 🌐 Quad9 DNS validation β€” Identify malicious domains
  • πŸ“œ Certificate Transparency β€” Monitor SSL/TLS certificates
  • πŸ“Š Multiple output formats β€” TXT, JSON, CSV

πŸš€ Quick Start

pip install opensquat
opensquat -k keywords.txt

Or clone the repository

git clone https://github.com/atenreiro/opensquat
cd opensquat
pip install -r requirements.txt
python opensquat.py -k keywords.txt

πŸ“¦ Requirements

  • Python 3.8+
  • Dependencies: confusable_homoglyphs, homoglyphs, colorama, requests, dnspython, beautifulsoup4

πŸ“– Usage

Basic Commands

# Default run
opensquat

# Show all options
opensquat -h

# Use custom keywords file
opensquat -k my_keywords.txt

Validation Options

# DNS validation via Quad9
opensquat --dns

# Check Certificate Transparency logs
opensquat --ct

# Scan for open ports (80/443)
opensquat --portcheck

# Cross-reference phishing databases
opensquat --phishing results.txt

Output Formats

# Save as JSON
opensquat -o results.json -t json

# Save as CSV
opensquat -o results.csv -t csv

Confidence Levels

LevelFlagDescription
0-c 0Very high (fewer results, high accuracy)
1-c 1High (default)
2-c 2Medium
3-c 3Low
4-c 4Very low (more results, more false positives)

βš™οΈ Configuration

Keywords File (keywords.txt)

# Lines starting with # are comments
mycompany
mybrand
myproduct

VirusTotal API Key (vt_key.txt)

To use --vt or --subdomains, add your API key:

# Get your free API key at https://www.virustotal.com
your_api_key_here

πŸ€– Automation

Run daily via crontab:

# Every day at 8 AM (feeds update ~7:30 AM UTC)
0 8 * * * /path/to/opensquat/opensquat.py -k keywords.txt -o results.json -t json

πŸ“‹ CLI Reference

ArgumentDefaultDescription
-k, --keywordskeywords.txtKeywords file to search
-o, --outputresults.txtOutput filename
-t, --typetxtOutput format: txt, json, csv
-c, --confidence1Confidence level (0-4)
-d, --domainsβ€”Use local domain file instead of downloading
-u, --urlopensquat feedURL to download domain feed
--dnsβ€”Enable Quad9 DNS validation
--doppelgangerβ€”Doppelganger-only mode (keyword in domain + reachability check)
--ctβ€”Search Certificate Transparency logs
--phishingβ€”Cross-reference phishing database
--subdomainsβ€”Fetch subdomains via VirusTotal
--portcheckβ€”Check for open ports 80/443
--vtβ€”Validate against VirusTotal

🀝 Contributing

We welcome contributions! See our Contributing Guide for details.

  • πŸ› Report bugs via GitHub Issues
  • πŸ’‘ Request features by opening an issue
  • πŸ”§ Submit PRs for bug fixes or enhancements

πŸ‘€ Author

Andre Tenreiro β€” LinkedIn Β· PGP Key


πŸ“œ License

This project is licensed under the GNU GPL v3.