Earlier quoted context omitted.
To me, I really like Golang's batteries included platform. I am not sure about .NET though
C#'s LINQ (code as data, like LISP) wins over golang for any type of data access. Strongly-typed, language-native queries. Go has its own advantages though.
Axios compromised on NPM – Malicious versions drop remote access trojan
461–470 of 894 posts
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#462Earlier quoted context omitted.
What type of developer chooses UX and performance over security? So reckless. I removed the locks from all the doors, now entering/exiting is 87% faster! After removing all the safety equipment, our vehicles have significantly improved in mileage, acceleration and top speed!
Better developer UX can directly lead to better safety. "You are holding it wrong" is a frequent source of security bugs, and better UX reduces the ways you can hold it wrong, or at least makes you more likely to hold it the right way
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#463I just wish it had more human interaction rather than have a GenAI spit out the blog post. It's very repetitive and includes several EM dashes.
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#464Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#465[flagged]
I have not investigated the shell script but DO NOT RUN shell scripts posted to Hacker News, especially by bot accounts!
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#466"Batteries included" ecosystems are the only persistent solution to the package manager problem. If your first party tooling contains all the functionality you typically need, it's possible you can be productive with zero 3rd party dependencies. In practice you will tend to have a few, but you won't be vendoring out critical things like HTTP, TCP, JSON, string sanitation, cryptography. These are beacons for attackers…
> In practice you will tend to have a few, but you won't be vendoring out critical things like HTTP, TCP, JSON, string sanitation, cryptography Unless you are Python, where the standard library includes multiple HTTP libraries and everyone installs the requests package anyways. Few languages have good models for evolving their standard library, so you end up with lots of bad designs sticking around forever. Libraries…
The amount of time defining same data structures over and over again vs `pip install requests` with well defined data structures.
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#467Earlier quoted context omitted.
> In practice you will tend to have a few, but you won't be vendoring out critical things like HTTP, TCP, JSON, string sanitation, cryptography Unless you are Python, where the standard library includes multiple HTTP libraries and everyone installs the requests package anyways. Few languages have good models for evolving their standard library, so you end up with lots of bad designs sticking around forever. Libraries…
What type of developer chooses UX and performance over security? So reckless. I removed the locks from all the doors, now entering/exiting is 87% faster! After removing all the safety equipment, our vehicles have significantly improved in mileage, acceleration and top speed!
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#468Earlier quoted context omitted.
Or just lock to a specific version?
Eventually you will want to update it, every update is a risk.
As long as you don't update your pins during an active supply chain attack, the risk surface is rather low.
Re: Axios compromised on NPM – Malicious versions drop remote access trojan
#469Very detailed and props to the security researchers, but the blog post has several indicators that it was written by AI, to which point I suspect their malware analysis was also done by a LLM. I just wish it had more human interaction rather than have a GenAI spit out the blog post. It's very repetitive and includes several EM dashes.