Module · Social Media
code_host_recon
Collect a username's public footprint on code hosts: profile, commit emails, SSH keys and repositories.
FootprintInvestigatePassiveAPI key
Before you run it
- API key. Needs your own API key for the data source. None ships with Spiderfootplus.
Run it
# Run only this module on one input$ spiderfootplus try code_host_recon USERNAME octocat # Run it as part of the standard profile$ spiderfootplus scan example.com -p standard # Change an option for one scan$ spiderfootplus scan example.com -p standard --set code_host_recon.sites=both-mreplaces a profile's module list and does not add the modules that feed this one, so a profile is the simplest way to get its inputs. Only scan targets you are authorised to assess.
Watches (input)
Produces (output)
Options
| Option | Default | What it does |
|---|---|---|
| sites | both | Which hosts to query: both | github | gitlab |
| api_key | your key | GitHub token — lifts the 60/hr anonymous limit to 5000/hr (spiderfootplus keys set code_host_recon) |
| gitlab_token | — | Optional GitLab token |
| maxrepos | 100 | Report at most this many repositories per host |
| maxevents | 100 | Scan at most this many public events for commit emails |
Set the key with spiderfootplus keys set code_host_recon or the SPIDERFOOTPLUS_API_KEY_CODE_HOST_RECON environment variable. See configuration.
Fed by
Feeds
- account_huntFinds public accounts (code hosts, package registries, dev communities) for usernames derived from harvested personal emails
- breachCheck the target's e-mail addresses against the Have I Been Pwned breach database
- gravatarEmail-to-identity enrichment: resolves a Gravatar profile (name, linked social accounts, location) for discovered addresses
- infostealerInfostealer-log exposure for the domain (compromised employee/user machines, malware families)
- secret_scanFind exposed credentials in a site's web assets and in the public code repositories linked to it