frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

What a chatbot thinks about Meta (reader discretion advised)

https://viewreplyy.com/share/galactico/4w1b485
1•galactic_atom•10m ago•0 comments

LLM Council: query multiple LLMs, and asks them to rank each other's work

https://github.com/karpathy/llm-council
1•maxloh•11m ago•0 comments

Ask HN: What browser do you use?

1•whatever3•12m ago•0 comments

Abstracting cloud infra software from vendor hardware with K8s

https://runos.com/blog/why-we-built-runos.html
1•didierbreedt•14m ago•0 comments

20x Faster TRL Fine-Tuning with RapidFire AI

https://huggingface.co/blog/rapidfireai
1•ibobev•20m ago•0 comments

NaTex: Seamless Texture Generation as Latent Color Diffusion

https://natex-ldm.github.io/
2•GaggiX•23m ago•0 comments

Gemini 3 Hype Makes Larry Page Third Richest Man

https://vechron.com/2025/11/larry-page-overtakes-jeff-bezos-to-become-third-richest/
11•GeorgeWoff25•24m ago•0 comments

GitHub have added social logins

https://github.com/signup
1•aiiizzz•24m ago•1 comments

Julia for Microcontrollers and Embedded Environments

https://joel.id/julia-my-love/
2•wagerlabs•25m ago•1 comments

Lex Fridman Podcast: Truth, Science, and Censorship in a Pandemic (2021) [video]

https://www.youtube.com/watch?v=TG6BuSjwP4o
1•g42gregory•27m ago•0 comments

Letter from Codeberg: Onwards and Upwards

https://blog.codeberg.org/letter-from-codeberg-onwards-and-upwards.html
1•birdculture•31m ago•1 comments

Parallel Threads in Racket v9.0

https://blog.racket-lang.org/2025/11/parallel-threads.html
2•Bogdanp•32m ago•0 comments

Show HN: Share Kindle Scribe Notebooks to Cloud Storage

https://docgenie.co.uk
1•qwikhost•37m ago•0 comments

A boilerplate that generates your MicroSaaS using AI planning agents

https://www.startupkit.today/#pricing
1•VladCovaci•39m ago•0 comments

Four Ways to Explain Anything ... but Not Everything to Everyone (2010)

https://www.psychologytoday.com/us/blog/the-good-life/201007/four-ways-explain-anything-not-every...
2•asplake•42m ago•0 comments

After my dad died, we found the love letters

https://www.jenn.site/after-my-dad-died-we-found-the-love-letters/
2•eatitraw•52m ago•0 comments

Life after chatbots: Meet the 'AI vegans' refusing to accept a virtual reality

https://www.euronews.com/next/2025/11/22/life-after-chatbots-meet-the-ai-vegans-refusing-to-accep...
1•nis0s•53m ago•0 comments

Ask HN: NPM docs re. changes to auth, token management are a mess, what to do?

1•DemocracyFTW2•54m ago•1 comments

Accessible Dice Guide for Blind and Visually Impaired People

https://knightsofthebraille.com/2025/11/22/accessible-dice-guide-for-blind-visually-impaired-people/
1•robin_reala•56m ago•0 comments

Lean4: How the theorem prover works and why it's the new competitive edge in AI

https://venturebeat.com/ai/lean4-how-the-theorem-prover-works-and-why-its-the-new-competitive-edg...
2•salkahfi•59m ago•0 comments

A detailed critique of modern C++ in two hours

https://www.youtube.com/watch?v=7fGB-hjc2Gc
1•GeneralMaximus•1h ago•0 comments

95% of AI pilot projects fail

https://www.forbes.com/sites/andreahill/2025/08/21/why-95-of-ai-pilots-fail-and-what-business-lea...
4•warrenmiller•1h ago•0 comments

Qsp: A simple S-Expression parser for Rust TokenStreams

https://github.com/KnorrFG/qsp
1•todsacerdoti•1h ago•0 comments

Peak of Empires: Age of Empires Demake

https://taxicomics.itch.io/age-of-pico
1•memalign•1h ago•0 comments

Be the first to know with this(many in one)

https://catch-words.vercel.app
1•ardi_c_cc•1h ago•1 comments

Tree-me: Because Git worktrees shouldn't be a chore

https://haacked.com/archive/2025/11/21/tree-me/
1•itsbjoern•1h ago•0 comments

Apps for Gnome

https://apps.gnome.org
1•shaunpud•1h ago•0 comments

EU bends to US pressure again by changing AI Act

https://davekeating.substack.com/p/eu-bends-to-us-pressure-again-by
3•slow_typist•1h ago•0 comments

Gemini has no idea about Google Antigravity despite evidence

https://bsky.app/profile/did:plc:wxpcoy7so75okdy44mktf7zt/post/3m6btvntymk2w
1•hanifbbz•1h ago•0 comments

Impact of Decreasing Housing Affordability on Consumption, Work Effort

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5770722
2•carabiner•1h ago•1 comments
Open in hackernews

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

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

Comments

blueflow•6mo 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•6mo 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•6mo ago
Imagine running

  curl --proxy-header "X-Test: $UNTRUSTED_USER_INPUT"
wang_li•6mo ago
That is not a bug in curl, at most it's a bug in whatever gathered $UNTRUSTED_USER_INPUT.
flotzam•6mo 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•6mo ago
Then the people assuming random things without doing research are to blame, not curl.
flotzam•6mo ago
Apportioning blame doesn't get rid of bugs; misuse resistant APIs do.
blueflow•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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•6mo 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.