frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Also Liked

https://foryou.club/also-liked
2•big_toast•2m ago•1 comments

Study: Infrasound likely a key factor in alleged hauntings

https://arstechnica.com/science/2026/04/that-spooky-sensation-likely-due-to-rumbling-pipes-not-sp...
2•ndr42•4m ago•0 comments

Below the Fold: Dashboard of NY Times Coverage 2000-26

https://tedalcorn.github.io/nyt/#tab=home
2•apwheele•4m ago•0 comments

DevResolve embed a support widget on your dev docs

https://devresolve.ai/
2•EthanWayne•5m ago•1 comments

Evolution of the vertebrate retina by repurposing ancestral median eye (2026)

https://www.cell.com/current-biology/fulltext/S0960-9822(25)01676-8?_returnURL=https%3A%2F%2Flink...
3•Eridanus2•8m ago•0 comments

Enabling Multi-Region Data Systems at Notion

https://www.notion.com/blog/enabling-multi-region-data-systems-at-notion
2•tanelpoder•8m ago•0 comments

The pgvector Tooling Landscape in 2026

https://github.com/grove/pg-trickle/blob/main/blog/pgvector-tooling-landscape.md
3•grove•8m ago•0 comments

Microsoft and OpenAI's famed AGI agreement is dead

https://www.theverge.com/ai-artificial-intelligence/918981/openai-microsoft-renegotiate-contract
2•einszwei•10m ago•1 comments

Google prepares credit system for Gemini and new image tools

https://www.testingcatalog.com/google-prepares-credit-system-for-gemini-and-new-image-tools-2/
2•gmays•11m ago•0 comments

China car giant BYD says it can thrive without US

https://www.bbc.com/news/articles/cy01ele412yo
7•devonnull•14m ago•1 comments

Are Chinese AI Models Risky?

https://www.rickmanelius.com/p/are-chinese-ai-models-risky
2•mooreds•14m ago•1 comments

Signed: A Portfolio for Investors

https://zachholman.com/posts/signed-a-portfolio-for-investors
2•mooreds•14m ago•0 comments

The legal showdown between Elon Musk and Sam Altman begins today

https://www.cbsnews.com/news/elon-musk-openai-lawsuit-trial-sam-altman/
4•rolph•15m ago•0 comments

Jetbrains Annual Report 2026

https://www.jetbrains.com/lp/annualreport-2026/
3•saikatsg•15m ago•0 comments

You have to have an account to read IMDB reviews now

https://old.reddit.com/r/enshittification/comments/1srjamd/you_have_to_have_an_account_to_read_im...
4•Markoff•16m ago•0 comments

Show HN: Open-source control layer for AI safely access production

https://github.com/hoophq/hoop
2•luisfdias•16m ago•0 comments

Do-Nothing Software Development

https://alexwennerberg.com/blog/2026-04-24-donothing.html
2•speckx•17m ago•0 comments

What Will It Take to Get A.I. Out of Schools?

https://www.newyorker.com/culture/progress-report/what-will-it-take-to-get-ai-out-of-schools
5•HotGarbage•17m ago•0 comments

OpenAI's Revolutionary AI Gadget Is a Phone?

https://gizmodo.com/openai-revolutionary-ai-gadget-is-a-phone-a-stinkin-phone-2000751129
2•dlx•17m ago•0 comments

Don't Stop Me from Pasting Passwords

https://ciamweekly.substack.com/p/dont-stop-me-from-pasting-passwords
2•mooreds•18m ago•0 comments

Functional Programming in Lean

https://leanprover.github.io/functional_programming_in_lean/
2•gurjeet•18m ago•0 comments

Sampling-Based NDV Estimation in Iceberg Tables

https://eng-floe.github.io/floecat/2026/04/20/estimating-ndv.html
2•tanelpoder•18m ago•0 comments

My Stratum-0 Atomic Clock

https://coverclock.blogspot.com/2017/05/my-stratum-0-atomic-clock_9.html
2•g0xA52A2A•19m ago•0 comments

Reported losses to scams on social media eight times higher than in 2020

https://www.ftc.gov/news-events/data-visualizations/data-spotlight/2026/04/reported-losses-scams-...
5•pseudolus•20m ago•0 comments

Tera – A Compiler‑Native UI Framework with Shared Runtime/AI Context

https://github.com/terajs/terajs
2•thecodergabe•22m ago•0 comments

Claude prompt-cache writes may not be immediately visible to the next request

https://github.com/anthropics/anthropic-sdk-python/issues/1451
2•myyke•22m ago•0 comments

Out-of-Place Artifact

https://en.wikipedia.org/wiki/Out-of-place_artifact
2•thebigship•23m ago•0 comments

Show HN: A tool after debugging too many RabbitMQ DLQ issues

https://queueforgehq.com
2•namrahov•24m ago•0 comments

Why I'm Adding an AI Disclosure to My Site

https://www.plagiarismtoday.com/2026/04/13/why-im-adding-an-ai-disclosure-to-my-site/
3•speckx•25m ago•0 comments

What Happens When A.I. Runs a Store in San Francisco?

https://www.nytimes.com/2026/04/21/us/san-francisco-store-managed-ai-agent.html
2•gmays•25m ago•0 comments
Open in hackernews

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

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

Comments

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

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