nuclei-templates/file/keys/amazon/amazon-session-token.yaml

21 lines
517 B
YAML

id: amazon-session-token
info:
name: Amazon Session Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/aws.yml
metadata:
verified: "true"
tags: aws,amazon,token,file,session
file:
- extensions:
- all
extractors:
- type: regex
part: body
regex:
- '(?i)(?:aws.?session|aws.?session.?token|aws.?token)["''`]?\s{0,30}(?::|=>|=)\s{0,30}["''`]?([a-z0-9/+=]{16,200})[^a-z0-9/+=]'