SYM_GEN_0252 - SymbioticSec/Symbiotic-Vulnerability-Database GitHub Wiki
Use of Hard-coded Credentials
Property | Value |
---|---|
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
Shippo API tokens have been found hard-coded in the source code. Storing credentials directly in code makes them easily accessible to anyone with code access, increasing the risk of secret leaks.
Impact
If attackers obtain these hard-coded API tokens, they can access or manipulate your Shippo account, potentially resulting in unauthorized shipments, data exposure, or financial loss. This also increases the risk of account takeover and service abuse if the code is shared or made public.