2023-07-14 11:42:53 +00:00
|
|
|
id: hashicorp-token
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
info:
|
2023-07-14 11:42:53 +00:00
|
|
|
name: Hashicorp API Token
|
2023-07-04 09:09:14 +00:00
|
|
|
author: DhiyaneshDK
|
|
|
|
severity: info
|
|
|
|
reference:
|
2023-07-14 11:42:53 +00:00
|
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/hashicorp-tf-api-token.go
|
|
|
|
- https://github.com/returntocorp/semgrep-rules/blob/develop/generic/secrets/gitleaks/hashicorp-tf-api-token.yaml
|
2023-07-04 09:09:14 +00:00
|
|
|
metadata:
|
|
|
|
verified: true
|
2023-10-14 11:27:55 +00:00
|
|
|
max-request: 1
|
2023-07-14 11:42:53 +00:00
|
|
|
tags: hashicorp,exposure,tokens
|
2023-07-04 09:09:14 +00:00
|
|
|
|
|
|
|
http:
|
|
|
|
- method: GET
|
|
|
|
path:
|
|
|
|
- "{{BaseURL}}"
|
|
|
|
|
|
|
|
extractors:
|
|
|
|
- type: regex
|
|
|
|
part: body
|
|
|
|
regex:
|
2023-10-14 11:27:55 +00:00
|
|
|
- (?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}
|
2023-10-20 11:41:13 +00:00
|
|
|
|
|
|
|
# digest: 4a0a0047304502203e323306575bc739ab30e855a3ef6e2f82eaca89bb709d7ae73c89561b499325022100ef154dfef531d964191e437e9da42f9ed3f8ad88191fe887237161add7932be7:922c64590222798bb761d5b6d8e72950
|