Skip to content

Readme API Token

ID: readme-api-token

Severity: info

Author: DhiyaneshDK

Tags: exposure,token,readme

id: readme-api-token
info:
name: Readme API Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/readme-api-token.go
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/readme-api-token.yaml
metadata:
max-request: 1
verified: true
tags: exposure,token,readme
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)\b(rdme_[a-z0-9]{70})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022100d3dcadc617e49551adc20db6624be349d37a300b446a4976f722a4f277dad0f80220710e48eafa8043222005fdf3daf382a710f59d237fd298637579e248354eb8a8:922c64590222798bb761d5b6d8e72950

This template is used to detect vulnerabilities in web applications. It can be used with the Nuclei tool to scan for specific patterns or behaviors.

Terminal window
$ nuclei -u "URL" -t "http/exposures/tokens/readme/readme-api-token.yaml"

View on Github