News for hackers. Stuff that matters.
Re:GitHub Advisory Database now powers NPM audit by colechristensen on Thursday October 07, 2021 @02:27PM (#28790286)
Many of these kinds of things are in places that could never actually result in a denial of service. There is a large problem with security reporting where people report issues which couldn’t ever be exploited and then scanning tools and up showing hundreds of “vulnerabilities” which don’t actually represent any danger.
Re:GitHub Advisory Database now powers NPM audit by gauravphoenix on Thursday October 07, 2021 @03:44PM (#28791170)
couldn't agree more- we built Dassana [1] so solve this problem by adding context to security alerts. Currently we support AWS Config/GuardDuty alerts but had been thinking of adding context to vuln scan results too.

[1] https://oss.dassana.io/

Re:GitHub Advisory Database now powers NPM audit by DeepYogurt on Thursday October 07, 2021 @02:30PM (#28790345)
I mean, you don't have to use the scanning tools if you'd prefer not to know.
Re:GitHub Advisory Database now powers NPM audit by colechristensen on Thursday October 07, 2021 @04:14PM (#28791497)
It’s not about not wanting to know, it’s about wanting to know about real security issues and being buried in low quality reports which do not need to be addressed.
Re:GitHub Advisory Database now powers NPM audit by Hallucinaut on Thursday October 07, 2021 @02:42PM (#28790487)
The problem is it gets weaponized. If you're unlucky you have a client who runs a scan naively on your software and demands these get addressed as critical priorities under SLA.

I'm sure there are plenty out there with managers who will just run the report and demand these "security issues" are fixed and won't understand an explanation on why it's not relevant.

Re:GitHub Advisory Database now powers NPM audit by bawolff on Thursday October 07, 2021 @03:35PM (#28791078)
This is a silly objection in my opinion - clients demand unreasonable things all the time. Its up to you to write a reasonable SLA that protects yourself.

Dont get me wrong, i wish npm audit was better. But unreasonable people will be unreasonable regardless of the tools they have access to.

Re:GitHub Advisory Database now powers NPM audit by technion on Thursday October 07, 2021 @04:46PM (#28791829)
The risk that a person could potentially write an infinite while loop and commit it to a codebase is about the same as the threat posed by the DoS "vulnerabilities" that seem to have completely overrun the NPM audit system. Noone wants to know about the former risk.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Thursday October 07, 2021 @11:28PM (#28795431)
Even so, you should just upgrade to a secure version anyways. Wanting to stick to an old version with vulnerabilities in it seems like something you shouldn't want to do.

If anything you should be promoting easier upgrades for the packages affected by these security problems.

Re:GitHub Advisory Database now powers NPM audit by recursive on Friday October 08, 2021 @12:03AM (#28795624)
If only it were so easy. Typically, you're not using these dependencies directly. You use something that uses them. And it's not compatible with the "secure" version.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @12:17AM (#28795698)
This sounds like a bigger problem than whatever issues exist with npm audit. Security updates should not be hard to do. When a vulnerability drops that impacts you project severely it should be easy to get to a secure state. Having to deal with working with downstream projects or a secure version being incompatible sound like big problems with the ecosystem.
Re:GitHub Advisory Database now powers NPM audit by inbx0 on Friday October 08, 2021 @03:44AM (#28796718)
> vulnerability drops that impacts you project severely

well if it's a regex ddos in build tooling, it doesn't "impact your project severly". That's the entire point of this thread

Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @09:44AM (#28799204)
I never said it did. I am saying that if it's hard to patch irrelevant issues it is also hard to patch relevant issues. The ideal would be it is easy to patch all issues so you can always just upgrade to a safe version.
Re:GitHub Advisory Database now powers NPM audit by inbx0 on Friday October 08, 2021 @12:54PM (#28801343)
Sure, but that's not something you can fix at the ecosystem level, it requires effort from the package maintainers and/or researchers to backport these fixes to older versions. And if the fix requires effort from the maintainers that is not actually very benefical to anyone (i.e. the vulnerability does not actually impose a security risk) then we are back to the question if it's really worth it. The effort has just been moved from the consumer to the library author.
Re:GitHub Advisory Database now powers NPM audit by recursive on Friday October 08, 2021 @07:47AM (#28798134)
Just because npm audit says something doesn't mean it has any impact at all. Most of its outputs are false positives.
Re:GitHub Advisory Database now powers NPM audit by charcircuit on Friday October 08, 2021 @09:44AM (#28799217)
But when it's not a false positive, when it actually impacts your project it should be easy to update.