Use of Hard-coded Credentials
| Property | |
|---|---|
| Language | regex |
| Severity | |
| 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 Shopify shared secret was found hard-coded in the source code. Storing credentials directly in code makes them easy to accidentally expose and accessible to anyone with code access.
Impact#
If an attacker obtains this secret, they could impersonate your app, access sensitive Shopify data, or perform unauthorized actions on behalf of your application. This can lead to data breaches, account compromise, and loss of customer trust.