Jenkins Encrypted Credentials

Detects Jenkins-encrypted credential values in the {base64...} format used by Jenkins credentials.xml and similar configuration files. Mirrors Snaffler rule KeepJenkinsByName.

Type
regex
Engine
boost_regex
Confidence
high
Confidence justification
High confidence: the combination of <password> XML tags and the {base64} encrypted format is highly specific to Jenkins credential storage. False positives are extremely unlikely given the structural constraints.
Jurisdictions
global
Regulations
Criminal Code Act 1995 (Cth)
Frameworks
CIS Controls, ISO 27001, NIST CSF
Data categories
credentials
Scope
specific
Platform compatibility
Purview: Compatible, GCP DLP: Compatible, Macie: Compatible, Zscaler: Compatible, Palo Alto: Compatible, Netskope: Compatible

Pattern

<password>\{[A-Za-z0-9+/=]{20,}\}</password>

Corroborative evidence keywords

com.cloudbees.plugins.credentials, <privateKey>, BapSshPublisher, <id>

Proximity: 300 characters

Should match

Should not match

Known false positives

Collections