frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I automated a slideshow for my birthday party

https://joeiq.com/blog/birthday-slideshow/
1•joeiq•2m ago•1 comments

Anthropic goes nude, exposes Claude Code source by accident

https://www.theregister.com/2026/03/31/anthropic_claude_code_source_code/
1•Bender•4m ago•0 comments

Don't open that WhatsApp message, Microsoft warns

https://www.theregister.com/2026/03/31/whatsapp_message_bad_msi_packages/
1•Bender•5m ago•0 comments

Neanderthals survived on a knife's edge for 350k years

https://www.science.org/content/article/neanderthals-survived-knife-s-edge-350-000-years
1•Hooke•5m ago•0 comments

Book Recommendation Prompt for Introspective People

https://joeiq.com/blog/book-recommendation-prompt/
1•joeiq•5m ago•1 comments

Early Observations from Interviews with Engineering Teams Adopting AI

https://jonathannen.com/observations-from-interviews/
1•jwilliams•6m ago•0 comments

Life after California: People find dramatically lower costs, buy homes

https://www.latimes.com/california/story/2026-03-31/life-after-california-people-find-dramaticall...
1•lxm•9m ago•0 comments

Goodbye (Once Again)

https://digg.com
3•funnyenough•11m ago•3 comments

Show HN: Tarot for Yarn Spinner

https://www.yarnspinner.dev/blog/tarot-yarn-spinner/
1•parisidau•11m ago•0 comments

Groups.io (Email Groups Software)

https://groups.io/
1•kaladin-jasnah•16m ago•0 comments

Show HN: WMB-100K – Open benchmark for AI memory systems at 100K turns

https://github.com/Irina1920/WMB-100K
1•wontopos•17m ago•0 comments

I built an AI talent platform that matches people by capability, not CVS

https://talentblender.com
1•seraph2000•19m ago•1 comments

Nvidia AI Ecosystem Expands as Marvell Joins Forces Through NVLink Fusion

https://nvidianews.nvidia.com/news/nvidia-ai-ecosystem-expands-as-marvell-joins-forces-through-nv...
1•doener•21m ago•0 comments

Silicon Valley city to give residents doorbells equipped with cameras

https://www.theguardian.com/technology/2026/mar/31/silicon-valley-milpitas-doorbell-cameras
1•mitchbob•22m ago•1 comments

Trump's Birthright Citizenship Order Supreme Court: Splits Conservative Scholars

https://www.nytimes.com/2026/03/30/us/politics/supreme-court-trump-birthright-conservatives.html
2•KnuthIsGod•23m ago•0 comments

Show HN: Live simulation of AI agents scamming each other (and getting caught)

http://5.161.255.238:8888
1•viftode4•24m ago•0 comments

A fun Jupyter/JupyterLite for high school students

https://labs.quansight.org/blog/jupyter-everywhere
2•agriyakhetarpal•31m ago•0 comments

The JetStream 3 Benchmark Suite

https://webkit.org/blog/17899/introducing-the-jetstream-3-benchmark-suite/
1•zdw•32m ago•0 comments

CMU Best Practices for Large Language Models

https://guides.library.cmu.edu/LLM_best_practices
2•walterbell•32m ago•0 comments

Robotaxi companies refuse to say how often their AVs need remote help

https://techcrunch.com/2026/03/31/robotaxi-companies-refuse-to-say-how-often-their-avs-need-remot...
1•ZeidJ•32m ago•0 comments

The price of intelligence: what legal AI agents cost

https://techlex.net/the-price-of-intelligence-what-legal-ai-agents-actually-cost/
1•antiviral0075•33m ago•0 comments

Letterboxd for Cafes – Looking for Feedback

1•teobe•33m ago•0 comments

Mercor Data Breach

https://twitter.com/DailyDarkWeb/status/2038822050039525464
2•chirau•35m ago•0 comments

Show HN: Cross Domain Intelligence – The Translation Problem in American R&D

https://docs.google.com/document/d/1J4Zbyr4jqQ2BWAJMGvyUI7AVI3I9DShR/edit?usp=sharing&ouid=106299...
1•LumiTharMan•35m ago•0 comments

Tell HN: Jellyfin Uses Axios

2•nodesocket•36m ago•0 comments

AT&T signs deal worth $2B to upgrade emergency cellular network

https://finance.yahoo.com/sectors/technology/articles/t-signs-deal-worth-2-214628742.html
2•ZeidJ•36m ago•0 comments

OpenAI Adds Another $12B to Latest Funding Round

https://www.nytimes.com/2026/03/31/technology/openai-12-billion-latest-funding-round.html
1•y1n0•37m ago•0 comments

Cellular Gateways and 5G Failover: Why Every Business Needs a Backup Connection

https://meraki.deal/blogs/news/cellular-gateways-5g-failover-business-backup-connection
1•novbox•40m ago•0 comments

Medieval chess: players, regardless of race, could engage as equals

https://phys.org/news/2026-03-medieval-chess-space-players-engage.html
1•y1n0•40m ago•0 comments

Project Ternary Shadow: US Military Is Lagging [pdf]

https://files.catbox.moe/fogrdf.pdf
1•sans_souse•40m ago•0 comments
Open in hackernews

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

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

Comments

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

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