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

Description#

Twitter API secret credentials have been found hard-coded directly in the source code. Storing secrets in code makes them easily accessible to anyone with code access, risking accidental or malicious disclosure.

Impact#

If leaked, attackers could use these credentials to access your Twitter account or perform unauthorized actions via the Twitter API, potentially leading to data breaches, account takeover, or abuse of your organization’s social media presence.