GitHub setting changed to fork private repository

Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

Goal

Detects policy changes to allow forking of private GitHub repositories.

Strategy

GitHub provides audit logs and webhook events that capture modifications to repository settings. Look for events where the fork setting for private repositories is enabled, which can pose a significant security risk by exposing sensitive code.

  • private_repository_forking.enable

Triage and Response

  1. Identify whether {{@github.actor}} is changing the forking policy for {{@github.repository}}.
  2. If the activity is suspicious:
    • Block the user in GitHub to prevent further access.
    • Begin your organization’s incident response process and investigate.