purser
purser copied to clipboard
high severity vulnerability in @colony/purser-metamask for npm
npm i @colony/purser-metamask
found 1 high severity vulnerability
run `npm audit fix` to fix them, or `npm audit` for details
$ npm audit
=== npm audit security report ===
┌──────────────────────────────────────────────────────────────────────────────┐
│ Manual Review │
│ Some vulnerabilities require your attention to resolve │
│ │
│ Visit https://go.npm.me/audit-guide for additional guidance │
└──────────────────────────────────────────────────────────────────────────────┘
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ High │ Arbitrary File Overwrite │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ tar │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Patched in │ >=4.4.2 │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ @colony/purser-metamask │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Path │ @colony/purser-metamask > web3 > web3-bzz > swarm-js > │
│ │ tar.gz > tar │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ More info │ https://npmjs.com/advisories/803 │
└───────────────┴──────────────────────────────────────────────────────────────┘
found 1 high severity vulnerability in 111959 scanned packages
1 vulnerability requires manual review. See the full report for details.
Thanks for reporting this.
So, from what I gather, the tar
package is a sub-sub-dependency of web3
.
We had to pin web3
in place to version 1.0.0-beta.36
, due to subsequent versions breaking chrome's security layer. See #202 for more details.
I'll try to update web3
, maybe a more recent version fixed the chrome security thing (and also updated tar
), but if that's not going to work, this is going to be tricky fix.
Is it safe to use web3 beta?
As safe as a beta
release can be :slightly_smiling_face:
But given that all the latest web3
releases are all in beta
there isn't any alternative, if you want to use web3
that is