29 lines
898 B
YAML
29 lines
898 B
YAML
id: code-climate-token
|
|
|
|
info:
|
|
name: Code Climate Token - Detect
|
|
author: DhiyaneshDK
|
|
severity: info
|
|
description: Code Climate token was detected.
|
|
reference:
|
|
- https://github.com/praetorian-inc/noseyparker/blob/main/data/default/rules/codeclimate.yml
|
|
- https://github.com/codeclimate/ruby-test-reporter/issues/34
|
|
classification:
|
|
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:N
|
|
cvss-score: 0
|
|
cwe-id: CWE-200
|
|
metadata:
|
|
verified: true
|
|
tags: file,keys,codeclimate,token
|
|
file:
|
|
- extensions:
|
|
- all
|
|
|
|
extractors:
|
|
- type: regex
|
|
part: body
|
|
regex:
|
|
- '(?i)codeclima.{0,50}\b([a-f0-9]{64})\b'
|
|
|
|
# Enhanced by md on 2023/05/04
|
|
# digest: 4a0a0047304502200e6bd9867a66b28556bb5e59fc7dd5582ac68f9dff902978f3672453fcff2936022100ba11083fa52bea39929d563d17d8875f3464ce09d21e96d15a3b6faaea2b8453:922c64590222798bb761d5b6d8e72950 |