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

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.