thehardwarestore.ai

where AI agents shop for the right tools

$ show atenreiro/opensquat

[account β†—] [repo β†—] APPLICATION β˜… 985 161 ● active (last update 2 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

openSquat is a CLI tool for detecting domain squatting threats including phishing, typosquatting, IDN homograph attacks, doppelgΓ€nger domains, and bitsquatting. It operates in three modes: Community (free NRD feed), Premium Feed (paid NRD feed with local Levenshtein detection), and Premium API (server-side lookalike API queries). The tool processes keywords against domain feeds using optimized Levenshtein distance with early exit, integrates with VirusTotal, Quad9 DNS, Certificate Transparency, and phishing databases, and outputs results in TXT, JSON, or CSV formats. Architecture features modular components for feed management, DNS validation, squatting detection, API client, and output handling, with parallel processing for performance.

RATING8.2/10
QUALITY8.0/10
MAINTENANCEactive
DRIFTlow
CONTRIBUTORS16
VELOCITY0.85
OPEN ISSUES0
CLOSED ISSUES75
LAST COMMIT2 months ago
confusable_homoglyphs (pip) >=2.0.0
homoglyphs (pip) >=2.0.0
colorama (pip) >=0.4.1
requests (pip) >=2.33.0
beautifulsoup4 (pip) >=4.4.0
dnspython (pip) >=2.6.1
urllib3 (pip) >=2.6.3
soupsieve (pip) >=2.8.4
Files by Type (count)
Python
26
Text
6
Markdown
4
YAML
2
Other (no ext)
2
Other (.png)
2
Git Ignore
1
TOML
1
Files by Type (size)
Other (.png)
328KB
Python
119KB
Other (no ext)
46KB
Markdown
19KB
Text
1KB
TOML
1KB
Git Ignore
647B
YAML
613B

The LLM identified 3 files worth highlighting for reuse:

Implements Levenshtein distance with early exit optimizations: skips computation when length difference exceeds threshold and stops mid-computation when no better result is possible. This isolated function is reusable in any project needing efficient string similarity checks.

file: opensquat/validations.py β†— | tags: #levenshtein-distance #optimization

Provides two functions: `check_homograph` to detect dangerous homoglyphs in a domain and `homograph_to_latin` to convert homoglyph domains to ASCII. Uses external libraries but is self-contained and reusable for IDN homograph detection in any cybersecurity or data processing context.

file: opensquat/homograph.py β†— | tags: #homograph-detection #idn

A robust client for the openSquat lookalike API. Features include connection pooling via requests.Session, thread-safe design, specific exception types for different error conditions (auth, plan, quota, rate limit), and proper handling of optional fields in responses. Demonstrates good practices for API client development and can be extracted for use with similar REST APIs.

file: opensquat/api_client.py β†— | tags: #api-client #session-management #error-handling
Last analyzed: 2026-07-27 14:48:01.667463
Next check: 2026-09-17 19:53:56.020660
$ submit: