SYM_GEN_0247 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
Language | regex |
Severity | |
CWE | CWE-798: Use of Hard-coded Credentials |
OWASP | A07:2021 - Identification and Authentication Failures |
Confidence Level | Low |
Impact Level | Medium |
Likelihood Level | Low |
Description
A RubyGems API token has been found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose, leading to unauthorized access if the code is shared or leaked.
Impact
If attackers obtain this token, they could access or modify your RubyGems account, potentially publishing malicious packages or tampering with your gems. This can compromise your application's integrity and damage your organization's reputation.