27 lines
905 B
YAML
27 lines
905 B
YAML
id: alibaba-secretkey-id
|
|
|
|
info:
|
|
name: Alibaba Secret Key ID
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-secret-key.go
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/alibaba-secret-key.yaml
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: alibaba,exposure,tokens
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- (?i)(?:alibaba)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:=|\|\|:|<=|=>|:)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{30})(?:['|\"|\n|\r|\s|\x60|;]|$)
|
|
|
|
# digest: 490a004630440220720089198820d4db9ca2781f69bc31fb029df682fdc3085aa2c6779706d4f825022058e5790c90f908580376095e52a4a30ae436709deda4c6acb8eb3a0555b8d6fd:922c64590222798bb761d5b6d8e72950
|