nuclei-templates/http/exposures/tokens/droneci/droneci-accesstoken.yaml

27 lines
907 B
YAML

id: droneci-accesstoken
info:
name: Droneci Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/droneci-access-token.yaml
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/droneci-access-token.go
metadata:
verified: true
max-request: 1
tags: droneci,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:droneci)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{32})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 490a004630440220223c75158e78ce8527f8af0fc6af2d2aa3bb8c6934aa4720530273bb0193a2c60220183e9e434a0f05d44872eb2d8d477c7407427cce02ee073f19fa4ad2e97509e6:922c64590222798bb761d5b6d8e72950