Hacker News

Top stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. F-Droid 2.0 (f-droid.org)
    265comments
  2. Show HN: Make cursed fonts like Times New Bastard (mitpit.com)
    71comments
  3. Show HN: Whiteboard (YC W26) – An open-source IDE for thoughtful software design (github.com/devdotfast)
    84comments
  4. Why is the liver so weirdly regenerative? (dynomight.substack.com)
    160comments
  5. Fearless SIMD v1.0 (linebender.org)
    31comments
  6. 2DWillNeverDie (2dwillneverdie.com)
    10comments
  7. Rails World 2026 Opening Keynote [video] (youtube.com)
    262comments
  8. Toyota is taking the Corolla electric (electrek.co)
    386comments
  9. My weird new hobby: Wandering around Tokyo on Google Maps (ahmedhossamdev.com)
    101comments
  10. Writing Parquet files using Haskell (datahaskell.org)
    2comments
  11. Using LLMs to trace alchemical knowledge and decode 17th century letters (resobscura.substack.com)
    14comments
  12. Google’s Project Suncatcher to put ML infrastructure in space (blog.google)
    220comments
  13. The Bayeux Tapestry: Woven by the Victors (historytoday.com)
    —discuss
  14. Two-tier encryption in the UK (macanorak.com)
    376comments
  15. Show HN: Koi.rest – watch some fish and regain your balance (koi.rest)
    36comments
  16. Sourcehut account takeover via build logs (XSS in ansi2html) (blog.arusekk.pl)
    12comments
  17. California is chasing wealth that has feet (landeconomics.org)
    424comments
  18. Book review: Is parallel programming hard, and, if so, what can you do about it? (ahelwer.ca)
    25comments
  19. Show HN: Air-gapped file encryption as self-decrypting HTML page (apeleg.com)
    14comments
  20. Security auditing in the age of (good enough) AI (trailofbits.com)
    5comments
  21. Stable (YC W20) Is Hiring Product Engineers (usestable.com)
    —discuss
  22. Early rogue AI agent activity and attempts to hack found on urlquery.net (transluce.org)
    244comments
  23. The Board Game of the Alpha Nerds (2014) (grantland.com)
    24comments
  24. Back and shoulder surgery is often worse than useless (economist.com)
    81comments
  25. The forgotten battle of East Lansing (eastlansinginfo.news)
    14comments
  26. Forging 1024-bit RSA signatures in nearly SNFS time [pdf] (iacr.org)
    9comments
  27. Geothermal heat map of US hot springs (soakingsprings.com)
    36comments
  28. WaveDigger: Dig into wireless signals to discover their physical locations (github.com/christianrowlands)
    18comments
  29. Motor Characterization for Small Running Robots (2016) (robot-daycare.com)
    1comments
  30. Tutoring company tells parents to save their money and 'use AI instead' (afr.com)
    145comments

Sourcehut account takeover via build logs (XSS in ansi2html)

76 pointsby 6h agoblog.arusekk.pl
12 comments
5h agoHN ↗

Really commendable work fixing up the upstream python project. I don't think there's anything to be embarrassed about in the timeline.

3h agoHN ↗

I would prefer to do a super proper disclosure with coordinated release dates and everything. My first submitting to SourceHut security ML ended up making the vuln existence somewhat public before upstream ever knew.

3h agoHN ↗

That might have been DNS, the website itself is on sourcehut pages. Should be fine now for a while.

5h agoHN ↗

I love sourcehut, and I can't really think anything to replace it. But here's my shot. It's a popular myth that independently from the project size, someone should always take the main stream product in the field than small projects because most of the people would use the main stream product and there's an higher chance that vulnerabilities get already exploited/recognized/fixed. Is that true or not? TL;DR: in the evaluation of such products (sourcehut but even self hosted stuff), should we also take account about the project history and the exposition to threats?

4h agoHN ↗

haven’t been properly rickrolled in years, wasn’t expecting that!

3h agoHN ↗

Oh my God, it's OSC 8 again. Because copy-pasting an URI from the terminal window is so 2003, and goodness gracious, having to look at an actual URL instead of an arbitrarily inaccurate description of it? That's, like, 1993. When I wrote my variant of ansi2html, I aggressively stripped out every C0 and C1, and all of the possible APC/DCS/OSC/PM sequences.

Meanwhile, internal links between different parts of a man page still don't exist (unless you use GNU Info but seriously, I'd rather use lynx on a folder of HTML files instead).

2h agoHN ↗

OSC 8 hyperlinks are extremely useful for tables and other kinds of compact displays.

31m agoHN ↗

They're also extremely useful for introducing CVEs into terminal emulators; I think I've seen about 5 of those on HN — including one OSC sequence that would cause the terminal emulator to just straight up automatically launch the web browser with whatever URLs were sent its way, no prompts no nothing.

1h agoHN ↗

Build logs are such a tricky attack surface; sanitizing arbitrary build output is practically impossible without breaking useful formatting. Always assume untrusted input.