Skip to content

TravisCI Access Token

ID: travisci-access-token

Severity: info

Author: DhiyaneshDK

Tags: travisci,exposure,tokens

id: travisci-access-token
info:
name: TravisCI Access Token
author: DhiyaneshDK
severity: info
reference:
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/travisci-access-token.go
- https://github.com/semgrep/semgrep-rules/blob/develop/generic/secrets/gitleaks/travisci-access-token.yaml
metadata:
verified: true
max-request: 1
tags: travisci,exposure,tokens
http:
- method: GET
path:
- "{{BaseURL}}"
extractors:
- type: regex
part: body
regex:
- (?i)(?:travis)(?:[0-9a-z\-_\t .]{0,20})(?:[\s|']|[\s|"]){0,3}(?:=|>|:{1,3}=|\|\|:|<=|=>|:|\?=)(?:'|\"|\s|=|\x60){0,5}([a-z0-9]{22})(?:['|\"|\n|\r|\s|\x60|;]|$)
# digest: 4a0a00473045022100f8a09168e94443c07c68fbdd3f8fd57d1cda17a13ce22aea46171338540b2a7802200fef78ee1fdf508b290592e125776d3c43ba923db95bc87864bc916481a8ee66: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/travisci/travisci-access-token.yaml"

View on Github