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

27 lines
805 B
YAML

id: hashicorp-token
info:
name: Hashicorp API Token
author: DhiyaneshDK
severity: info
reference:
- 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
metadata:
verified: true
max-request: 1
tags: hashicorp,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)[a-z0-9]{14}\.atlasv1\.[a-z0-9\-_=]{60,70}
# digest: 4a0a0047304502203e323306575bc739ab30e855a3ef6e2f82eaca89bb709d7ae73c89561b499325022100ef154dfef531d964191e437e9da42f9ed3f8ad88191fe887237161add7932be7:922c64590222798bb761d5b6d8e72950