Work in progress: 181,232 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #2689

D

David Leadbeater

Personal blog · dgl.cx · on HN as dglsecuritysystems

David Leadbeater's personal blog at dgl.cx covers security and systems. Since 2008, 28 different Hacker News readers have linked it 45 times, most often “SQLite as a Document Database (2020)”. It is still writing: the last post was on 2026-06-18, and you can follow it by feed.

Visit the blog
45mentions?
28HN people?
2008–2026first – last linked?
Links on Hacker News per year · peak 13 in 2025

Too few sampled comments (14) to say how often HN recommends it.?

Why HN links it

HN readers link David Leadbeater's posts on terminal escape-sequence security, Wikipedia-over-DNS, SSH and HTTPS on one port via haproxy, and SQLite JSON support. Commenters mostly cite them as sources or how-tos.

Summarised by Claude from a sample of 14 HN comments that link here. Each comment is marked recommending, critical or neutral (citing without judging); how this works.

The author on HN?

dgl · 1,262 karma · member since 2007

https://dgl.cx

From their public HN profile, which links to this site.

Most-linked posts?

  1. SQLite as a Document Database (2020)
    6 people · 7 mentions · first linked 2020-06-20
  2. "<ESC>[31M"? ANSI Terminal security in 2023 and finding 10 CVEs
    5 people · 6 mentions · first linked 2023-10-06
  3. Wikipedia over DNS (2008)
    5 people · 5 mentions · first linked 2008-12-02
  4. Using HAProxy to make SSH and SSL available on the same port
    3 people · 3 mentions · first linked 2010-01-25
  5. Déjà vu: Ghostly CVEs in my terminal title
    3 people · 3 mentions · first linked 2024-12-31
  6. Blink and you'll miss it – a URL handler surprise
    3 people · 3 mentions · first linked 2025-06-17
  7. Nat-Again: IRC NAT helper flaws (CVE-2022-2663)
    2 people · 2 mentions · first linked 2022-09-01
  8. Bash a newline: Exploiting SSH via ProxyCommand, again (CVE-2025-61984)
    2 people · 2 mentions · first linked 2025-10-07
  9. Wikipedia over DNS
    2 people · 2 mentions · first linked 2010-04-01

