AETERNAE AI RESEARCH LLC INDEPENDENT RESEARCH
ÆAETERNAERESEARCH
Sign inRequest access
← Malware catalog

Attributed metadata history

REPORTPUBLIC METADATA

Detecting GitHound Enumeration via the GitHub API

For many organizations, GitHub Enterprise serves as a central platform for software development, collaboration, and source code management. This makes it an increasingly valuable target for attackers seeking access to source code, sensitive information, credentials, and development infrastructure.Recent incidents demonstrate an increasing preference among attackers for targeting GitHub environments. In March 2026, the Trivy supply-chain attack involved stolen credentials being used to publish malicious releases and tamper with GitHub Actions. The compromise subsequently extended to Checkmarx’s GitHub environment, where attackers gained unauthorized repository access and distributed malicious code through developer tools and CI/CD. In May 2026, GitHub itself disclosed that an employee device had been compromised through a malicious VS Code extension, resulting in the exfiltration of internal repositories. In May 2026, a reported exposure of sensitive CISA information through a public GitHub repository highlighted how misconfigured access and unintended data disclosure can expose sensitive information. These incidents highlight the growing importance of protecting and monitoring code repositories.Tools such as GitHound, a BloodHound OpenGraph collector for GitHub released by SpecterOps earlier in 2026, can help defenders map a GitHub organization’s environment by identifying relationships between users, teams, repositories, and permissions that allows them to understand access relationships, identify excessive privileges, and uncover potential attack paths. However, the same capabilities can also be leveraged by adversaries to map an organization’s GitHub environment, discover accessible resources, and identify opportunities for further access.With this in mind, I took a closer look at GitHub Enterprise audit logs and weather they can be used to detect enumeration through the GitHub API.Running GitHound Against a GitHub OrganizationGitHound interacts directly with the GitHub API to collect information about an organization’s users, teams, repositories, and permissions. To do so, it requires a GitHub access token with the appropriate permissions to access the resources being queried. The scope of the collected data therefore depends on the token’s privileges.Step 1: Create a GitHub personal access tokenTo authenticate GitHound, create a personal access token (PAT) on GitHub.Navigate to GitHub’s personal access token settings for your account.Select Tokens, then click Generate new token.Provide a descriptive name and set an appropriate expiration date.Configure the repository access and permissions required for the resources you intend to collect. Use the GitHub documentation to understand the available permissions.Generate the token and copy it immediately.Step 2: Run GitHound against the OrganizationThe next step would be to download and run GitHound. Download the tool from the official SpecterOps repo.To run GitHound against your organization open a powershell session and run the following commands:Load the collector:. ./githound.ps1GitHound module loading2. Create a session with your Personal Access Token$session = New-GitHubSession -OrganizationName “<YourOrgName>” -Token “<personnal_access_token>”GitHound session variable creation3. Run the collection scriptInvoke-GitHound -Session $sessionor Invoke-GitHound -Session $session -CollectAll GitHound executionGitHub Logging ConfigurationAs GitHound makes API requests to enumerate these resources, its activity will be visible in GitHub audit logs, providing an opportunity for defenders to investigate and detect potentially suspicious patterns of API usage. Before building a detection for GitHub API enumeration though, it is important to ensure that the relevant audit events are being collected.Sign in to GitHub with an enterprise owner account and navigate to Settings.Open Audit log and select Log stream

Reference details

Source category
research-report
First reported
Oct 20, 2026 09:50 UTC
Last reported
Oct 20, 2026 09:50 UTC
Catalog updated
Oct 20, 2026 11:07 UTC
Record ID
1696ccf2941c5cd2a70516bbfa93119811f96f42b3041f11f45e303dd4d63bd3

Published indicators

Network indicators are visibly defanged. This page does not make them clickable or send them to another service.

No validated file hashes or network indicators are stored for this record.

Source observations

intelligence_src_f9879f264b7a8ec1d7

Source-provided label
Publisher RSS metadata
Evidence class
mentioned in report
Confidence
Not reported
Observed
Oct 20, 2026 09:50 UTC
Retrieved
Oct 20, 2026 11:07 UTC

This record contains metadata and attribution only. It does not host, download, unpack, render, or execute malware samples.

Feed collection status

Sources represented on this page. Publication and observation dates describe the content; successful batch dates describe local collection. A recent batch does not certify complete coverage or current provider availability.

1 sources: 0 stale, 0 needing attention, 0 paused, 0 unverified.

Review source update dates and status
  • intelligence_src_f9879f264b7a8ec1d7Recent successful batchLast successful batch: Last attempt:

Stale means older than twice the recorded collection interval, with a minimum of one hour; without an interval, the threshold is 24 hours. Cached content remains available while a feed is stale, paused, or unverified.