nuclei-templates/http/exposures/tokens/hashicorp/hashicorp-token.yaml

24 lines
609 B
YAML
Raw Normal View History

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:
max-request: 1
verified: true
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-07-14 11:42:53 +00:00
- (?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}