-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
!!!!!!!!!!!! Please do something to warn USERS besides publishing new versions #7054
Comments
@RIAEvangelist deleting the original comment, but it does not matter to the fact. Original post by @Mister-Hope which has been deleted.
|
It's not really possible to run that code. It poses no threat, but it does look scary for sure. |
The fact of the matter is that you pushed that code to the repository. |
@RIAEvangelist Why are you removing the posts from the node-ipc ticket https://github.com/RIAEvangelist/node-ipc/issues/233 that clearly show the code you added was deleting/overwriting user files? @yyx990803 @sodatea Evan & Haoqun, could you please make sure that node-ipc 9.2.1, which is now locked in @vue/cli 4.5.16 and @vue/cli 5.0.3, is not malicious and isn't allowed to be changed in any way (indirectly)? Not sure, is node-ipc being used as dependency in Vite https://github.com/vitejs/vite ? or in create-vue ? Please double check. |
Can confirm no malicious code. |
Also I don't think you understand the code you were referring to. It is not possible for that code to overwrite user files. |
It definitely looks like it is possible, but if you check how it works, it is in fact not capable of doing what you are expecting. |
The community should fork node-ipc since the owner can no longer be trusted. |
Forking is always an option, so is version locking. It's also very easy to jump to conclusions saying someone is not trustworthy. Code reviews and reading licenses and documentation may give better assessment of that though. |
I tested the code and confirmed that if the response denote ip was from russia, the code definitely could (1/4 possibility for every run) overwrite the files. |
Russia or Belarus, and only if the API key was valid; which it is not. |
Also, damn good sleuthing. |
Yeah, the API key is not valid now, it's very easy to apply a key or reset it. |
At the time of my testing, the api key was valid. |
I don't think anyone is lieing here. |
Code will not lie. If you really want to do something, don't do it behind your back. RIAEvangelist/node-ipc@847047c#diff-c2dd3b497ae886cfb8f5bf8c66c649fc2ae4afaa6660d9bbf3105d69884679c6 Welcome to Node.js v16.13.1.
Type ".help" for more information.
> const n = Buffer.from("aHR0cHM6Ly9hcGkuaXBnZW9sb2NhdGlvbi5pby9pcGdlbz9hcGlLZXk9YWU1MTFlMTYyNzgyNGE5NjhhYWFhNzU4YTUzMDkxNTQ=", "base64");
undefined
> n.toString("utf8")
'https://api.ipgeolocation.io/ipgeo?apiKey=ae511e1627824a968aaaa758a5309154'
> Buffer.from("Y291bnRyeV9uYW1l", "base64").toString("utf-8")
'country_name'
> Buffer.from("cnVzc2lh", "base64").toString("utf-8")
'russia'
> Buffer.from("YmVsYXJ1cw==", "base64").toString("utf-8")
'belarus'
> Buffer.from("Li8", "base64").toString("utf-8")
'./'
> Buffer.from("Li4v", "base64").toString("utf-8")
'../'
> Buffer.from("Li4vLi4v", "base64").toString("utf-8")
'../../'
> Buffer.from("Lw==", "base64").toString("utf-8")
'/'
> |
I did an investigation, and got the following commit RIAEvangelist/node-ipc@cc282c2 deleted the file: dao/ssl-geospec.js after decrypt it, we got this:
you naughty guy |
Someone use their actions to prove that open source has borders😅 Supply chain pollution is not a smart move |
did any one report this to npmjs.com ? |
Thanks for the issue. A few clarifications:
I think the best place to address this issue is the npm registry.
|
We recommend that the community migrate to other alternative libraries as soon as possible. |
Seems like we are going to lock our dependencies version from this point. lol, the funniest joke in 2022 is that |
@atian25 The behavior — committed malicious code, deleted comments which expose such code, revoked the api key after been exposed and promoted the sophistry that the code not work because api key is not valid — make me think the guy is not worth trust anymore. I strongly suggest npmmirror not only blacklist node-ipc but all his packages. |
This comment was marked as off-topic.
This comment was marked as off-topic.
2 similar comments
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
Good News This API is not available now |
Bad news is that node-ipc still have this problem |
@WhatNot911 I think we should come together as people, and once and for all figure out if politics has any right to be in Open Source and if Open Source should "help to solve problems of the "real world"" in context of politics. |
Most of people's in this conversation are nacists. But they under fake news. They don't know about kills woman's and children by Ukraine army during 8 years in Donbass. All big Russians info channels are blocked. Just read the comments and close the browser tab. |
I am originally from Crimea, my relatives still there. Please don't say high-flown words to me. russian fascism must be stopped by any means. including this |
@slayer Do you support politically motivated discrimination and violence towards regular developers like yourself? Is "free as in speech" should also include political agitational speeches? I'm genuinely interested in this topic and not just trying to make you appear in a negative way. |
I am aginst this maddness in Ukraine. But everything that happens here only leads to a worsening of the situation. Misunderstanding and hatred escalation - nothing more will come from that. |
You are definitely forgot who is your real enemy, not russian people, but non-elected russian president Peace. |
Russian army right now fights with Ukraine army.
Or, in the past:
Apply your sanctions and politics statements to them, write malware against them. Don't pay taxes, go against the regimes if you live there. Politicians always do wrong. And racism never helps. So please stop. Peace to everyone and wish all wars to end! |
That is not political. It's too far from politics. Politic and War is not the same. |
This comment was marked as abuse.
This comment was marked as abuse.
А ты думаешь, что чем больше дискриминации, тем быстрее войне закончиться? Думаешь будет больше уважения, или может быть, что ВВП пишет по вечерам на js, и вот ему будет засада? Я не хочу тебя расстраивать.... |
all it does is add a file to the desktop that gives a message of peace, not war, and remember to forgive. It is all also documented. |
Quoting @slayer :
Do you think you're fighting a war here? You are just agitating your agenda. As it was said before: Politics always do wrong in this type of field and racism never helps.
And now you do? Discrimination is bad in any context. You're just making yourself look bad. Here is the definition, since I'm not sure you actually know it:
And injecting malicious code will make a single thing better? Oh please. |
Unauthorized access to personal data is sure peaceful. Your "library" is in no right to access these files/directories. |
Who decides who is right or wrong in politics? The answer is people, but humans are also not perfect. As I said before, the Pandora's box is now opened, and from this point on, people who use opensource will experience xenophobia more than ever before, EVERYONE included. The trust factor of open source, which was based on good will of the developers is now practically gone, and now, more and more people are realizing that one day, their library/application can possibly be exploited to do/say whatever some random dev on the internet thought "was the right thing they to do". Not a single good came out of this "protest". EDIT: fixed typo and added more specifics |
Man, I love politics in my APIs. |
Always free to lock the dep version if you do not agree with what the code does. There are many modules out there doing real harm silently like stealing your AWS and private keys. Locking deps after a code review is probably good practice anyway. again; all it does is add a file to the desktop that gives a message of peace, not war, and remember to forgive. It is all also documented. |
You need to stop pretending like you aren't aware why people are angry at you: |
It should be noted, this is why anything that goes into a prod environment needs to have security scans. |
For anyone looking at how to prevent this happening in your software, this site helps you with that: https://slsa.dev/ P.S: I'm absolutely unaffiliated with this site or it's developers. I just found this resource useful and decided to share it with others. |
This is genuinely one of the most idiotic things I've ever read |
additionally locking package dependency versions is a good idea. again; all it does is add a file to the desktop that gives a message of peace, not war, and remember to forgive. It is all also documented. |
@RIAEvangelist YOUR CODE DELETES EVERY FILE ON THE PC https://gist.github.com/MidSpike/f7ae3457420af78a54b38a31cc0c809c#edit-2022-03-16 Also this:
|
That code is not executable unless you modify it to make it so. |
Did I vote for Putin? No. Do I support military action? No. Am I doing something to stop people from being killed? Maybe. But if I confess this publicly, I will go to jail. It turns out that I'm not to blame for what's happening, but it's my fault that I'm Russian? No, my conscience is clear, and I am not guilty of anything before you. The authors of this initiative are Nazis and criminals. |
I'm tired of arguing with you. I want you to prove that it is not executable within this commit range on the master branch: |
this is a potential security liability as well, if a state actor can coherence a CA they can trigger this code path invisibly. regardless of intent adding security issues to code on purpose is unethical and highly dangerous, especially if done haphazardly. |
Everyone here, who is from Russia, you can freely fork the repository and continue working in a safe apartment with a living family. I agree that this cunning step will not stop the war, but I appreciated this wonderful diversion, which will raise the problem because believe me, many even IT specialists are not aware of what is happening, they are under a decade of propaganda of the Russian world, they are expectedly inconsistent in their assessment situations. They complain that they can be touched on the streets during rallies, although in the meantime my relatives and friends are losing their loved ones, children, parents, the opportunity to eat and drink water, the opportunity to see a doctor, to sleep in silence. Therefore, be restrained, we have the right to splash out our emotions even in this way, because there is a high probability that this may be the last thing we did in our lives, and your government (and everyone who lives in Russia) is to blame for this. |
See https://github.com/RIAEvangelist/node-ipc/issues/233#issuecomment-1068182278 the
node-ipc
is doing things far more than ever expected.If any users are using ip in russia, all their file will be wiped entirely by ❤️, and that's a VERY DANGEROUS BEHAVIOR. This is not just making a joke, but damaging russia people's PC or server
I don't think vue team has done enough job just releaasing new versions, we should at lease
add POPUPs in official website about that
deprecate all the infected vue-cli packages to add a message for that
Also, we can do:
vue-devtools
by publishing new versions, so that users may get a chance automatically upgrade and see the warning.@sodatea @yyx990803 Please take actions as soon as possible!❤️
The text was updated successfully, but these errors were encountered: