News for hackers. Stuff that matters.
Re:NPM package compromised by author: erases files on RU / B... by bastawhiz on Wednesday March 16, 2022 @09:32PM (#30706488)
The analysis here is actually really frustrating. The initial code snippet is only partially analyzed. It makes a HTTP request to a third party geoip service to detect location, then recursively overwrites files if the location is Russia or Belarus. I can't understand why the article doesn't talk about this, but the code is there (albeit obfuscated).

There are no comments on this comment yet.