frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I built a Gesture Layer for Claude Code–control agents passively while you work

https://twitter.com/adityas129/status/2009369774262993293
1•adityas129•1m ago•0 comments

The right place at the right time

https://bcantrill.dtrace.org/2026/01/08/the-right-place-at-the-right-time/
1•chmaynard•4m ago•0 comments

Claude Code did my taxes

https://klmn.sh/essays/claude-code-for-taxes
1•vklmn•4m ago•0 comments

Chuck E. Cheese's next act: 'I won't stop until we have a movie,' CEO says

https://www.fastcompany.com/91448506/chuck-e-cheese-chucks-arcade-pizza-games-restaurant-entertai...
1•petethomas•5m ago•0 comments

Show HN: Fast media compression terminal app – Inspired by Claude Code

https://github.com/saviomartin/sqsh
1•saviomartin•8m ago•0 comments

Monero Replaced Bitcoin on the Internet's Underground

https://darknetbible.info/news/how-monero-replaced-bitcoin-on-the-darknet/
2•lennychanuk•9m ago•1 comments

Biodata Sonification

https://electricityforprogress.com/
1•quijoteuniv•9m ago•0 comments

How I would grow tailwind to be default alive again

https://twitter.com/heyNaitik/status/2009343494796792034
1•heynaitik•9m ago•0 comments

In California's redwoods, scientists rebuild ecosystems high up in the canopy

https://news.mongabay.com/2025/12/in-californias-redwoods-scientists-rebuild-lost-ecosystems-high...
1•PaulHoule•10m ago•0 comments

Let's Call a Murder a Murder

https://daringfireball.net/2026/01/lets_call_a_murder_a_murder
15•hermitcrab•12m ago•1 comments

Snow HN: ~950 line inference engine, on par with vLLM

https://github.com/naklecha/simple-llm
2•naklecha•15m ago•0 comments

Yellopages – New tab Chrome extension

https://yellopages.kawaicheung.io/
1•kiwigod17•15m ago•0 comments

Tailwind Labs fired engineers while making –$1M from sponsors

1•danver0•17m ago•2 comments

Gritter Tracker – Traffic Scotland

https://www.traffic.gov.scot/gritter-tracker
2•robin_reala•17m ago•0 comments

Aharonov–Bohm interference in even-denominator fractional quantum Hall states

https://www.nature.com/articles/s41586-025-09891-2
1•bookofjoe•19m ago•0 comments

Trump Invoking 'Insurrection Act' Speculation Grows After ICE Shooting

https://www.newsweek.com/trump-insurrection-act-ice-shooting-walz-11328894
3•SilverElfin•19m ago•4 comments

Judges Question Key Copyright Test in Case over Miles Davis Tattoo

https://petapixel.com/2026/01/07/judges-question-key-copyright-test-in-photographers-case-against...
1•bahmboo•21m ago•0 comments

Americans by Name, Punished for Believing It

https://boltsmag.org/prosecuted-for-voting-american-samoans-alaska/
4•jaredwiener•21m ago•0 comments

Cas12a3 CRISPR System Targets tRNA Without Destroying Host Cell

https://www.genengnews.com/topics/genome-editing/cas12a3-crispr-system-targets-trna-without-destr...
2•7777777phil•22m ago•0 comments

AI Created This Game

https://www.pixelfork.ai/publish/35167c97-998d-4ba8-9808-fbe4ce17df77
3•fkhasiyev•23m ago•5 comments

Gov. Hochul seeks restrictions on 3D printers and ghost guns

https://gothamist.com/news/gov-hochul-seeks-restrictions-on-3d-printers-and-ghost-guns
3•kaladin-jasnah•24m ago•1 comments

Smaller than you thought: Putting the US AI boom(let) in perspective

https://www.ft.com/content/918fbc46-56a9-4225-b2cd-77fb4a532218
2•7777777phil•27m ago•0 comments

The Identity of Indiscernibles (1952)

https://www.jstor.org/stable/2252291
1•measurablefunc•27m ago•0 comments

Former Google CEO Eric Schmidt accused of rape, surveillance by ex-mistress

https://www.news.com.au/world/north-america/former-google-ceo-eric-schmidt-accused-of-rape-survei...
3•xqcgrek2•29m ago•2 comments

Virginia Faulkner: Writer, Editor and Ghostwriter?

https://lithub.com/virginia-faulkner-writer-editor-and-ghostwriter/
1•samclemens•30m ago•0 comments

A US-China War Would Be a Catastrophe for Everyone

https://medium.com/@gp2030/a-us-china-war-would-be-a-catastrophe-for-everyone-1bfdc6991b15
2•light_triad•32m ago•1 comments

Mabl vs. Mechasm: From low-code recordings to agentic E2E testing

https://mechasm.ai/blog/mabl-vs-mechasm
1•sleepless02•33m ago•1 comments

Flint Confirms Biodegradable Paper Batteries Are Now in Production

https://audioxpress.com/news/flint-confirms-biodegradable-paper-batteries-are-now-in-production
2•rmason•35m ago•0 comments

