generic.secrets.security.detected-codeclimate.detected-codeclimate
Community Favorite

Author
37,965
Download Count*
License
CodeClimate detected
Run Locally
Run in CI
Defintion
rules:
- id: detected-codeclimate
pattern-regex: (?i)codeclima.{0,50}["|'|`]?[0-9a-f]{64}["|'|`]?
languages:
- regex
message: CodeClimate detected
severity: ERROR
metadata:
cwe:
- "CWE-798: Use of Hard-coded Credentials"
source-rule-url: https://github.com/grab/secret-scanner/blob/master/scanner/signatures/pattern.go
category: security
technology:
- secrets
- codeclimate
confidence: LOW
owasp:
- A07:2021 - Identification and Authentication Failures
references:
- https://owasp.org/Top10/A07_2021-Identification_and_Authentication_Failures
cwe2022-top25: true
cwe2021-top25: true
subcategory:
- audit
likelihood: LOW
impact: HIGH
license: Commons Clause License Condition v1.0[LGPL-2.1-only]
Examples
detected-codeclimate.txt
# cf. https://gist.github.com/noahd1/f1bfa403bd9bf2d1aaf3e2a9f1812f2c
CODECLIMATE_URL=https://codeclimate.com
# ruleid: detected-codeclimate
CODECLIMATE_API_TOKEN=746b31b417ecc5cff872bac5746b31b417ecc5cff872bac51234567890abcdef
# ruleid: detected-codeclimate
CODECLIMATE_API_TOKEN="746b31b417ecc5cff872bac5746b31b417ecc5cff872bac51234567890abcdef"
Short Link: https://sg.run/W8yz