Skip to content
Threat Feed
high advisory

GitHub Enterprise Dependabot Disablement

An attacker disables Dependabot in a GitHub repository to prevent automatic vulnerability detection, potentially leading to exploitation of unpatched dependencies and supply chain compromise.

This threat brief addresses the disabling of Dependabot within a GitHub Enterprise environment. Dependabot is a security feature that automatically identifies and helps fix vulnerabilities in project dependencies. Attackers may disable Dependabot to prevent the automatic detection of vulnerable dependencies, allowing them to exploit these vulnerabilities undetected. This action can serve as a precursor to more extensive supply chain attacks. This detection leverages GitHub Enterprise audit logs to identify instances where Dependabot functionality is disabled. The scope of targeting involves any GitHub Enterprise repository where Dependabot is active.

Attack Chain

  1. Initial Access: An attacker gains access to a GitHub account with sufficient privileges to modify repository settings.
  2. Reconnaissance: The attacker identifies a target repository that utilizes Dependabot for dependency vulnerability scanning.
  3. Privilege Escalation (if necessary): The attacker escalates privileges within the GitHub repository to gain the necessary permissions to modify settings.
  4. Configuration Change: The attacker navigates to the repository settings and disables the Dependabot feature, specifically repository vulnerability alerts.
  5. Persistence: The attacker may create backdoors or other persistent access mechanisms to maintain access to the compromised repository.
  6. Exploitation: The attacker introduces or exploits existing vulnerabilities in the repository's dependencies, now unchecked by Dependabot.
  7. Lateral Movement: The attacker uses the compromised repository as a stepping stone to access other internal systems or repositories.
  8. Impact: The attacker exfiltrates sensitive data, injects malicious code into software builds, or disrupts services, leading to a supply chain compromise.

Impact

Successful exploitation following Dependabot disablement can lead to significant damage, including data theft, malicious code injection, and service disruption. The number of affected victims depends on the scope of the compromised repository and its dependencies. Targeted sectors could include software development, technology, and any industry reliant on the affected software. The impact could extend beyond the immediate organization, affecting downstream customers and partners.

Recommendation

Detection coverage 3

GitHub Enterprise Dependabot Disabled

high

Detects when a user disables Dependabot in a GitHub repository, which could indicate an attempt to prevent vulnerability detection.

sigma tactics: defense_evasion techniques: T1562.001 sources: webserver, linux

GitHub Enterprise Suspicious User Agent - Dependabot Disable

medium

Detects Dependabot disable action with a suspicious user agent, potentially indicating malicious activity.

sigma tactics: defense_evasion techniques: T1562.001 sources: webserver, linux

GitHub Enterprise Dependabot Disabled by Bot Account

medium

Alert when Dependabot is disabled by an automated bot account, which could signal unusual behavior.

sigma tactics: defense_evasion techniques: T1562.001 sources: webserver, linux

Detection queries are available on the platform. Get full rules →