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 · #3472

D

discrete blogarithm

Personal blog · zyan.scripts.mit.edu/blogsecurityprogramming

discrete blogarithm is a personal blog at zyan.scripts.mit.edu about security and programming. Since 2013, 22 different Hacker News readers have linked it 27 times, most often “Backdooring JavaScript using minifier bugs”. The last post was in 2022, but the archive is still widely read.

Visit the blog
27mentions?
22HN people?
2013–2017first – last linked?
Links on Hacker News per year · peak 17 in 2015

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

Why HN links it

HN readers link this blog for browser privacy and security research: history sniffing via HSTS timing and visited-link styling (Sniffly), and how minified JavaScript can hide backdoors. Also talk slides and related presentations.

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

Most-linked posts?

  1. Backdooring JavaScript using minifier bugs
    5 people · 5 mentions · first linked 2015-08-24
  2. New Tricks for Browser Fingerprinting [pdf]
    4 people · 4 mentions · first linked 2015-10-26
  3. Lessons from the ad blocker trenches
    3 people · 3 mentions · first linked 2015-07-17
  4. /blog/sniffly/
    2 people · 2 mentions · first linked 2015-10-28
  5. Thoughts on Cypherpunks 2.0
    2 people · 2 mentions · first linked 2013-10-13

What Hacker News says?

  1. Do browsers still leak history info (eg http://zyan.scripts.mit.edu/sniffly/ ) is it possible to have a page show visitors if they are likely to be affected?

    Comment linking /sniffly/

    on “List of Sites Affected by Cloudflare's HTTPS Traffic Leak”
  2. Submitted Visiting Chelsea Manning in prison as a story · 344 points

    HN discussion
  3. In addition to Egor's stuff, I'd recommend just reading the "Privacy and Security Considerations" sections of various RFC's and W3C specs. Lots of theoretical attacks in there that people simply haven't built demos for! In case anyone's interested, slides are up at https://zyan.scripts.mit.edu/presentations/toorcon2015.pdf and talk recording at https://www.youtube.com/watch?v=kk2GkZv6Wjs

    Comment linking /presentations/toorcon2015.pdf

    on “Timing attack against HSTS to sniff browser history in Chrome and Firefox”
  4. Submitted Timing attack against HSTS to sniff browser history in Chrome and Firefox as a story · 257 points

    HN discussion
  5. In any case, I didn't minify or remove comments, so you can just view-source: http://zyan.scripts.mit.edu/sniffly/index.js

    Comment linking /sniffly/index.js

    on “Timing attack against HSTS to sniff browser history in Chrome and Firefox”
  6. Submitted Backdooring JavaScript using minifier bugs as a story · 211 points

    HN discussion
  7. A slide discussing HSTS+CSP attack (this one) and also HPKP attack: https://zyan.scripts.mit.edu/presentations/toorcon2015.pdf

    Comment linking /presentations/toorcon2015.pdf

    on “Timing attack against HSTS to sniff browser history in Chrome and Firefox”
  8. Submitted New Tricks for Browser Fingerprinting [pdf] as a story · 81 points

    HN discussion
  9. I went to this talk last night and wrote a blog post in response to it: http://zyan.scripts.mit.edu/blog/thoughts-on-cypherpunks-2-0... The gist of it is that although the Cypherpunks 2.0 movement is doing fantastic pro-privacy work, it will eventually be constrained by the apathy of the average person who uses technology (aka, surveillance victim). I don't know how we can fight this, but we should try.

    Comment linking /blog/thoughts-on-cypherpunks-2-0/

    on “Cypherpunks 2.0”
  10. Submitted RSA conference site sends an ajax request per keystroke when entering password as a story · 11 points

    HN discussion
  11. That defends you from a different type of attack. That can't fix bugs in your compiler or minifier. See https://zyan.scripts.mit.edu/blog/backdooring-js/

    Comment linking /blog/backdooring-js/

    on “Security concerns with minified JavaScript code”
  12. Submitted A boring xss dissection as a story · 4 points

    HN discussion
  13. Read the linked article: https://zyan.scripts.mit.edu/blog/backdooring-js/ It has the answer to your question. Namely, you can write bugs that are exploitable that aren't present in the original source , that only appear in the minified output. Which means that a) it is a whole lot harder for someone to find (especially if it's something that is "obviously" correct), and b) it's plausibly deniable.

    Comment linking /blog/backdooring-js/

    on “Security concerns with minified JavaScript code”
  14. Submitted Happy Birthday Chelsea as a story · 2 points

    HN discussion
  15. No, you want the minified source to do something different but predictable so that nobody reading the source could spot the backdoor without knowledge of the bug. Here's an example: https://zyan.scripts.mit.edu/blog/backdooring-js/

    Comment linking /blog/backdooring-js/

    on “Security concerns with minified JavaScript code”
  16. Submitted Lessons from the ad blocker trenches as a story · 2 points

    HN discussion
  17. All of the interesting content is in the link provided in the list[1], and otherwise this is just a post about how debian should handle the security issues presented there. This might be a good candidate for having the link updated. [1]: https://zyan.scripts.mit.edu/blog/backdooring-js/

    Comment linking /blog/backdooring-js/

    on “Security concerns with minified JavaScript code”
  18. Submitted Certificate Transparency for PGP? as a story · 2 points

    HN discussion
  19. There are a number of ways (some patched) for sites to guess at your browsing history, such as the color of visited links or HSTS cache timing. https://zyan.scripts.mit.edu/blog/sniffly/

    Comment linking /blog/sniffly/

    on “Non-obvious indicators that a transaction might be fraudulent”
  20. Submitted Thoughts on Cypherpunks 2.0 as a story · 2 points

    HN discussion
  21. Sorry to TL;DR but 50 page PDFs can be opaque for discussion. The presentation takes a while to get around to it, but it's a way to see your browser history using cert pinning/redirection. Specifically (ab)using features in the browser that even the paranoid don't disable. And then using that information to fingerprint you. Demo: http://zyan.scripts.mit.edu/sniffly Code: https://github.com/diracdeltas/sniffly It's a…

    Comment linking /sniffly

    on “New Tricks for Browser Fingerprinting [pdf]”
  22. Submitted New Tricks for Browser Fingerprinting [pdf] as a story · 1 points

    HN discussion
  23. More Related Resources: GitHub: https://github.com/diracdeltas/sniffly Sniffly: http://zyan.scripts.mit.edu/sniffly/ Blog Post: https://zyan.scripts.mit.edu/blog/sniffly/

    Comment linking /blog/sniffly/

    on “Unpatched browser weaknesses can be exploited to track millions of Web users”
  24. Submitted Lessons from the ad blocker trenches as a story · 1 points

    HN discussion
  25. Submitted Lessons from the ad blocker trenches as a story · 1 points

    HN discussion
  26. Submitted Tips on Heartbleed recovery (other than "Change your password") as a story · 1 points

    HN discussion

Search all of HN for zyan.scripts.mit.edu

Linked by the same people?