Hacker Newsnew | past | comments | ask | show | jobs | submit | Kuinox's commentslogin

nuget have targets, and allow to run code on build, it doesn't have this problem because there is less dependencies.

Mosts packages manager, allow that.

pnpm can still be exposed, afterall the worm simply have to wait you run tests locally.


You can isolate it through bubblewrap; I moaned about it here and there's no point in repeating it:

https://news.ycombinator.com/item?id=45041798

If you only ever use js/ts for frontend projects (like we do), it closes one major hole that I'm aware of, which still leaves at least two:

- the editor possibly starting random binaries from inside the mode_modules (such as biome, vitest, tsgo)

- escape from sandbox by using some kernel vulnerability, of which there have been many recently


I suppose.

But that's a "Perfect is the enemy of good"-like argument. Wherein: Why even reduce an easy to exploit attack surface when there could be holes elsewhere?! Because, you know, it makes things much more secure even if imperfect.

Plus, to me, it is a culture issue. npm just doesn't take security seriously, so we don't see these improvements, and if there was additional test hardening later, I don't expect we'd see them in npm either. Since, they just don't care.


The biggest problem is not software but culture, not at npm, but in the js ecosystem. The js ecosystem is simply a juicy targets, the attack surface is enormous. The attacker can make their attack more sophisticated, there will always be a maintainer that can seed the worm spread.

Meanwhile in the nuget ecosystem is way smaller and have way less mainteners involved for a single given dependency.


I'd go further and say that how JS and the web itself has been run over the years has predisposed it to this sort of thing.

JS didn't have a passable stdlib until ES6. It had bugs built into it because Eich was given a stupidly short time window to deliver the first version. Everyone (particularly MS) had (and still sort of do) their own way of interpreting the language. In spite of all of this it became the primary way of developing applications for public consumption.

This led to a bunch of people who wanted to be the 10x JS engineer to solve problems with their own libraries and technologies. None of them really talked, they just threw their packages on NPM's registry without second thought and some gained widespread use just by accident.

Google tried fixing some of this with Dart but chickened out at the last second. TypeScript was designed by someone competent but can't fix the larger cultural issues.

This is what happens when you put SV hubris and "moving fast and breaking things" over doing things the right way.


Yes this is kinda my point. Instead of having a few projects/org, it's a constellation of packages too small, it's impossible to know who you depend on when adding a dependency.

> Why even reduce an easy to exploit attack surface when there could be holes elsewhere?! Because, you know, it makes things much more secure even if imperfect.

I'm still trying to calibrate my take on this view.

If attacks are randomly chosen from the set of all potential vulnerabilities, without the attacker knowing which ones had been patched, then that logic clearly makes sense.

But in an adversarial situation where the attacker can guess which vulnerabilities you still have unpatched, or can try many different attack vectors, then having already patched some other vulnerabilities doesn't matter so much.

I guess reality is more complicated though.


I do not believe that Qwant can produce something good, they always were a company to extract money from the french taxpayer to wrap bing results.

It's not the visa/mastercard that offer chargeback, but the bank.


How dare OSS devs get paid.


It’s not really “OSS devs getting paid” if they stop being OSS developers to get paid


Given that we don't know what Tim will be working on at Anthropic, given his history of commitment to open source, it seems a bit early to say he's stopped being an OSS developer just because he's changed jobs. Anthropic has done a lot for open source, specifically giving Mozilla access to Mythos to patch Firefox before they release it to the world.


> Anthropic has done a lot for open source, specifically giving Mozilla access to Mythos to patch Firefox before they release it to the world.

So generous, helping fix the problem they created. The fire department who went around setting fires.

To be clear, i’m not coming for Tim, or anyone else who moved from OSS to closed when it was the right choice for them. Get paid! I have written code for pay and for free - getting paid is nicer. But anthropic isn’t exactly a bastion of open source community, and my default assumption is anybody who joins a massive frontier llm company will be working on closed source projects.


I didn't managed to find the tests. How can we know that the tests are actually reasonable in this case ?


2 of the first 4 "website is not responding", are actually responding...


Why is there an eu github status then ? https://eu.githubstatus.com/uptime


Data residency is a thing.


And how would that explain the way higher SLA ?


They are not used in europe. The first time I saw one was in Japan last week.

We have portable triangle reflector in Europe that are in every truck or car.


Never managed to make it work in background.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: