News for hackers. Stuff that matters.
Re:Ask HN: Does anyone investigate open source packages befo... by jfoster on Friday June 26, 2020 @07:42AM (#23650891)
Do you have a pragmatic approach that you typically recommend, considering that (without version pinning thousands of packages) anything could change from one day to the next? (even if a package was "good" today, it could turn "bad" tomorrow)

The best I've been able to come up with is to pick things that have minimal dependencies of their own. It doesn't eliminate the threat, but it does at least reduce it.

Re:Ask HN: Does anyone investigate open source packages befo... by alltakendamned on Saturday June 27, 2020 @06:08AM (#23660771)
No it’s not easy to realize. From a security perspective the idea is to always run the latest. Breaking backwards compatibility becomes a more difficult proposition. In reality you need to have an engineer test or analyze the updates. Some mature libraries maintain backwards compatibility (eg openssl) but if using something like npm it becomes almost impossible.
Re:Ask HN: Does anyone investigate open source packages befo... by cpach on Friday June 26, 2020 @11:36AM (#23653161)
IIRC there is some kind of SaaS solution for this but right now I can’t recall its name. Maybe someone else here knows?

Edited: I reached out to some security people and it seems like the following are popular tools for this use case: Snyk / Dependabot / Whitesource.

Re:Ask HN: Does anyone investigate open source packages befo... by gitgud on Friday June 26, 2020 @12:13PM (#23653620)
Github have a security check that scans your repo's dependencies and warns you about vulnerabilities too