What Hacker News says?

  1. https://dgl.cx/2024/12/ghostty-terminal-title https://github.com/ghostty-org/ghostty/security/advisories/G...

    Comment linking /2024/12/ghostty-terminal-title

    on “Ghostty 1.0”
  2. Submitted Breaking Git with a carriage return and cloning RCE as a story · 373 points

    HN discussion
  3. There definitely have been CVEs in Terminal.app, over many years: - https://www.cve.org/CVERecord?id=CVE-2008-0042 - https://www.cve.org/CVERecord?id=CVE-2002-1898 - https://infocon.org/cons/Disobey/Disobey%202017/Mikko%20Kent... [video, I can't find a reference to that in Apple's release notes] - There is also https://seclists.org/oss-sec/2018/q1/216 -- which led to a vague credit for Federico Bento in https://supp…

    Comment linking /2023/09/ansi-terminal-security

    on “iTerm2 critical security release”
  4. Submitted SQLite as a Document Database (2020) as a story · 256 points

    HN discussion
  5. Probably worth noting that Ghostty was very recently vulnerable to an old/familiar class of terminal vuln that bit a bunch of older terminal applications a while back: https://dgl.cx/2024/12/ghostty-terminal-title So moving to a newer / less "bloated" terminal may also just wind the clock back and cause you to encounter a similar sequence of vulns again, like some kind of unfortunate real-world "New Game Plus".

    Comment linking /2024/12/ghostty-terminal-title

    on “iTerm2 critical security release”
  6. Submitted SQLite as a Document Database as a story · 239 points

    HN discussion
  7. You'd compress the JSON, and leave the data that you extract from the JSON uncompressed using Generated Columns[1]. That way you can save the original JSON data, but still have fast querying, etc. It would look something like this: CREATE TABLE t1( json TEXT, data INT GENERATED ALWAYS AS (json_extract(body, '$.d')) STORED ); If all you need is fast querying you could make `data` a `VIRTUAL` column and set up an inde…

    Comment linking /2020/06/sqlite-json-support

    on “Show HN: Reduce SQLite database size by up to 80% with transparent compression”
  8. Submitted Déjà vu: Ghostly CVEs in my terminal title as a story · 208 points

    HN discussion
  9. > One day, on a plane with WiFi before paying, I noticed that DNS queries were still allowed and thought it would be nice to chat with an LLM over it. There used to be a service where DNS requests to FOO.that-service.org would return the abstract for the Wikipedia article "FOO". edit: I think it was this one, seems to be defunct now: https://dgl.cx/2008/10/wikipedia-summary-dns

    Comment linking /2008/10/wikipedia-summary-dns

    on “Ch.at – A lightweight LLM chat service accessible through HTTP, SSH, DNS and API”
  10. Submitted Images over DNS as a story · 201 points

    HN discussion
  11. xterm does and some others, I posted about this and emojis a while ago: https://dgl.cx/2025/06/can-your-terminal-do-emojis

    Comment linking /2025/06/can-your-terminal-do-emojis

    on “State of Terminal Emulators in 2025: The Errant Champions”
  12. Submitted Can your terminal do emojis? How big? as a story · 178 points

    HN discussion
  13. Real criminals can: - Host such data off of a server bought with a stolen credit card and accessed via anonymous proxies. - Use any of the normal pastebin sides out there with offline encryption methods. (E.g. use PGP + copy/paste encrypted text into browser) - Host such data off of a hacked server. I don't really see how ZeroBin is scary. You could even do something like this: https://dgl.cx/wikipedia-dns with a ha…

    Comment linking /wikipedia-dns

    on “ZeroBin, opensource Pastebin where the server has zero knowledge of pasted data”
  14. Submitted Show HN: Wordle over DNS as a story · 170 points

    HN discussion
  15. You can also do this with haproxy. I ran it for a while (I think it was for git). Here is a page about how to do it: https://dgl.cx/2010/01/haproxy-ssh-and-ssl-on-same-port defaults timeout connect 5s timeout client 50s timeout server 20s listen ssl :443 tcp-request inspect-delay 2s acl is_ssl req_ssl_ver 2:3.1 tcp-request content accept if is_ssl use_backend ssh if !is_ssl server www-ssl :444 timeout client 2h back…

    Comment linking /2010/01/haproxy-ssh-and-ssl-on-same-port

    on “Show HN: Run SSH and HTTP(S) on the same port”
  16. Submitted Wikipedia over DNS (2008) as a story · 74 points

    HN discussion
  17. Unless I'm misunderstanding SQLite can do this as well, but with less nice syntax. The above could be written something like: SELECT id, json_extract(data, '$.foo') FROM t WHERE json_extract(data, '$.bar') > 5 in SQLite. You can also add an index on one of these expressions: https://dgl.cx/2020/06/sqlite-json-support

    Comment linking /2020/06/sqlite-json-support

    on “There are over one trillion SQLite databases in active use”
  18. Submitted Wikipedia over DNS as a story · 69 points

    HN discussion
  19. Or just use both :) https://dgl.cx/2010/01/haproxy-ssh-and-ssl-on-same-port

    Comment linking /2010/01/haproxy-ssh-and-ssl-on-same-port

    on “Patch to Log SSH Passwords – One Year Results”
  20. Submitted Wikipedia over DNS as a story · 64 points

    HN discussion
  21. I ended up writing a small wrapper on top of SQLite based on this: https://dgl.cx/2020/06/sqlite-json-support With proper concurrency control, it can work very well even for multi process applications.

    Comment linking /2020/06/sqlite-json-support

    on “Ask HN: What is the SQLite of nosql databases?”
  22. Submitted Microsoft .NET SDK is violating the GDPR, object now as a story · 37 points

    HN discussion
  23. Didn't know about Wikipedia-over-DNS, that's pretty cool: https://dgl.cx/wikipedia-dns

    Comment linking /wikipedia-dns

    on “Storing ASCII art in the DNS”
  24. Submitted Vim blowfish encryption as a story · 36 points

    HN discussion
  25. These categories of vulnerability are not new: https://dgl.cx/2023/09/ansi-terminal-security -- any time you take any untrusted data and do literally anything with it, you're at risk.

    Comment linking /2023/09/ansi-terminal-security

    on “Even "cat readme.txt" is not safe”
  26. Submitted Nat-Again: IRC NAT helper flaws (CVE-2022-2663) as a story · 12 points

    HN discussion
  27. Seems like we live in parallel worlds but I will show you how I am right except you can really proof I am wrong: At Google, they recommend to go to https://www.google.com/advanced_search so you can write all the keywords you want. In this case I searched for: kvt reverse exploit [1] you can quickly see that google search results are inaccurate and it shows first my HN post because it was very recent. Also the recent…

    Comment linking /2023/09/ansi-terminal-security

    on “The People Who Ruined the Internet”
  28. Submitted Wikipedia over DNS as a story · 11 points

    HN discussion
  29. Interesting project! I have lately been trying out these cool and perhaps in some way similar sqlite libraries: - https://github.com/haxtra/kvstore-sqlite (Basic key-value store for SQLite databases.) - https://github.com/haxtra/super-sqlite3 (Fast SQLite library with optional full db encryption, simple query builder, and a host of utility features, all in one neat package.) - https://github.com/haxtra/live-object (…

    Comment linking /2020/06/sqlite-json-support

    on “Show HN: Doculite – Use SQLite like Firestore”
  30. Submitted Exploiting SSH via ProxyCommand as a story · 5 points

    HN discussion

Search all of HN for dgl.cx

Linked by the same people?