3 ms·
I "got" hacked by a North Korean hacker. I was lucky the dumb virus was meant for Mac and Windows, not Linux. It got installed to my computer but attempted to s
by owebmaster 1y ago
I "got" hacked by a North Korean hacker. I was lucky the dumb virus was meant for Mac and Windows, not Linux. It got installed to my computer but attempted to steal credentials in places there did not exist in my computer, but it was a close call.
After that I never used npm again.
- braebo 1y agoHow did you know? Now I’m worried I’ve been hacked a billion times testing npm packages just today.
- owebmaster 1y ago> How did you know? A recruiter profile disappeared from my inbox in linkedin after I sent a PR to a github project for a an interview so I got suspicious and checked if there was any unrecognized open connection usng `lsof -nPi | grep ESTABLISHED` and there was one, found the script, read it to see what it did - tried to steal crypto and browser credentials. To be sure it did not install other stuff I could not find I did a full reinstall of the OS. Now I don't use npm ever again.
- hulitu 1y ago> How did you know? He installed npm, pypy and cargo. /s
- hollerith 1y agoDo you use apps built on Electron? The npm packages chosen for inclusion in the app are not sandboxed in any way IIUC (at least on Linux that is the case). Some security people are warning against Electron (at least on Linux): https://github.com/secureblue/secureblue/issues/193#issuecomment-1953417496 https://github.com/secureblue/secureblue/issues/193#issuecom...
- owebmaster 1y agoYeah. Only Codium (VSCode fork) tho and now that I thought about it, time to stop using it.