Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 8y ago · link · parent

Counting vulnerabilities is entirely useless. You can easily attribute more vulns to better security, as it may indicate a larger/ better group of people are looking for vulnerabilities.

I actually find that is generally the case.

comment 8y ago · link · parent

OpenSSL can just as easily act as a point towards FOSS for privacy given that it was a vuln that was discovered externally (multiple times by distinct parties).

comment 8y ago · link · parent

This doesn't address what they just said - dropping privileges incrementally. Firejail is just a whole process filter applied at process start.

comment 8y ago · link · parent

This won't happen. But Java is likely to get value types, which would be non-null just as in other languages with value types.

The issue of Optional<T> being nullable is an extremely uncommon one - I have seen it happen once ever, and there were way bigger issues going on that happened to manifest that way. It's one of those "that's dumb but ultimately makes no difference" problems that many languages have.

comment 8y ago · link · parent

That doesn't make it ok to be the one to fill it.

comment 8y ago · link · parent

So are you saying that we don't encourage unpaid labor with open source? Are you saying that companies choose OSS for non-business reasons?

comment 8y ago · link · parent

All companies that embrace open source do it because it's good for business. It's a seemingly unlimited resource that accounts for billions (made up number, feels reasonable) of dollars of unpaid labor.

It was always stupid to be against OSS from a business perspective and so long as developers hand over their IP on a platter it always will be - Microsoft would be really stupid to turn away free money, and they seem to realize this now.

comment 8y ago · link · parent

I kept reading, waiting for the insidious part. So what you're saying is that Microsoft has a company wide strategic vision to improve its relationship with developers?

Did you leave some part out?

comment 8y ago · link · parent

Yeah, it was a really low content post, for sure. It didn't have much to do with the article at all - or even the same organization, technically.

And in every topic like this, ones about Mozilla's spending (or sometimes Chrome or any other org that has a popular, free product), someone feels the need to say "but why not this one bug that I harp on?" really, really consistently.

comment 8y ago · link · parent

Yeah, I actually only remembered the bit about 'package.json' and not the other quotes as well lol

comment 8y ago · link · parent

Yeah, I remembered the package.json bit, but that part still had nothing related to the issues/ mistakes mentioned.

comment 8y ago · link · parent

> red wine is good for your heart, you don't need to exercise you can just drink

lalalalala I can't hear you

comment 8y ago · link · parent

Oh, please. If you want to throw stones about behavior in the Linux kernel you're going to need to throw them at a hell of a lot more people than Grsec - there's decades of shit piled up.

Linus has always been a total blowhard when it comes to... everything, but in particular when it comes to security. I wouldn't take his opinions too seriously on the matter.

The fact is that grsec still maintains the state of the art for memory safety mitigations.

comment 8y ago · link · parent

This stuff isn't relevant at all to the talk - he never talks about npm or anything to do with package managers but instead how node does imports etc.

But anyways, [2] is at least a problem in many other package repositories. [1] would probably be a problem for many - given legal pressure (vendor your shit, that's the solution). [3] was a bug, not a design issue - no package management system is immune to bugs.

The one thing Java has is that it uses namespaces, which may help with [2] (but barely). [2] certainly has been a problem in PyPI.

Certainly all of this could happen to PyPI. We see it happen with js more, I think, because js happens to be extremely popular so there's a ton of packages for it and it's also much younger (especially node) than others.

comment 8y ago · link · parent

Nice - can't have a Mozilla related article without someone posting their pet bug.

comment 8y ago · link · parent

It seems obviously more complicated than that, otherwise the bay area wouldn't be what it is.

comment 8y ago · link · parent

How often does C add things like this in general? I want to say... basically never?

You're free to roll your own String type that has the length. No clue why people don't just do that though (I assume many do, but obviously a ton do not).

comment 8y ago · link · parent

Well, it's more like if the nuts had an unknown reaction, and the idea was to figure out what the reaction was by slipping it into some cake, and then observing.

comment 8y ago · link · parent

> but I do not recall an explicit prompt about Google collecting my location history in this way.

Weird, I'm pretty sure with my new Android phone, upon booting it up for the first time, I had to opt in to location services and a little popup explained exactly what it was doing.

comment 8y ago · link · parent

Why are you even talking about C let alone OO-in-C?

> After a quarter century of OOP, including years with C++, I still do not understand why it exists or what problems it actually solves.

This is what I was responding to.

comment 8y ago · link · parent

Encapsulation. Hope this helps.

comment 8y ago · link · parent

Really? Just have your CI reject builds that don't lint...

comment 8y ago · link · parent

This boogeyman of "pointless arguments" is so strange.

Other than on the internet, I've never experienced pointless bikeshed arguments. So long as within an organization you keep the same standards, what difference does it make? Everywhere I've worked does this and it's fine - and allows us to be break from patterns handed down to us from people doing a different job.

comment 8y ago · link · parent

> Cisco hasn't owned Linksys in years

I didn't say they did... I was providing two examples. I wouldn't call linksys tiny, either.

You're assuming a lot about the costs of this liability for a made up law with no defined penalty.

Maybe if companies building software can't afford to keep it safe... they shouldn't be companies? Is that so controversial?

comment 8y ago · link · parent

> No, I am not asking for a hard number, I specifically asked for a ballpark.

Yes, and it's a fake law that doesn't exist. How would I possibly answer this?

Off handedly, I'd say that the fine could really range depending on a lot of things. Was this an outdated version of OpenSSL that they just didn't patch? Was it a programmer error using the library? A 0day? All of these things would probably make a big different - charging companies for 0days in 3rd party code, in at least many cases, would not make sense.

> I agree, but slapping fines of developers for using openssl to enhance security makes it a bit hard for anyone to afford putting any extra money towards security

At some point if companies can't afford to keep users safe maybe they just shouldn't be companies. And if we're talking about router companies, they have the cash.

> why you and every other serious developer would be sued out of existence unless you propose obscenely small fines

I would imagine instead that companies would have insurance around these issues to cover developers, but again, the legal components of this are not something I'd want to get into since I'm not qualified to.

comment 8y ago · link · parent

wat

you mean like, say, routing all of the traffic from my system to the internet?

comment 8y ago · link · parent

Yes, I have.

> Since you believe that you are liable, can you give me a ballpark of how much money you think you personally should be sued for because you deployed something using openssl?

This is a really ridiculous question. I've already stated that these things are complicated - you're asking for a hard number?

Companies should take responsibility for their users data, which includes understanding the risk involved in third party libraries they use.

If they're concerned about fees, invest in the security of the project you're using.

But this is all based on some hypothetical, undefined 'law', so arguing about the specific mechanics is pointless.

comment 8y ago · link · parent

Cisco is a Fly By Night IOT Corporation? Linksys?
1
148149150
164