Elastic low stable kql

GitHub Actions Unusual Bot Push to Repository

Detects when the github-actions[bot] pushes code to a repository where it has not performed this behavior before in a certain time window. This may indicate a supply chain attack where malicious code running in a CI workflow attempts to modify repository contents, such as injecting backdoor workflow files.

View Source

Detection Logic

data_stream.dataset: "github.audit" and
    event.action: "git.push" and
    user.name: "github-actions[bot]"

False Positives

  • ⚠ Legitimate CI/CD automation that commits and pushes changes (e.g., auto-formatting, changelog updates, version bumps, Dependabot auto-merge) will trigger this alert on first use in a repository. Review the repository's workflow configurations to determine if bot pushes are expected.

Field Validations

Loading…

Comments (0)

Loading comments...