diff --git a/packages/mask/.snyk b/packages/mask/.snyk new file mode 100644 index 000000000000..7beb9d0a6cf3 --- /dev/null +++ b/packages/mask/.snyk @@ -0,0 +1,8 @@ +# Snyk (https://snyk.io) policy file, patches or ignores known vulnerabilities. +version: v1.25.0 +ignore: {} +# patches apply the minimum changes required to fix a vulnerability +patch: + SNYK-JS-AXIOS-174505: + - opensea-js > wyvern-schemas > axios: + patched: '2022-07-21T08:59:47.388Z' diff --git a/packages/mask/package.json b/packages/mask/package.json index 320e61fddfb1..d831a474f1a2 100644 --- a/packages/mask/package.json +++ b/packages/mask/package.json @@ -137,7 +137,8 @@ "web3-utils": "1.7.4", "webextension-polyfill": "^0.9.0", "z-schema": "^5.0.3", - "zod": "3.16.0" + "zod": "3.16.0", + "@snyk/protect": "latest" }, "devDependencies": { "@dimensiondev/webextension-shim": "0.0.3-20210823035705-4257e12", @@ -160,5 +161,10 @@ }, "peerDependencies": { "tss-react": "*" - } + }, + "scripts": { + "prepublish": "npm run snyk-protect", + "snyk-protect": "snyk-protect" + }, + "snyk": true }