Property
Languageregex
Severitylow
CWECWE-798: Use of Hard-coded Credentials
OWASPA07:2021 - Identification and Authentication Failures
Confidence LevelLow
Impact LevelMedium
Likelihood LevelLow

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.