Security pattern / case archive

Hard-Coded Credential Exposure

A deployed artifact exposes a fixed credential or secret that is still accepted by its intended consumer.

Common discovery signals
  • Configuration backups contain credential-like constants or keys.
  • Application code identifies the endpoint or field that consumes the value.
Safe validation approach

Keep the value private and use a single invalid-versus-valid comparison against the mapped consumer without expanding access.

Related classifications

Related entries

Archive connections

Connected case files

02 records
CASE-005WEBVERSE
Connected evidence

Calling Card

Client-Side Hard-Coded Bearer Token Exposure

Calling Card exposed a build-time bearer token in public JavaScript. Caido showed a 401 without the token and a 200 with it, while curl returned the same internal probe data.

Caido / curl
CASE-003WEBVERSE
Connected evidence

Dust Jacket

Sensitive Backup and Credential Exposure

An Apache directory listing exposed config.php.bak with a reusable OWNER_KEY. The owner console rejected an invalid key but accepted the exposed value without Cookie or Authorization headers.