SYM_GEN_0191 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki

Use of Hard-coded Credentials

Property Value
Language regex
Severity low
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 Clojars API token was found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose, especially if the code is shared or published.

Impact

If an attacker gains access to this API token, they could publish, modify, or delete packages on your behalf or access sensitive information in your Clojars account. This could lead to unauthorized changes, package hijacking, or loss of trust in your software supply chain.