Cognitive Scaffold

Preparing your thinking workspace

arrow_back_ios_new
MENTAL MODEL · M3778

Security through Obscurity

Security through Obscurity
SystemsHigh supportSystems Theory
Included
account_tree

Updated 2026-08-01

Loading revision record…

Summary

The flawed practice of relying on hidden design details for security, which fails because secrets leak and because hiding prevents public scrutiny.

Definition

Security through obscurity is the practice of protecting a system by concealing how it works, for example hiding a key under the doormat or keeping source code secret as the primary defense. Kerckhoffs's principle states the opposite: a system should remain secure even when everything about it except the key is public. The key qualifier is that obscurity is not useless as an extra layer; it becomes a failure only when it is the only layer.

How to use

- Secret inventory: List every element of your security that depends on an attacker not knowing something. - Open-audit test: Assume the attacker knows the full design and ask what still holds. - Layer check: Treat hidden details as one layer among several, never as the foundation.

Mechanism

A defense built on hidden details has a single point of failure: disclosure. Design details leak through employees, vendors, decompiled binaries, and time, and once revealed the defense is gone entirely. Hiding also suppresses external review, so flaws that auditors would have found survive until an attacker finds them. Cryptographic mechanisms work the other way: they are designed to remain secure when fully public, so scrutiny strengthens rather than breaks them.

Practice

In progress 0/1

Practice this model in one real situation:

Check to track your progress (stored locally)
Learning progress0%

Cases

  • Hard-coded keys and secrets committed into source code, on the assumption that a closed repository is safe.
  • AES and other public algorithms remaining secure even though every detail is published and analyzed.

Common pitfalls

  • Believing that nobody knows about the flaw is itself a form of defense.
  • Using non-disclosure to quietly hide design weaknesses instead of actually fixing them.
Sources

Source support: Explicit

References currently contain only Wikipedia links; primary sources still need review.

  • link
    en.wikipedia.orghttps://en.wikipedia.org/wiki/Security_through_obscurityZH · Explicit
    verified
account_treeGenealogyexpand_more

RELATED MODELS