Skip to content
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

package-lock not pointing at official npm sources #185

Closed
unusualbob opened this issue Aug 31, 2021 · 1 comment
Closed

package-lock not pointing at official npm sources #185

unusualbob opened this issue Aug 31, 2021 · 1 comment

Comments

@unusualbob
Copy link

Hi,

The company I work for was evaluating this repository and we noticed that the package-lock contains dependency references to unofficial mirrors on huaweicloud.com

For example:

"resolved": "https://repo.huaweicloud.com/repository/npm/balanced-match/-/balanced-match-1.0.2.tgz",

It looks that they were pointing at the official location up until a recent rebase at the end of July, here's a previous version of the lock file:

"resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.0.tgz",

Is there a reason for this, or is it unintentional?

Given that dependencies have been a known method of introducing malicious code in the past few years we're concerned that this package is not taking dependency security seriously.

@pazlavi
Copy link
Contributor

pazlavi commented Sep 1, 2021

Hi @unusualbob ,
Thank you for reaching out to us and raising this issue.

We unintentionally used this source. It happens because of a machine's wrong configuration the plugin was released from. We already fixed the configuration, and the upcoming version will point to the official repo.

@pazlavi pazlavi closed this as completed Sep 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants