Export
The link always opens the latest version of this page.
Ask an AI about it
Open in ChatGPTA new chat that reads this entry from the site Open in ClaudeThe same, in ClaudeShare the link instead of a file, and they will always see the latest version.
Files are a snapshot of today. The live page has anything newer.
Hardcoded Credentials
Hardcoded credentials are secret values (passwords, API keys, tokens, or other authentication material) embedded directly in application source code, configuration files, or compiled binaries.
Consequences
Hardcoded credentials enable [unauthorized access][unauthorized-access] to protected resources 1. Once embedded, credentials persist in version-control history and affect every system using the hardcoded value 2, creating widespread [credential-exposure][credential-exposure] risk 3. Attackers who discover hardcoded credentials can gain unauthorized access to sensitive systems such as customer databases 4.
Classification
This vulnerability is classified as CWE-798 5.
In the news 5
- Lessons Learned from CISA’s Recent GitHub Leak · Krebs on Security
- Secrets, Certificates, and Key Management for Identity Teams · SC Media
- Security Is a Platform Property, Not a Pipeline Step · DZone
- Applebee's Exposed Customers' Personal Data After Leaving Database Password In App · Slashdot
- The rooting, firmware analysis and hardcoded, reset-persistent credentials of the TP-Link TL-841N · Lobsters
Sign in for the full story cards: summaries, tags and starring.