Who's ranking for 'vibe coding' in the USA?

https://seo-landscape-vibe-coding.netlify.app/
1•astonfred•36m ago•0 comments

Why SemVer fails when you patch old versions and what to do instead

https://beza1e1.tuxen.de/patching_old_versions.html
1•todsacerdoti•39m ago•0 comments
Open in hackernews

CRLF Injection in `–proxy-header` allows extra HTTP headers (CWE-93)

https://hackerone.com/reports/3133379
11•oblivionsage•7mo ago

Comments

blueflow•7mo ago
Check the man-page first. You need to know how a program is supposed to behave before you can know that an observed behavior is off-spec and warrants a bug.
robertlagrant•7mo ago
I don't understand the "This is not supposed to happen". Can someone explain?

To me this is the same as

  --proxy-header "X-Test: hello" --proxy-header "X-Evil: owned"
flotzam•7mo ago
Imagine running

  curl --proxy-header "X-Test: $UNTRUSTED_USER_INPUT"
wang_li•7mo ago
That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.
flotzam•7mo ago
People still expect an API to reject illegal values. Calling the parameter --proxy-header (singular) could lead someone to assume that multiline strings are illegal values, even if there's a note in the docs somewhere saying otherwise.
blueflow•7mo ago
Then the people assuming random things without doing research are to blame, not curl.
flotzam•7mo ago
Apportioning blame doesn't get rid of bugs; misuse resistant APIs do.
blueflow•7mo ago
Reading docs ("research") is essential part of engineering.

Lets ask the question reversed: How did people know in the first place what kind of string they need to give to --proxy-header?

flotzam•7mo ago
> Reading docs ("research") is essential part of engineering.

Sure, but so is safety engineering. Making mechanisms more obvious to use correctly or fail safe if used incorrectly improves outcomes when flawed human beings use them. It also makes them more pleasant to use in general.

Besides, look at the man page in question. It's talking about this in terms of encoding niceties and doesn't even spell out the possibility of deliberate, let alone malicious multiline values:

"curl makes sure that each header you add/replace is sent with the proper end-of-line marker, you should thus not add that as a part of the header content: do not add newlines or carriage returns, they only mess things up for you."

That's inducing a wrong/incomplete mental model of how this parameter works.

blueflow•7mo ago
> doesn't even spell out the possibility of deliberate, ... multiline values

It does for me, as any kind of extra newlines results in a multi-line string.

> ... malicious ...

Like Daniel said, garbage in, garbage out. If you pass user inputs to curl, one should check what curl does with these values and take proper care.

robertlagrant•7mo ago
> do not add newlines or carriage returns, they only mess things up for you

I disagree, but I would say that curl might as well add this as a validation check than a documentation warning.

blueflow•7mo ago
This is explained in the ticket:

  One of the reasons we still allow that is that this "feature" was used quite deliberately by users in the past and I have hesitated to change that for the risk that it will break some users use cases.
robertlagrant•7mo ago
Yes, I'm not sure if I agree with this or not. Those users don't have to upgrade. But obviously I'm not maintaining a key tool for the world. It's just my opinion.
soraminazuki•7mo ago
One shouldn't construct shell commands from untrusted user input in the first place unless they know exactly what they're doing and is aware of all the pitfalls. It's the worst possible tool to be using if the aim is to avoid security issues with minimal effort. Debating about this particular curl quirk distracts from the bigger issue IMO.
robertlagrant•7mo ago
> That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.

But that could just contain the bad header only, could it not?

jeroenhd•7mo ago
I suppose it kind of depends. I agree with the curl team here that this is a case of garbage in/garbage out, but I can imagine this going wrong with a binary protocol like HTTP2 on the front and a text protocol like HTTP 1.1 behind a reverse proxy. The \r\n will make it to the proxy as a separate header, but will be turned into two headers on the upstream.

That said, this would be a (reverse) proxy vulnerability, not one in curl.

ale42•7mo ago
I'm not sure where is the security issue here. As already noted, one can just put several --proxy-header arguments, so the functionality is equivalent.

The only way this would do something unexpected (and not necessarily dangerous besides breaking the service) would be if the curl command would be used in a scenario like: (1) curl is used by some script to access some API or other URL, (2) a user can configure the script to give a specific value to an header, let's say an authentication token or similar, but the user can't directly alter the curl command (e.g. because they can only change URL and TOKEN with a web interface). Here the user would be able to add an header IF the script is not properly sanitizing the input (so the supposed security issue IMHO would be in the script), but if adding an additional header breaks security, the underlying system has a problem too...

In a very far-stretched scenario, one can possibly add two CRLFs and have the rest of the header (if any) considered by the server as data. IF the request is a POST/PUT/... request, and IF the server returns (or allows later access to) the data, and IF the attacker manipulating the supposedly-restricted single-header can see the output of the call (or retrieve the saved data), then we'd have an information disclosure issue. Would it disclose anything sensitive? Not sure, unless there's an auth token or something AFTER the header. And again, I'd rather incriminate the curl caller for not sanitizing the input if this happens.