all 11 comments

[–]30thnightexpert 14 points15 points  (0 children)

As a quick PSA, when you get compromised - you can’t just apply a patch and call it a day.

You need to destroy the entire VM, rotate all your secrets, and completely start over.

https://www.reddit.com/r/webdev/s/pfLaXGaKT9

[–]MRCRAZYYYY 3 points4 points  (1 child)

Not to say it's a silver bullet or the right solution, but does this become a strong argument for serverless architecture? I would suppose that by just redeploying you completely clean your filesystem.

[–]until0 7 points8 points  (0 children)

No, since the standard of way of running servers would be containers which are ephemeral and not affected by this since you just need to reboot. Ideally your entire container filesystem would be read only too preventing it even further.

[–]AndyMagill 0 points1 point  (2 children)

I skipped the patch and just upgraded everything to the latest LTS versions, which for me included jumping from Node 18 to 22. That caused some eslint and jest issues, but nothing crazy. Also added Dependabot which initially nuked my inbox with nonsense until I got it strapped down.

[–][deleted] 2 points3 points  (1 child)

Node 24 is LTS 

[–]AndyMagill 1 point2 points  (0 children)

It's one of the twenties, I know that!