RetroFed Forum
Your home away from modern life.
Axios JavaScript library has been compromised with malware in supply chain attack
Post Reply
AuthorMessage
qaz lemmy.world qaz@lemmy.world
Joined: 2023-06-10
Quote

62   Original
Armand1 lemmy.world Armand1@lemmy.world
Joined: 2023-08-15
#2 · Quote Reply

I was trying to figure out why people still use Axios, when the built-in fetch works just fine. Is it because people are still sending XML requests?

10
L_Acacia lemmy.ml L_Acacia@lemmy.ml
Joined: 2024-11-14
#3 · (edited) Quote Reply

I was trying to figure out why people still use Axios, when the built-in fetch works just fine. Is it because people are still sending XML requests?

It provides a lot of nice syntactic sugar that you would otherwise have to write a wrapper for on top of Fetch.
Built in request interception, request transformation, (de)serialization, shared request config, timeout/retries management, ...

Though this definitely comes with bloat and supply chain risks.

10
iByteABit lemmy.ml iByteABit@lemmy.ml
Joined: 2025-11-08
#4 · Quote Reply

Really sophisticated attack

2
moseschrute crust.piefed.social moseschrute@crust.piefed.social
Joined: 2026-02-14
#5 · Quote Reply

I was reading through the thread, and it looks like the package mangers have implemented an option that says "only install package versions that are X minutes/days old". The idea is NPM has had time to act before your package manager installs that new version.

5
TechnoCat piefed.social TechnoCat@piefed.social
Joined: 2025-06-20
#6 · Quote Reply

I was trying to figure out why people still use Axios, when the built-in fetch works just fine. Is it because people are still sending XML requests?

Because most projects are legacy projects.

3
Post Reply
Back to top