26 lines
950 B
YAML
26 lines
950 B
YAML
id: particle-access-token
|
|
|
|
info:
|
|
name: particle.io Access Token
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/crates/noseyparker/data/default/builtin/rules/particle.io.yml
|
|
- https://docs.particle.io/reference/cloud-apis/api/
|
|
metadata:
|
|
verified: true
|
|
max-request: 1
|
|
tags: particle,exposure,tokens
|
|
|
|
http:
|
|
- method: GET
|
|
path:
|
|
- "{{BaseURL}}"
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- 'https://api\.particle\.io/v1/[a-zA-Z0-9_\-\s/"\\?]*(?:access_token=|Authorization:\s*Bearer\s*)\b([a-zA-Z0-9]{40})\b'
|
|
- '(?:access_token=|Authorization:\s*Bearer\s*)\b([a-zA-Z0-9]{40})\b[\s"\\]*https://api\.particle\.io/v1'
|
|
# digest: 4b0a004830460221009044c439ea9af3e3ef4f271fff476a9012a9d828027aa5ef16ee263c518368c502210096f344abe88a0af13d19a61f0ac811073d45fcff82200e42ba03960e63020a76:922c64590222798bb761d5b6d8e72950 |