2023-03-07 10:33:59 +00:00
|
|
|
id: github-app
|
2023-03-07 09:40:29 +00:00
|
|
|
|
|
|
|
info:
|
|
|
|
name: GitHub App 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:
|
2023-06-04 08:13:42 +00:00
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-03-07 09:40:29 +00:00
|
|
|
tags: github,app,token,exposure
|
|
|
|
|
2023-04-27 04:28:59 +00:00
|
|
|
http:
|
2023-03-07 09:40:29 +00:00
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- '\b((?:ghu|ghs)_[a-zA-Z0-9]{36})\b'
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a004730450221009485ce9e2e17e40da2e726b8286112259c6434a16db02c47261dd739d39aa72c02204dca216fd7c1035f9d4d057085424189a36c7ac9a1097107ba9944eb4c9569ae:922c64590222798bb761d5b6d8e72950
|