News for hackers. Stuff that matters.
Re:82% of Open-Source Projects Suffer from Tool Rot by Macha on Wednesday November 16, 2022 @11:34AM (#33625915)
The practical consequences of running an outdated eslint version are, for most projects, zero. The cost of upgrading is non zero. So upgrading only happens when there's a compelling reason to update like:

- A real security issue - things like the reDoS example cited are part of the crying wolf that causes people to treat security scanners less seriously

- A new feature (lint rule in eslint's case, or maybe new JS syntax support) is desired. The new upgrade can be deferred until that time

- You're doing updates _anyway_ and update eslint as part of that housekeeping.

Re:82% of Open-Source Projects Suffer from Tool Rot by aleyva on Wednesday November 16, 2022 @11:39AM (#33626007)
But do you really want to wait for a real security issue to emerge? Seems like keeping things updated is a simple, smart form of insurance.
Re:82% of Open-Source Projects Suffer from Tool Rot by Macha on Wednesday November 16, 2022 @11:45AM (#33626132)
1. How often are security issues found that are already fixed compared to security issues that are still in the latest version and require an even newer version to fix?

2. What are the security issues that can be found in a local tool which has as its only input your own code and it's output is only printed in tooltips for human review? Even if you had a way for specially formed code to run other code in eslint, it's a bit like saying bash has an RCE because you can type a command into it.

Re:82% of Open-Source Projects Suffer from Tool Rot by dpkirchner on Wednesday November 16, 2022 @12:03PM (#33626488)
- There's a bug in one of the linters that is giving false positives (passing good code or missing bad code). This may not be a security issue, it may just result in poor code quality.