Earlier quoted context omitted.
It's not possible for a language to have an insane dependency tree. That's an attribute of a codebase.
Maybe the language should have a standard library then.
Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
211–220 of 1001 posts
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#212Earlier quoted context omitted.
Part of the reason of my switch to using Go as my primary language is that there's this trend of purego implementations which usually aim towards zero dependencies besides the stdlib and golang.org/x. These kind of projects usually are pretty great because they aim to work with CGO_ENABLED=0 so the libs are very portable and work with different syscall backends. Additionally I really like to go mod vendor my snapshot…
> there's this trend of purego implementations which usually aim towards zero dependencies besides the stdlib and golang.org/x. I'm interested in knowing whether there's something intrinsic to Go that encourages such a culture. IMO, it might be due to the fact that Go mod came rather late in the game, while NPM was introduced near the beginning of NodeJS. But it might be more related to Go's target audience being mor…
I think the culture was set from the top. Also, the fairly comprehensive standard library helps a lot. C# was in a similar boat back when I used it.
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#213Earlier quoted context omitted.
Part of the reason of my switch to using Go as my primary language is that there's this trend of purego implementations which usually aim towards zero dependencies besides the stdlib and golang.org/x. These kind of projects usually are pretty great because they aim to work with CGO_ENABLED=0 so the libs are very portable and work with different syscall backends. Additionally I really like to go mod vendor my snapshot…
> there's this trend of purego implementations which usually aim towards zero dependencies besides the stdlib and golang.org/x. I'm interested in knowing whether there's something intrinsic to Go that encourages such a culture. IMO, it might be due to the fact that Go mod came rather late in the game, while NPM was introduced near the beginning of NodeJS. But it might be more related to Go's target audience being mor…
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#214Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#215I wonder who actually discovered this attack? Can we credit them? The phrasing in these posts is interesting, with some taking direct credit and others just acknowledging the incident. Aikido says: > We were alerted to a large-scale attack against npm... Socket says: > Socket.dev found compromised various CrowdStrike npm packages... Ox says: > Attackers slipped malicious code into new releases... Safety says: > The S…
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#216Earlier quoted context omitted.
One option is pass, which is a shell script that uses GPG to manage passwords for command line tools. You can put the password store into a git repository if you need to sync it across machines.
Wait, what? "put the password store into a git repository"?!
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#217Earlier quoted context omitted.
Or about 15 minutes with an LLM? https://github.com/williamcotton/markdown-to-html-llm ;)
I love how it took you very short to implement...the wrong thing. > I myself just the other day had the task of converting HTML to markdown > you could write an HTML to markdown library in half a day
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#218Earlier quoted context omitted.
out of sincere curiosity, which one is a great programming language to you?
depends on use case, i don't think one language can fit all cases. 100% correctness is required for systems, but it is a hindrance in non-critical systems. or robust type systems require high compilation times which hurt iterating on the codebase. systems? rust - but it is still far from perfect, too much focus on saving few keystrokes here and there. general purpose corporate development? c# - despite current direct…
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#219This happens because there's no auditing of new packages or versions. The distro's maintainer and the developer is the same person. The general solution is to do what Debian does. Keep a stable distro where new packages aren't added and versions change rarely (security updates and bugfixes only, no new functionality). This is what most people use. Keep a testing/unstable distro where new packages and new versions can…
Unfortunately most people don't want old software that doesn't support newer hardware so most people don't end up using Debian stable.
Re: Shai-Hulud malware attack: Tinycolor and over 40 NPM packages compromised
#220I wonder who actually discovered this attack? Can we credit them? The phrasing in these posts is interesting, with some taking direct credit and others just acknowledging the incident. Aikido says: > We were alerted to a large-scale attack against npm... Socket says: > Socket.dev found compromised various CrowdStrike npm packages... Ox says: > Attackers slipped malicious code into new releases... Safety says: > The S…
Since so many vendors discovered these packages seemingly independently, you'd think that they would share those mechanisms with NPM itself so that those packages would never be published in the first place. But I guess that removes their ability to sell an "early alert" mechanism through their offerings...