frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rust vs. Go: Memory Management

https://poltora.dev/rust-vs-go-memory/
1•sibellavia•40s ago•0 comments

Relativistic Doppler Effect

https://en.wikipedia.org/wiki/Relativistic_Doppler_effect
1•ugur2nd•1m ago•0 comments

Show HN: StyleCast – Fast Inline CSS Parser for JavaScript/TypeScript

1•arikchakma•2m ago•0 comments

Grifters Say They've Made a Pill That Could Let You Live to 150

https://vice.com/en/article/scientists-say-theyve-made-a-pill-that-could-let-you-live-to-150
1•thomassmith65•6m ago•1 comments

Tesla Releases FSD Crash Data That Appears More Honest

https://www.forbes.com/sites/bradtempleton/2025/11/14/tesla-finally-releases-fsd-crash-data-that-...
2•xnx•8m ago•0 comments

Protect you from copying sensitive data to AI

https://github.com/happytaoer/prompt-security
1•TaoJiangx•10m ago•0 comments

We designed our new design system

https://medium.com/design-systems-collective/design-system-3-by-sigma-our-all-new-design-language...
1•ameeromidvar•12m ago•0 comments

A Better Shell (2019)

https://matklad.github.io/2019/11/16/a-better-shell.html
3•vinhnx•13m ago•0 comments

Caitriona Jennings smashes 100-mile world record

https://www.rte.ie/sport/athletics/2025/1109/1543037-donegals-jennings-smashes-100-mile-world-rec...
1•austinallegro•14m ago•0 comments

Spec-Driven Development: The Waterfall Strikes Back

https://marmelab.com/blog/2025/11/12/spec-driven-development-waterfall-strikes-back.html
3•vinhnx•14m ago•0 comments

Messing with Scraper Bots

https://herman.bearblog.dev/messing-with-bots/
2•HermanMartinus•24m ago•0 comments

RDP Port 3389: The Backbone of Remote Desktop Connections

1•EVAN1098•25m ago•0 comments

Oh Yeah? Forecasting Follies Around the 1929 Crash (1931/2018)

https://novelinvestor.com/oh-yeah-forecasting-follies-around-29-crash/
1•thomassmith65•30m ago•1 comments

Why OpenAI went into crisis PR mode Thursday

https://www.cnn.com/2025/11/06/tech/openai-backtracks-government-support-chip-investments
2•dataflow•33m ago•2 comments

World Othello Championship Finals

https://flipthedisc.com/live/320
2•Tepix•35m ago•1 comments

The Epstein Network

https://epstein-doc-explorer-1.onrender.com/
5•cratermoon•35m ago•0 comments

One of the hottest tool forever it's now for acquisition

https://flippa.com/12205760-ai-powered-personal-finance-saas-with-smart-analytics-ai-assistant-vo...
1•asaws•36m ago•0 comments

Show HN: Reimly–AI Landscape Design from Real Backyard Photos

https://reimly.com
2•Evanmo666•37m ago•0 comments

Show HN: J.E.S.S.– Open-Source Orbital AI Supercluster(Solar Swarms,1.3 GW Ring)

1•JonBaguley•46m ago•0 comments

MLS drops 'Season Pass' paywall, with all games available on Apple TV

https://www.theguardian.com/football/2025/nov/13/mls-season-pass-apple-tv
2•tosh•49m ago•0 comments

The Terminal Emulator

https://wizardzines.com/comics/meet-the-terminal-emulator/
1•vinhnx•50m ago•0 comments

I Trained an LLM to Write Prose with 8 Cents

https://www.enbao.me/posts
2•enbao•51m ago•0 comments

Test flight of yet another clone of Möwe, the wing used by Nausicaä [video]

https://www.youtube.com/watch?v=DXUuExL8Cac
1•The_suffocated•58m ago•0 comments

Correction: Anthropic attack did not have 1000/s requests

https://www.anthropic.com/news/disrupting-AI-espionage?correction
3•blazespin•59m ago•2 comments

US spy satellites built by SpaceX send signals in the "wrong direction"

https://arstechnica.com/tech-policy/2025/11/us-spy-satellites-built-by-spacex-send-signals-in-the...
2•chha•1h ago•0 comments

Making $1200 a month with a great idea that help AI App builders find customers

1•leadgrids•1h ago•0 comments

America Is a Banana Republic

https://chrishedges.substack.com/p/america-is-a-banana-republic-read
8•chmaynard•1h ago•0 comments

Piloting Group Chats in ChatGPT

https://openai.com/index/group-chats-in-chatgpt/
3•tamnd•1h ago•0 comments

UCSD Faculty Sound Alarm on Declining Student Skills

https://marginalrevolution.com/marginalrevolution/2025/11/ucsd-faculty-sound-alarm-on-declining-s...
6•josephcsible•1h ago•1 comments

Lingua Ignota

https://www.dcode.fr/lingua-ignota-code
2•jruohonen•1h ago•0 comments
Open in hackernews

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

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

Comments

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

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