Originally published on hexisteme notes .
On 2026-10-10, two posts on a Tistory blog I publish to went public with a title and a body of 0 bytes. The script that prepared them had checked its own work, and the check had passed for both.
Some context. Tistory asks for a human captcha on every save, so my publisher's own POST and PUT requests were coming back 400. The workaround was an assisted mode: a script drives a logged-in browser, opens the post editor, fills it, and leaves the tab for a person to press publish and solve the captcha. The script's whole job ends at one claim: this tab now holds the right post. That claim was false twice, and nothing in the script noticed.
The check that could not fail
The post editor has an HTML mode backed by a CodeMirror instance. The fill step put the prepared HTML in with setValue() . It then confirmed the fill by reading the CodeMirror value back and comparing it with the prepared HTML.
They matched, because the value it read was the value it had just written.…