Skip to content

BitBucket Client Secret

ID: bitbucket-client-secret

Severity: info

Author: DhiyaneshDK

Tags: keys,file,bitbucket,token

id: bitbucket-client-secret
info:
name: BitBucket Client Secret
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-secret.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/bitbucket-client-secret.go
metadata:
verified: true
tags: keys,file,bitbucket,token
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- (?i)(?:bitbucket)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9=_\-]{64})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022015ffee9fe32f0ee2b1d77f456f444d2aac7c165163087b1e8fcfd50e23ad1526022100cd3967b389b193fd0e571663b866e5ed46d52f03d3733699dd4bd9c441e12688:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "file/keys/bitbucket/bitbucket-client-secret.yaml"

View on Github