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

Description#

An AWS session token has been found directly in the codebase. Storing sensitive credentials like AWS tokens in code exposes them to anyone with code access, making the application insecure.

Impact#

If attackers gain access to the exposed AWS session token, they could use it to authenticate as your application, potentially accessing, modifying, or deleting AWS resources. This could lead to data breaches, service disruption, and significant financial or reputational damage.