frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Libcusort – A radix sort for modern Nvidia GPUs

https://github.com/IlyaGrebnov/libcusort
1•grebnov•43s ago•0 comments

Struggles for the Future: How has the idea of revolution changed?

https://www.thenation.com/article/society/revolution-to-come-thucydides-to-lenin/
1•Thevet•48s ago•0 comments

Tesla moving Full Self-Driving to a monthly subscription

https://www.cnbc.com/2026/01/14/musk-tesla-full-self-driving-subscription-fsd.html
1•leopoldj•1m ago•0 comments

TruffleRuby 33 Is Released

https://truffleruby.dev/blog/truffleruby-33-is-released
1•ksec•1m ago•0 comments

Uganda cuts internet days before presidential election

https://www.aljazeera.com/news/2026/1/13/uganda-cuts-internet-days-before-presidential-election
1•randycupertino•1m ago•1 comments

Matthew McConaughey trademarks himself to fight AI misuse

https://www.msn.com/en-in/entertainment/celebrities/matthew-mcconaughey-trademarks-himself-to-fig...
2•busymom0•2m ago•0 comments

Iran's internet kill switch project in final stages

https://www.iranintl.com/en/202601145172
1•pinewurst•2m ago•0 comments

Security Through Obscurity in the physical environment

https://attainablefelicity.mattkirkland.com/20260114/security-obscurity.html
1•matt_kirkland•4m ago•0 comments

Show HN: AIOStack – Using eBPF to Secure AI Services in Kubernetes

https://aurva.io
5•sniner•6m ago•0 comments

Remote Work's Impact on Productivity

https://arpitrage.substack.com/p/remote-works-impact-on-productivity
2•mooreds•8m ago•0 comments

How to fix your life in 1 day

https://twitter.com/thedankoe/status/2010751592346030461
1•7777777phil•9m ago•0 comments

How have prices changed in a year? NPR checked 114 items at Walmart

https://www.npr.org/2026/01/14/nx-s1-5638908/walmart-prices-inflation-affordability-shrinkflation
3•srameshc•11m ago•0 comments

How to Ask Good Questions

https://jvns.ca/blog/good-questions/
1•suioir•15m ago•0 comments

Show HN: Usage-aware QuickBooks sync for billing systems

https://twitter.com/tryflexprice/status/2011400912515035444
1•sudeepsd__•16m ago•1 comments

National Design Studio offers a rebrand of government services

https://www.archpaper.com/2025/12/national-design-studio-rebrand/
1•cdrnsf•16m ago•0 comments

Hive: Engineering at the Speed of AI

https://dust.tt/blog/engineering-at-the-speed-of-ai
1•spolu•16m ago•0 comments

Show HN: AwsmRenderer, a browser-native WebGPU renderer in Rust

https://dakom.github.io/awsm-renderer/
1•dakom•18m ago•1 comments

Run AI Agents in Lightweight Sandboxes

https://blog.gpkb.org/posts/ai-agent-sandbox/
2•traintestsplit•18m ago•0 comments

Shouldn't Work So Well WTF

https://www.academia.edu/145790753/One_Equation_200_Mysteries_A_Structural_Constraint_That_May_Ex...
2•kristintynski•20m ago•2 comments

Show HN: An async bulkhead for Java with explicit overload semantics

https://github.com/janbalangue/async-bulkhead
1•janbalangue•21m ago•0 comments

Show HN: Interactive Timeline of US Legislation (1975–Present)

https://www.chamberzero.com/
2•itta_e_ta•21m ago•1 comments

HTTP RateLimit Headers

https://dotat.at/@/2026-01-13-http-ratelimit.html
2•zdw•21m ago•1 comments

The Unbearable Frustration of Figuring Out APIs

https://blog.ar-ms.me/thoughts/translation-cli/
3•ezekg•22m ago•0 comments

Determinate Secure Packages: Nixpkgs with SBOMs, FIPS, and SLA'd CVE Patching

https://determinate.systems/blog/determinate-secure-packages/
2•grhmc•23m ago•1 comments

Java Data Oriented Programming Concept Proposal, Beyond Records

https://mail.openjdk.org/pipermail/amber-spec-experts/2026-January/004307.html
2•joe_mwangi•23m ago•0 comments

Google Gemini Introduces Personal Intelligence

https://blog.google/innovation-and-ai/products/gemini-app/personal-intelligence/
4•gopkarthik•25m ago•2 comments

Claude is not a senior engineer (yet)

https://www.approachwithalacrity.com/claude-ne/
4•bblcla•25m ago•0 comments

GitHub should charge everyone $1 more per month

https://blog.greg.technology/2025/11/27/github-should-charge-1-dollar-more-per-month.html
6•evakhoury•26m ago•0 comments

China's Hottest App Is a Daily Test of Whether You're Still Alive

https://www.wired.com/story/china-are-you-dead-yet-app/
3•saikatsg•28m ago•0 comments

She made a Facebook comment about her mayor. Then the police arrived

https://www.miamiherald.com/news/local/community/miami-dade/miami-beach/article314310054.html
4•jimt1234•28m 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.