Browse Rules

Search and filter across all detection sources

13 rules

panther medium python

GitHub Repository Collaborator Change

Detects when a repository collaborator is added or removed.

panther informational python

GitHub User Added or Removed from Org

Detects when a user is added or removed from a GitHub Org.

panther medium python

GitHub User Added to Org Moderators

Detects when a user is added to a GitHub org's list of moderators.

panther high python

GitHub Branch Protection Disabled

Disabling branch protection controls could indicate malicious use of admin credentials in an attempt to hide activity.

panther high python

GitHub Branch Protection Policy Override

Bypassing branch protection controls could indicate malicious use of admin credentials in an attempt to hide activity.

panther informational python

GitHub Team Modified

Detects when a team is modified in some way, such as adding a new team, deleting a team, modifying members, or a change in repository control.

panther medium python

GitHub Workflow Permissions Modified

Detects when the default workflow permissions for the GITHUB_TOKEN are modified at the organization level. GitHub Actions workflows use GITHUB_TOKEN for authentication, and changing these permissions can either expand or restrict what workflows can do by default. Unauthorized modifications could allow attackers to escalate privileges in CI/CD pipelines, potentially leading to supply chain compromise through malicious workflow modifications, unauthorized code deployments, or exfiltration of secre

elastic high kql

Suspicious PowerShell from npm Package Install

Detects PowerShell launched with an encoded command or a download cradle whose process ancestry includes a Node.js npm package execution (`npx-cli.js` with a scoped or versioned package). Malicious npm packages and supply-chain compromises commonly run this from install or postinstall scripts to fetch and execute a second stage.

elastic medium kql

GitHub Actions Workflow Modification Blocked

Detects when a GitHub Actions workflow attempts to create or modify workflow files in a protected branch but is blocked due to insufficient permissions. This behavior is indicative of a supply chain attack where a malicious package or compromised CI/CD pipeline attempts to inject persistent backdoor workflows into a repository.

panther critical python

GSuite Government Backed Attack

Detects Google Workspace warnings of government-backed attacks targeting user accounts, issued only when indicators match nation-state threat actors or APT groups. These sophisticated attacks target high-value individuals using advanced tactics including zero-day exploits, spear-phishing, and social engineering. Successful compromise can lead to persistent access, intellectual property theft, and supply chain attacks.

elastic medium kql

Curl Download Activity from npm Package Install

Detects curl downloading over HTTP(S) with a short argument list, writing output to a file or launched via a shell, when the process ancestry includes a Node.js npm package execution (`npx-cli.js` or an npx cache path). Malicious npm packages and supply-chain compromises commonly fetch a second stage from install or postinstall scripts.

elastic low kql

GitHub Activity on a Private Repository from an Unusual ASN

Detects when a GitHub user pushes to or clones a private repository from an autonomous system (ASN) not previously seen for that user in the last 7 days. The source IP is resolved to its ASN at query time, so address churn inside the same ISP or cloud provider does not produce new alerts. Adversaries may access private repositories from unfamiliar ASNs to exfiltrate sensitive code or data, potentially indicating a compromise or unauthorized access.

elastic high eql

Package Runtime Secret File Access Followed by IMDS Request

Identifies a Python, Node.js, Bun, Deno, Ruby, PHP or Perl runtime, or a binary executing from a package install location, that opens a developer secret (SSH keys, package registry tokens, source control credentials or AI coding assistant credentials) and then connects to a cloud instance metadata service (IMDS) endpoint within one minute. This sequence matches credential stealers delivered through compromised packages, such as the malicious LiteLLM PyPI releases, while cloud provider credential