- 840+ platforms scanned asynchronously in seconds
- ML + heuristic detection — a trained model blended with 25 structural signals (HTTP status, DOM shape, keywords, fingerprints) instead of naive status-code checks
- Modern terminal UI — live progress, sorted result tables, summary panels (powered by rich)
- Proxy & Tor support —
--proxy socks5://...or just--tor - Site filtering —
--site github,reddit,--exclude-site,--no-nsfw - Self-check —
aliens_eye selfcheckvalidates detection accuracy against accounts known to exist - Retrainable — collect your own labeled dataset and retrain the model with
aliens_eye train - Reports in JSON, CSV, HTML, and Markdown
- Playwright fallback for JavaScript-heavy pages (optional extra)
pip install aliens-eyeOptional extras:
pip install "aliens-eye[browser]" # Playwright fallback for hard pages
python -m playwright install chromium
pip install "aliens-eye[train]" # scikit-learn, for retraining the ML modelOr with Docker:
docker build -t aliens-eye .
docker run --rm -it aliens-eye usernameFrom source:
git clone https://github.com/arxhr007/Aliens_eye.git
cd Aliens_eye
pip install -e .# Interactive prompts
aliens_eye
# Single username
aliens_eye username
# Multiple usernames
aliens_eye username1 username2
# Advanced scan level (prefix/suffix variations)
aliens_eye username -l advanced
# Only scan specific sites
aliens_eye username --site github,reddit,gitlab
# Skip NSFW sites
aliens_eye username --no-nsfw
# Route through Tor (needs a local Tor daemon)
aliens_eye username --tor
# Any HTTP or SOCKS proxy
aliens_eye username --proxy socks5://127.0.0.1:1080
# Export everything
aliens_eye username --format all --output results
# Heuristics only, no ML
aliens_eye username --no-ml
# Non-interactive preset: quick / full / aggressive
aliens_eye username --profile quick
# Plain output for scripts and CI (no colors/progress)
aliens_eye username --plain
# View results from a previous scan
aliens_eye -r results/username_advanced_20260611_120000.json
# Validate detection accuracy against known accounts
aliens_eye selfcheckEvery response is converted into a 25-dimensional feature vector: HTTP status buckets, username placement (path/title/meta), error and profile keywords, DOM structure (images, forms, profile/error CSS classes), response timing, redirect counts, and per-site fingerprint matches learned from previous scans.
Two judges then vote:
- Heuristic engine — weighted scoring over the features
- ML model — logistic regression trained on labeled scans of real (and deliberately fake) accounts, shipped with the package and running in pure Python (no sklearn needed at runtime)
The blended probability maps to Found / Maybe / Not Found with a confidence percentage. If a model file is missing or invalid, the scanner silently falls back to heuristics.
pip install "aliens-eye[train]"
# 1. Scan ground-truth accounts + random non-existent usernames to build a dataset
aliens_eye train collect --out dataset.csv --negatives 4
# 2. Fit and export the model
aliens_eye train fit --data dataset.csv --out model.json
# 3. Use it
aliens_eye username --model model.jsonAliens Eye merges a JSON config file with CLI flags (CLI wins). Search order without --config: ./config.json, then the platform config dir (e.g. ~/.config/aliens_eye/config.json on Linux, %LOCALAPPDATA%\aliens_eye on Windows).
{
"concurrent": 50,
"timeout": 10.0,
"retries": 2,
"rate_limit_delay": 0.2,
"output_dir": "results",
"output_formats": ["json", "csv", "html", "md"],
"use_playwright": false,
"proxy": null,
"use_ml": true,
"exclude_nsfw": false,
"level": "basic"
}Results are saved with timestamped filenames:
username_level_YYYYMMDD_HHMMSS.json— full detail including per-site feature analysis.csv— flat rows for spreadsheets.html— styled standalone report.md— Markdown summary of Found/Maybe hits
The package lives under src/aliens_eye/: core/ (scanner, detector, analyzer, http, exporter, fingerprints), ml/ (inference, training, dataset collection), utils/ (rich console layer), and data/ (sites.json, trained model, ground-truth sets). For internals and flowcharts, see WORKING.md.
Issues and PRs welcome — adding sites to src/aliens_eye/data/sites.json, expanding the ground-truth set in selfcheck.json, or improving the model all directly improve detection. Run pytest and ruff check src tests before submitting.
This tool is for educational purposes and legitimate OSINT research only. You are responsible for complying with laws and site terms of service.

