December 1st
Peek behind the wrapping
The elves' staff room has a door code. They swear nobody outside the workshop could possibly know it.
A page is a document you get to keep
When you open a website, your browser downloads a text document written in HTML, along with styling rules (CSS) and small programs (JavaScript). Then it paints the result. What you see is the painting. What you have is everything.
Some of that everything is never painted. HTML comments are notes developers leave for each other: the browser skips them, but they arrive with the page.
<p>Welcome!</p> <!-- TODO: remove the test login before launch -->
Every browser can show you a page's original text, and most can "inspect" a page as a tree of parts you can unfold. A page can also be built from several documents, one inside another, and each of those has a source of its own.
Security testers look here first because it costs nothing, and forgotten comments, test logins and keys turn up in real page source all the time.
Plango, from the workshop
Challenge a friend
How to stay secure against this
Never put secrets in anything sent to the browser: HTML, styles, scripts, or comments. If a page can show it, a visitor can read it. Real secrets stay on the server, behind a login. Watch out for AI coding tools in particular: they tend to leave lots of comments in the code they write, explaining how the site works, what changed and what's still to do. Those comments ship with the page and can hand an attacker a map. Good practice is to strip comments from the final deployed version (most build tools can do it for you).
The locked gift
