frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: AI Agents took my programming job. What can I do?

1•butILoveLife•1m ago•0 comments

Jeff Kaplan: World of Warcraft, Overwatch, Blizzard, and Future of Gaming [video]

https://www.youtube.com/watch?v=H9rF1CSSh-w
1•neko_ranger•2m ago•0 comments

High court claimant was fed answers through his smart glasses, judge finds

https://www.theguardian.com/uk-news/2026/mar/13/high-court-smart-glasses-fed-answers-evidence
1•chrisjj•3m ago•0 comments

The Stalk Market

https://www.stalk-market.com
1•mooreds•5m ago•0 comments

Election Data Handed over to the FBI in Maricopa County Could Be Fatally Flawed

https://www.propublica.org/article/maricopa-county-arizona-election-records-fbi
1•hn_acker•5m ago•1 comments

Proton's Swiss Myth: US Jurisdiction via Cloudflare and FAA Arbitration Clauses

1•MissMajordazure•6m ago•0 comments

Show HN: CaliVibe – Explore California Neighbourhoods

https://trekhleb.dev/cali-vibe/
1•trekhleb•6m ago•0 comments

The race to solve the biggest problem in quantum computing

https://www.newscientist.com/article/2518974-the-race-to-solve-the-biggest-problem-in-quantum-com...
1•Brajeshwar•6m ago•0 comments

Boulder's middle-income down payment program drew zero applicants in 3 years

https://boulderreportinglab.org/2026/03/12/boulders-middle-income-down-payment-program-drew-zero-...
1•mooreds•6m ago•0 comments

Sandcat – Docker and dev container setup for securely running AI agents

https://github.com/VirtusLab/sandcat
4•mihau•7m ago•0 comments

Show HN: Fine-tuned 3B outperforms Claude Haiku on constrained generation

https://serendip-ml.github.io/fine-tuned-3b-beats-haiku/
1•serendip-ml•7m ago•0 comments

New Tools Added

https://everytool.solutions/
1•Mihir1426•7m ago•1 comments

What Crystals Older Than the Sun Reveal About the Start of the Solar System

https://www.quantamagazine.org/what-crystals-older-than-the-sun-reveal-about-the-start-of-the-sol...
1•colinprince•8m ago•0 comments

Comparing income and hours worked across countries and states for the bottom 95%

https://bsky.app/profile/jakemgrumbach.bsky.social/post/3mgdis6q3oc2o
2•colinprince•8m ago•0 comments

The Uncomfortable

https://www.theuncomfortable.com/
1•bookofjoe•11m ago•0 comments

Show HN: Every AI tool claims to be revolutionary. We built a place to test it

https://glad-ia-tor.com/
2•Enjoyooor•11m ago•0 comments

Four crew members killed after US refuelling plane crashes in Iraq

https://www.bbc.com/news/articles/cy0dz5ql17vo
6•tartoran•11m ago•0 comments

Sharing encrypted files in a single HTML file

https://blog.alcazarsec.com/posts/portable-secret-use-cases
1•alcazar•12m ago•0 comments

AI Software Tells Cops to Arrest the Wrong Guy

https://thecivilrightslawyer.com/2026/03/11/ai-software-tells-cops-to-arrest-the-wrong-guy/
2•FinnKuhn•13m ago•1 comments

A Brief History of Software Engineering (Wirth: 2008) [pdf]

https://people.inf.ethz.ch/wirth/Miscellaneous/IEEE-Annals.pdf
1•recursivedoubts•15m ago•0 comments

'Comatose' Mojtaba Khamenei 'is unaware he is supreme leader'

https://www.dailymail.co.uk/news/article-15642237/Mojtaba-Khamenei-UNAWARE-war-coma.html
1•Bender•15m ago•1 comments

Immersive Navigation is Google Maps' biggest upgrade in a decade

https://www.androidpolice.com/google-maps-immersive-navigation-ask-maps-chat-rollout/
2•golfer•15m ago•0 comments

Meta to Deploy Four New In-House Chips to Handle AI

https://www.bloomberg.com/news/articles/2026-03-11/meta-preparing-to-deploy-four-new-homegrown-ch...
1•gmays•17m ago•0 comments

California Considers Grizzly Reintroduction Plan That Could Use Wyoming Bears

https://cowboystatedaily.com/2026/03/12/california-considers-grizzly-reintroduction-plan-that-cou...
1•Bender•18m ago•0 comments

Pentagon needs more missile interceptors; Artemis II clears review

https://arstechnica.com/space/2026/03/rocket-report-pentagon-needs-more-missile-interceptors-arte...
1•Bender•19m ago•0 comments

Show HN: HealUp – Task execution app that hides your todo list on purpose

https://www.healup.me
1•neshwa35•19m ago•0 comments

Software Bonkers

https://craigmod.com/essays/software_bonkers/
1•Tomte•19m ago•0 comments

Puppet Agent OS Support EOL: 90 Day Notice

https://groups.google.com/g/puppet-announce/c/7awnfHR0ZEg?pli=1
1•mooreds•19m ago•0 comments

Parallels Confirms MacBook Neo Can Run Windows in a Virtual Machine

https://www.macrumors.com/2026/03/13/macbook-neo-runs-windows-11-vm/
2•tosh•19m ago•0 comments

Show HN: Argus – AI agent that investigates infra anomalies and proposes fixes

https://github.com/precious112/Argus
1•PreciousH•20m ago•1 comments
Open in hackernews

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

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

Comments

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

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