So, question from AntiTomic. Hey, for us awesome and very useful talk. Thanks. I also really like how Socket sounds like. What do you think about the solutions like NPM audit? And is it better to use the solution like Socket and similar?
Well, I guess. Yeah. So, I think that NPM audit is great. It's awesome to have vulnerability reporting built into NPM directly. So, it can tell you when you're installing packages that have known vulnerabilities. But, I would say, you know, one thing is, I think a lot of people kind of ignore NPM audit because there's so many things reported by it. So, I mean, I have to admit like a lot of my projects and even probably even Socket, maybe itself, I don't know, may have a few low impact vulnerabilities that NPM audit reports, and we, you know, don't have an immediate urgency to fix them because we've looked at them and said, you know, hey, this is, you know, yes, I could see how somebody might use this to, you know, slow down our web server, you know, it's a regular expression denial of service is a common one that you'll see where it's like, you know, okay, there's some slow, regular expression in the server, and somebody could maybe use that to slow down your server, make it spend time, you know, crunching some heavy regular expression. But at the end of the day, that kind of thing is not often not going to be a problem in practice, because, you know, an attacker has to find it and has to exploit it and has to use it against you. And probably, you know, most of that stuff isn't isn't actually caught by actual attacker. Right? And, but you know, I'm not saying you shouldn't try to update and remove those from your code. Obviously, that's, that's good, you should do that. But I'm saying like, a lot of the time, you know, a lot of apps just have those, those issues are so many of them. And really, the important thing is to fix the really high impact and critical ones and not necessarily to like, fret about all, you know, the low impact ones. And there's just so many being reported that is, I think, I guess if I had to kind of say what I think about npm audit, you know, it's great. It's awesome that it's raising awareness about this problem. It's a little bit noisy for my liking. And I think there's been a little bit of a kind of a discussion in the community about is npm audit too noisy to be useful? Is it to kind of like, how can we improve it basically, so that it's more useful to end users? Because I think right now, you almost see on every installation that you do that npm audit is gonna complain about something right? And so you basically at some point as a human, you just start to get what do they call it warning blindness or alert blindness, you just see the same alert so many times you start to ignore it, right? So, so yeah, I think, I think our goal with socket is like, we're focused on supply chain attacks, which are very different than vulnerabilities. When they happen, they're very bad. They're very severe, they're a thing that you want to catch before you even run that code on your computer. And so I think we want to have like fewer alerts, fewer warnings than npm audit. But when we do warn, we want it to be because something very serious is happening. And we want to basically step in and protect people's apps. So yeah, I think, I think they can work well together. I just think, you know, they're doing different things. Yeah, it's not a competition. It's a they work next to each other and do different things.
Comments