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

Cant run npm install on Ubuntu without unfixable errors #2

Closed
CryptoRootz opened this issue Mar 16, 2020 · 1 comment
Closed

Cant run npm install on Ubuntu without unfixable errors #2

CryptoRootz opened this issue Mar 16, 2020 · 1 comment

Comments

@CryptoRootz
Copy link

Aloha , I am trying to run npm install on my ubuntu 18.4 latptop but i always get these same errors. I run npm audit : ┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low │ Insecure Credential Storage │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ web3 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @truffle/hdwallet-provider │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ @truffle/hdwallet-provider > web3 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/877
└───────────────┴──────────────────────────────────────

│ High │ Arbitrary File Write │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ decompress │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ No patch available │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @truffle/hdwallet-provider │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ @truffle/hdwallet-provider > web3 > web3-bzz > swarm-js > │
│ │ decompress │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/1217

i click the links to the npm site and i get this: All versions of decompress are vulnerable to Arbitrary File Write. The package fails to prevent extraction of files with relative paths, allowing attackers to write to any folder in the system by including filenames containing../. | No fix is currently available. Consider using an alternative module until a fix is made available.No fix is currently available. Consider using an alternative module until a fix is made available.

what can i do to fix all this ?

@mrdavey
Copy link
Owner

mrdavey commented Mar 19, 2020

Hi there, that is an issue with @truffle/hdwallet-provider package being used. I may need to investigate it further.
However in the meantime it should be fine, as you're running this on your local machine and hdwallet-provider is only used for deployment on mainnet.

You should still be able to run the project even with those security errors.

@mrdavey mrdavey closed this as completed Mar 19, 2020
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