The repository or configuration that created this release differ from a previous release. View details.
AI-powered OSINT username scanner across 800+ social media and web platforms
pip install aliens-eye==2.8.0 Copy PIP instructions
lxask is a Linux command assistant that runs entirely on your own machine: describe what you want in plain English and it suggests the command. No API key, no cloud, about 1 GB on disk, no GPU. If you find Aliens Eye useful, a ⭐ on lxask helps a lot.
To hide the gold box about it under the Aliens Eye banner, set ALIENS_EYE_NO_PROMO=1.
Power your web scraping and data collection with Swiftproxy — a residential proxy provider offering rotating and static residential proxies for reliable, efficient data access.
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 model pip install "aliens-eye[correlate]" # Pillow, for avatar-image matching in --correlate pip install "aliens-eye[pdf]" # reportlab, for --format pdf pip install "aliens-eye[tui]" # textual, for the interactive `tui` browser pip install "aliens-eye[serve]" # mcp, for the `serve` MCP server Or with Docker:
docker build -t aliens-eye . docker run --rm -it aliens-eye username From source:
git clone https://github.com/arxhr007/Aliens_eye.git cd Aliens_eye pip install -e . Usage # 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 # The report as JSON on stdout, one line per username; the banner, progress and summary go to stderr aliens_eye username --json-stdout | jq '.variations[].sites | to_entries[] | select(.value.status == "Found") | .value.url' # Only Found/Maybe sites in the report (the counts still cover every site scanned) aliens_eye username --json-stdout --only-found # View results from a previous scan aliens_eye -r results/username_advanced_20260611_120000.json # Correlate hits into "likely same person" clusters + check domains aliens_eye username --correlate --domains # Follow linked usernames out of found bios and re-scan them aliens_eye username --recurse-depth 1 # Export a graph of the results (import into Gephi / Maltego / Mermaid) aliens_eye username --correlate --format gexf,mermaid,maltego # Investigator PDF with embedded avatars aliens_eye username --format pdf # Watch for changes every 6 hours and POST them to a webhook aliens_eye username --watch 6h --notify https://hooks.example/aliens # Resume an interrupted scan aliens_eye username --resume scan.jsonl # Compare two saved reports aliens_eye diff results/old.json results/new.json # Validate detection accuracy (precision / recall / F1 per site) aliens_eye selfcheck --negatives 2 --report json # Record a frozen response corpus, then evaluate against it reproducibly aliens_eye corpus record --out corpus/v1 --split all --negatives 4 aliens_eye corpus stats corpus/v1 aliens_eye selfcheck --split holdout --corpus corpus/v1 --report json # Compare detector configurations over that corpus, with confidence intervals aliens_eye eval ablate --corpus corpus/v1 --split holdout # Compare against Sherlock / Maigret / WhatsMyName rules (fetch their data yourself) aliens_eye eval external --corpus corpus/v1 --sherlock data.json --whatsmyname wmn-data.json # Rebuild the ground-truth splits from those projects account lists aliens_eye eval groundtruth --sherlock data.json --whatsmyname wmn-data.json # Interactively label uncertain hits into a training set aliens_eye label results/username_basic_20260611_120000.json --out labeled.csv # Interactive terminal browser (needs [tui]) aliens_eye tui username # Run the MCP server for LLM agents (needs [serve]) aliens_eye serve Custom platforms: drop a { "site_name": "https://site/{}" } JSON file into ./sites.d/ (or the user config dir's sites.d/) and it is merged automatically; --sites-dir DIR adds another location.
The default 854-entry catalog remains unchanged. The opt-in expanded catalog contains 8,587 enabled definitions, combining the pinned Maigret database with unique, valid standard-catalog templates. These are supported definitions, not a claim of 8,587 currently working or independently verified platforms.
aliens_eye sites stats --catalog extended aliens_eye sites validate --catalog extended aliens_eye sites list --catalog extended --tag coding aliens_eye your_handle --catalog extended --tag coding --no-nsfw --explain The expanded catalog preserves engine rules, separate public-profile/API-probe URLs, username constraints, tags, aliases, disabled entries, upstream revision, file hashes, and MIT notices. Its manifest records 681 disabled definitions, 112 excluded entries and 443 duplicate-template merges. Disabled and excluded definitions are not scanned. Filters can match aliases; --source maigret, --source sherlock, or --source aliens-eye selects a source when present. Use filters before starting a broad scan: the extended catalog makes many more requests than the standard catalog.
Local imports do not download data or execute upstream code. They inspect by default; --out writes a new file and refuses to overwrite an existing one:
aliens_eye sites import --maigret path/to/maigret/resources/data.json --with-standard --out imported-sites.json aliens_eye sites import --sherlock path/to/sherlock_project/resources/data.json --out sherlock-sites.json aliens_eye your_handle --sites imported-sites.json --explain Use --maigret-revision / --sherlock-revision to record the reviewed source revision. The recorded SHA-256 identifies the supplied file; it does not prove that an arbitrary file came from the named project. Review upstream terms and import exclusions before distributing a new snapshot.
The initial adapter supports public GET requests. Authentication/activation, credential-bearing headers, POST payloads, unsupported identifier types, ambiguous username searches, unsupported regexes and malformed templates are excluded rather than silently treated as supported. Probe requests validate public destinations and redirects; custom headers are not forwarded across origins. Imported definitions do not use browser fallback. Proxy-side DNS remains a trust boundary, as with other proxy-enabled fetches.
For HTML, site evidence complements the existing ML/heuristic detector. Conflicting markers or rule/model disagreement remain uncertain. Public JSON probes require an explicit matching username and rule evidence; the HTML model is not presented as a calibrated JSON classifier. An unavailable or positive negative-control response cannot confirm an imported hit. --no-control-check explicitly disables that safeguard. Results retain the public profile URL and record probe/rule/provenance details under ai_analysis.
HTML detection uses a 30-dimensional feature vector: HTTP status buckets, username placement (path/title/meta/canonical), error and profile keywords, DOM structure (images, forms, profile/error CSS classes), structured-data signals (og:type, JSON-LD Person), response timing, redirect counts, and, in the legacy scan path, per-site fingerprint matches learned from previous scans.
The blended probability maps to Found / Maybe / Not Found with a confidence percentage. The loaded model supplies both the blend weight and the thresholds — the shipped model uses 0.9 * ml + 0.1 * heuristic, Found above 0.620, Not Found below 0.360. If a model file is missing or invalid, the scanner silently falls back to heuristics with the defaults in core/detector.py (0.4 ML weight, 0.6 / 0.35 thresholds). See WORKING.md for the full table.
A Found then has to survive three checks, because a page is scored on how profile-like it looks and error pages, challenge pages and empty JavaScript shells can look the part:
Treat Found/Maybe as leads to verify, not as findings or proof of identity. The shipped model was fit on 1,455 samples and is unchanged by the catalog expansion. Archived benchmark results describe particular captured responses, not current live accuracy. Historical splits used site names, and aliases such as chess / chess.com cross that boundary; older “unseen platform” claims therefore need qualification. New training collection excludes holdout host groups, and new grouped cross-validation keeps aliases together. Source-provided account labels still require independent review.
pip install "aliens-eye[train]" # 1. Scan ground-truth accounts + random non-existent usernames to build a dataset # (reads the train split only; the eval holdout is never touched) 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. Score it on platforms it never trained on aliens_eye selfcheck --split holdout --model model.json --report json # 4. Use it aliens_eye username --model model.json The stored ground-truth files contain 286 train and 142 holdout site-name entries, not that many independent platforms. New collection protects holdout host groups and records site, site_group, label_source and split alongside features. Scoring --split train measures fit, not generalization.
Reuse a locally captured corpus without network access:
aliens_eye train collect --corpus corpus --out grouped-dataset.csv aliens_eye train fit --data grouped-dataset.csv --out candidate-model.json --max-fpr 0.02 Training fits scalers inside each fold, uses grouped folds when provenance is available, and selects blend weights/thresholds from nested out-of-fold predictions. --max-fpr constrains calibration-set false positives; it is not a guarantee for unseen sites. Legacy feature-only CSVs remain readable but are explicitly labeled row-stratified-legacy, not unseen-site validation. Selection CV F1 is not an independent test score. Compare candidate precision and recall on a separate holdout before replacing the shipped model.
This trainer remains an HTML model trainer: JSON/API feature-model training requires a separately labeled corpus and is not simulated by feeding JSON to the HTML classifier. Maigret external evaluation now expands its nested engines and matches endpoint templates. Missing API-probe captures or incompatible request policies are reported as unsupported/undecided, not borrowed from profile pages or fetched live.
aliens_eye.api is the stable surface for building other tools on Aliens Eye. It returns plain dicts shaped like the JSON report and prints nothing by default.
import asyncio from aliens_eye import api async def main(): sites = api.load_sites(exclude_nsfw=True) report = await api.scan( "someone", sites=sites, on_result=lambda user, r: print(r["site"], r["status"]), # optional progress hook ) correlation = await api.correlate(report) print(len(correlation["clusters"]), "clusters") asyncio.run(main()) For expanded scans, pass the metadata-carrying mapping through unchanged:
sites = api.load_sites(catalog="extended", tags=["coding"], exclude_nsfw=True) report = await api.scan("your_handle", sites=sites) The mapping still exposes {site: URL template}. Converting it with dict() or serializing only that URL view discards its rule metadata; use the versioned catalog file for portable structured definitions. Replacing a URL in the mapping removes stale probe rules for that entry.
api.match_profile_url("https://www.instagram.com/_someone_/") # [ProfileMatch(site='instagram', username='_someone_')] page = await api.fetch_page("https://example.com/") # public http(s) addresses only Everything outside aliens_eye.api is internal and may change between minor releases.
Aliens 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" } Outputs Results are saved with timestamped filenames:
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. See CONTRIBUTING.md for setup, checks, and how detection changes are measured, and CODE_OF_CONDUCT.md for community standards.
This tool is for educational purposes and legitimate OSINT research only. You are responsible for complying with laws and site terms of service.
osint recon scanner security social-media username
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
We recommend inspecting the repository and configuration before proceeding. View details.
This file belongs to a release with changed provenance: the repository or configuration that created the release files differ from that of a previous release.
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 7, 2026.
The configuration that created this release differs from a previous release.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
We recommend inspecting the configuration before proceeding. Learn more.
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.
Nov 7, 2026 2 release files Change of provenance
Oct 25, 2026 2 release files Change of provenance
Oct 20, 2026 2 release files Change of provenance
Oct 8, 2026 2 release files Change of provenance
Jul 16, 2026 2 release files Change of provenance




