{"id":47188915,"url":"https://github.com/vmfunc/gh-os","last_synced_at":"2026-03-14T11:01:08.180Z","repository":{"id":342812444,"uuid":"1175267758","full_name":"vmfunc/gh-os","owner":"vmfunc","description":"github OSINT PII scanner. enumerate emails and identifying info from any github account","archived":false,"fork":false,"pushed_at":"2026-03-07T13:29:00.000Z","size":7,"stargazers_count":10,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-03-07T19:48:51.025Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmfunc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-07T13:27:48.000Z","updated_at":"2026-03-07T18:52:23.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/vmfunc/gh-os","commit_stats":null,"previous_names":["vmfunc/gh-os"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/vmfunc/gh-os","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmfunc%2Fgh-os","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmfunc%2Fgh-os/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmfunc%2Fgh-os/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmfunc%2Fgh-os/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmfunc","download_url":"https://codeload.github.com/vmfunc/gh-os/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmfunc%2Fgh-os/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30465435,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-13T06:34:02.089Z","status":"ssl_error","status_checked_at":"2026-03-13T06:33:49.182Z","response_time":60,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2026-03-13T10:33:24.183Z","updated_at":"2026-03-13T10:33:24.758Z","avatar_url":"https://github.com/vmfunc.png","language":"Python","readme":"# gh-os\n\ngithub OSINT PII scanner. pulls every email and piece of identifying info it can find from a github account.\n\n## what it does\n\nenumerates a target's PII across every surface github exposes:\n\n- **profile** - name, email, company, location, blog, twitter, bio\n- **social accounts** - linked accounts via the social_accounts API\n- **public events** - commit author/committer emails from push events (90 day window)\n- **GPG keys** - emails embedded in public keys\n- **SSH keys** - fingerprints for cross-referencing\n- **repo history** - bare clones every repo + `git log` to extract all commit emails/names ever used. way more thorough than the commits API - no pagination cap, no 90 day limit.\n- **gists** - regex scans gist content for email patterns\n\nemails get deduped, merged across sources, and color-coded in the output. noreply/bot addresses shown dimmed so you can focus on real ones.\n\n## install\n\n```\npip install httpx rich\n```\n\nneeds `git` on PATH for the repo cloning.\n\n## usage\n\n```\npython gh_os.py \u003cusername\u003e [-t TOKEN] [--include-forks] [--max-repos N] [--no-gists] [--json]\n```\n\ntoken from `-t`, `GITHUB_TOKEN`, or `GH_TOKEN` env var. without one you get 60 req/hr - with one, 5000.\n\n```bash\npython gh_os.py torvalds\npython gh_os.py torvalds --json | jq '.emails[] | select(.is_noreply == false)'\npython gh_os.py torvalds -t ghp_xxx --include-forks --max-repos 200\n```\n\n`--json` dumps structured JSON to stdout (status/progress goes to stderr) so you can pipe it.\n\n## how it works\n\n1. hits the API for profile, social accounts, events, GPG/SSH keys (parallel)\n2. lists repos, filters forks unless `--include-forks`\n3. bare clones each repo with `--filter=blob:none` (no blobs - just refs and commits), runs `git log` to extract every email/name. 5 concurrent clones. progress bar shown.\n4. scans gist contents for email patterns (skips files \u003e50KB)\n5. deduplicates everything, merges sources/names, prints a color-coded table\n\nthe clone approach is the key thing - the commits API caps at 300 events and misses old history. `git log --all` on a bare clone gets everything.\n\n## rate limits\n\nunauthenticated gets you 60 API requests/hr. use a token. git clones don't count against the API rate limit - that's why the clone approach works so well even on accounts with hundreds of repos.\n\n## license\n\ndo what you want with it.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmfunc%2Fgh-os","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmfunc%2Fgh-os","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmfunc%2Fgh-os/lists"}