Packages / DevOps And Supply Chain Credentials
DevOps And Supply Chain Credentials
Source-control, CI/CD, package registry, signing, build, and software supply-chain secrets.
- Patterns
- 20
- As primary component
- 20
Patterns in this package
Detects Azure DevOps application secret patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
Detects Azure DevOps personal access tokens (PATs). The primary detector is the current 84-character format, which carries a fixed AZDO signature at positions 76-80. Tokens in the legacy 52-character Base32 format are detected only when a specific Azure DevOps term is nearby, because that shape has no signature. Microsoft Purview ships a built-in sensitive information type for the same credential, which also validates the token checksum; this version cannot.
Detects CircleCI personal access tokens (CCIPAT_ prefix). These tokens authenticate to the CircleCI API and can read/modify pipelines, contexts and project settings; a leak enables CI/CD compromise.
Detects container-registry credentials stored inline in a Docker client config.json (~/.docker/config.json), or in the same JSON once decoded from a Kubernetes kubernetes.io/dockerconfigjson pull secret. When no credential store is configured, docker login writes each registry's username and password to the auths object as one base64 string (auth), and may store an identitytoken or registrytoken. Base64 is an encoding, not encryption, so anyone holding the file can push and pull images as that account.
Detects Docker Hub personal access tokens (dckr_pat_ prefix). These tokens authenticate to Docker Hub and can pull/push images; a leak enables image tampering and supply-chain compromise.
Detects GitHub Fine-Grained PAT patterns. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
Detects GitHub access tokens by prefix: classic personal access tokens (ghp_), OAuth tokens (gho_), GitHub App user tokens (ghu_), refresh tokens (ghr_) and GitHub App installation tokens (ghs_). Installation tokens are matched in both formats: the legacy 40-character form and the stateless form GitHub made the default in October 2026 (still ghs_, about 520 characters, a JWT with two dots). Fine-grained personal access tokens (github_pat_) are covered by global-github-pat-fine-grained. This pattern is based on a Microsoft Purview built-in sensitive information type. Users already running Purview may prefer to enable the built-in SIT directly, or use this version as a starting point for customisation.
Detects GitLab deploy tokens (gldt- prefix). Deploy tokens grant read/write access to a project's repository, container registry and package registry; a leak enables artifact theft or tampering.
Detects GitLab personal access tokens (glpat- prefix). A leaked PAT grants repository, CI/CD pipeline and package-registry access scoped to the issuing user.
Detects GitLab pipeline trigger tokens (glptt- prefix). These tokens let external systems start CI/CD pipelines via the trigger API; a leak allows unauthorized pipeline execution.
Detects GitLab runner authentication tokens (glrt- prefix). These tokens authenticate a CI/CD runner to a GitLab instance; a leak lets an attacker impersonate a runner and capture job payloads.
Detects login and password entries from a .netrc file (_netrc on Windows), the plaintext auto-login file read by curl, git, ftp, pip, Heroku and many other command-line tools. An entry names a host (machine, or the catch-all default) and supplies the login and password used for it, on one line or spread across several. npm supply-chain worms and infostealers in 2026 harvested ~/.netrc because one file often holds source-control, package-registry and deployment credentials together.
Detects bounded npm access-token values (npm_ prefix, fixed 36-character body) and credential-bearing .npmrc authToken assignments; documentation and placeholder examples remain excluded. These tokens authenticate to the npm registry and can publish, unpublish or grant access to packages; a leak enables supply-chain attacks via malicious publishes.
Detects NuGet.org API keys (oy2 prefix), used to push packages to the NuGet gallery. A leaked key lets an attacker publish or unlist packages under the owner's account.
Detects PyPI (Python Package Index) upload tokens. The fixed marker pypi-AgEIcHlwaS5vcmc is the base64 encoding of "pypi.org", making these tokens near-unmistakable. A leaked token lets an attacker publish malicious package releases.
Detects RubyGems.org API keys (rubygems_ prefix), used to push gems. A leaked key lets an attacker publish or yank gems under the owner's account.
Detects HashiCorp Terraform Cloud / Terraform Enterprise API tokens (atlasv1 format). These tokens authenticate to the Terraform Cloud API and can read/write workspace state and variables; a leak can expose all infrastructure secrets.
Detects embedded credentials (username:password) in Git repository URLs. Mirrors Snaffler rule KeepGitCredsByName.
Detects secrets embedded in Infrastructure as Code files including Terraform/HCL variable assignments and Azure Cloud Service configuration (.cscfg) XML settings. Mirrors Snaffler rule KeepInfraAsCodeByExtension.
Detects Jenkins-encrypted credential values in the {base64...} format used by Jenkins credentials.xml and similar configuration files. Mirrors Snaffler rule KeepJenkinsByName.