26 lines
754 B
YAML
26 lines
754 B
YAML
id: github-oauth-access
|
|
|
|
info:
|
|
name: GitHub OAuth Access Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/github.yml
|
|
- https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/about-authentication-to-github
|
|
- https://docs.github.com/en/developers/apps/building-oauth-apps/authorizing-oauth-apps
|
|
- https://github.blog/2021-04-05-behind-githubs-new-authentication-token-formats/
|
|
metadata:
|
|
max-request: 1
|
|
verified: true
|
|
tags: github,oauth,token,exposure
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '\b(gho_[a-zA-Z0-9]{36})\b' |