r/github • • Aug 03 '22

Anybody following this malware attack? The timing seems ironic.

Post image
135 Upvotes

37 comments sorted by

32

u/pconwell Aug 03 '22

Maybe I'm out of the loop, but what's ironic about the timing?

-19

u/djdik Aug 03 '22

Nancy landing in Taiwan 🇹🇼

9

u/PizzaRollsAndTakis Aug 03 '22

Why so much dislikes? China bots? There is clear evidence that China has attacked Taiwan every day this week in regards to cyber attacks. I wouldn’t doubt if they did this as well.

4

u/pconwell Aug 03 '22

Could be China (I guess), but the suspect URL in the illegitimate forks is Russian.

1

u/Jonno_FTW Aug 03 '22

Nothing stopping someone getting a .ru domain. Doesn't necessarily mean the attack came from Russia (or China for that matter).

1

u/pconwell Aug 04 '22

Sure, and it also doesn't mean that this is connected to China or that the timing is "ironic".

→ More replies (1)

2

u/JayTurnr Aug 04 '22

Who is Nancy?

2

u/DeGloriousHeosphoros Aug 17 '22

Nancy Pelosi, Speaker of the [US] House [of Representatuves].

2

u/JayTurnr Aug 17 '22

/u/pconwell's comment stands. What is ironic about the timing?

2

u/DeGloriousHeosphoros Aug 17 '22

I have no idea... I'm just as confused. I was only answering your question, "Who is Nancy." The reason I know it's Nancy Pelosi rather than some other Nancy is because her visit to Taiwan made headlines.

I haven't the slightest idea why it would be ironic timing.

1

u/JayTurnr Aug 18 '22

Probably why /u/djdik's comment is so downvoted then, they're just talking out their arse.

0

u/Vanconer Aug 03 '22

RemindMe! 1 day

1

u/RemindMeBot Aug 03 '22 edited Aug 04 '22

I will be messaging you in 1 day on 2022-08-04 14:34:14 UTC to remind you of this link

2 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


InfoCustomYour RemindersFeedback

34

u/jack-of-some Aug 03 '22

17

u/pconwell Aug 03 '22

TL;DR:

this case involves threat actors creating [forks] of legitimate projects but tainting these [forks] with malicious code to target unsuspecting developers with their malicious clones.

the engineer noticed the following URL in the code hxxp://ovz1.j19544519.pr46m.vps.myjino[.]ru ... when searching GitHub for this URL, there were 35,000+ search results ... Therefore, the figure represents the number of suspicious files rather than infected repositories

GitHub has purged most of the malicious repositories after receiving the engineer's report.

14

u/TheImminentFate Aug 03 '22 edited Jun 24 '23

This post/comment has been automatically overwritten due to Reddit's upcoming API changes leading to the shutdown of Apollo. If you would also like to burn your Reddit history, see here: https://github.com/j0be/PowerDeleteSuite

6

u/nekokattt Aug 03 '22 edited Aug 03 '22

I couldn't read it. I read a previous article by that author publisher and now I have no retinas to read this one with.

0

u/[deleted] Aug 03 '22

[deleted]

5

u/bearfruit_ Aug 03 '22 edited Aug 03 '22

anyone who wants to, control f on the Elements for "l eu" class names, first result is the godforsaken-green

edit: the article was illuminating, reaffirms my choice to leave the SASS world behind with my own project due to feeling like web security was swiss cheese.

3

u/jrobiii Aug 03 '22

I was able to get through it, but then there are times when my red/green color deficiency pays off

3

u/pconwell Aug 03 '22

Wooow, that's terrible...

1

u/wjrasmussen Aug 03 '22

Four years old too!

1

u/TheImminentFate Aug 03 '22

Yeah I wanted to link to the original hackaday article but it doesn’t exist anymore sadly

1

u/thblckjkr Aug 03 '22

The reader view works wonderful on firefox too.

17

u/[deleted] Aug 03 '22

NPM is so dangerous. All you do is type a line or so in the CLI, and it installs who-knows-what onto your project. You don't see what it installs, you just have to trust where it comes from.

43

u/fearphage Aug 03 '22

All you do is type a line or so in the CLI, and it installs who-knows-what onto your project. You don't see what it installs, you just have to trust where it comes from.

You're describing most languages with a convenient method to install external dependencies. How is this different from Python or Go dependencies for instance?

-3

u/[deleted] Aug 03 '22

Well exactly. Much better in my opinion to find something on, say, github where it's contents are available for all the world to see. But generally it's better to not use too many dependencies as it makes you dependent on third parties, and open to their whims, their decisions to push updates, to deprecate or to remove support altogether. This is one of the troubles with Laravel.

17

u/fearphage Aug 03 '22

Virtually every NPM dependency's source is available on GitHub.

Everything you use is built on third party dependencies and that is highly unlikely to change in the near future. This includes but is not limited to your browser, phone, tv, car, text editor, Reddit client, toaster, etc. No one is re-building everything from scratch. It's a waste of time and financially irresponsible in most cases. We are all standing on the shoulders of giants.

0

u/[deleted] Aug 03 '22

[deleted]

2

u/bence-toth Aug 03 '22

There is no guarantee that the code you see on GitHub is the same code which is being published to the npm registry. Installing an npm package directly from GitHub is only increasing risks. Code there can change, the same tag can point to a different commit than it did yesterday etc. At least the code in a given version of a given npm package published to the registry cannot change over time (you cannot republish a package with a version number which has already been published). It's always a good idea to lock the version of your dependencies.

0

u/[deleted] Aug 03 '22

[deleted]

-3

u/[deleted] Aug 03 '22

1

u/ktopaz Mar 18 '25 edited Mar 24 '25

Just so you'd know - I'm quoting this exact sentence of yours into the description of any js repository we host on our company's git servers.

0

u/[deleted] Aug 03 '22

[deleted]

9

u/illathon Aug 03 '22

Big projects that exist on Github.

0

u/[deleted] Aug 03 '22

[deleted]

2

u/ScottIPease Aug 04 '22

They aren't infecting active repos, they are cloning active repos and changing the code in the clone, perhaps to later try to trick people into using the wrong ones. It is basically similar to what people do when they clone a website, then use it to try to trick people into adding their creds there. You think you are logging into citibank.com, but it is a different page that just looks like citibank.com

0

u/[deleted] Aug 04 '22

[deleted]

1

u/ScottIPease Aug 04 '22

Could be that, but it doesn't matter the domain, some people do not pay attention to the URL anyways. It could be davessite.com, but if they take a bit of effort it would more likely be citibank.davessite.com so at least the name in there