Skip to content

Commit

Permalink
Update LavaMoat policies
Browse files Browse the repository at this point in the history
  • Loading branch information
metamaskbot committed Dec 12, 2024
1 parent e56a538 commit 25d3f5f
Show file tree
Hide file tree
Showing 4 changed files with 376 additions and 128 deletions.
126 changes: 94 additions & 32 deletions lavamoat/browserify/beta/policy.json
Original file line number Diff line number Diff line change
Expand Up @@ -2365,8 +2365,14 @@
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/eth-ledger-bridge-keyring>@ethereumjs/rlp": true,
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/common": true,
"@metamask/smart-transactions-controller>@ethereumjs/util": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/tx>@ethereumjs/common": {
"packages": {
"@metamask/smart-transactions-controller>@ethereumjs/util": true,
"@trezor/connect-web>@trezor/connect>@ethereumjs/common": true
"webpack>events": true
}
},
"@metamask/smart-transactions-controller>@ethereumjs/util": {
Expand Down Expand Up @@ -2615,6 +2621,7 @@
},
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/common": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/abi": true,
"@ethersproject/contracts": true,
Expand All @@ -2627,7 +2634,6 @@
"@metamask/name-controller>async-mutex": true,
"@metamask/network-controller": true,
"@metamask/rpc-errors": true,
"@metamask/transaction-controller>@ethereumjs/common": true,
"@metamask/transaction-controller>@metamask/nonce-tracker": true,
"@metamask/utils": true,
"bn.js": true,
Expand All @@ -2639,14 +2645,6 @@
"webpack>events": true
}
},
"@metamask/transaction-controller>@ethereumjs/common": {
"packages": {
"@ethereumjs/tx>@ethereumjs/common>crc-32": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"browserify>buffer": true,
"webpack>events": true
}
},
"@metamask/transaction-controller>@metamask/nonce-tracker": {
"packages": {
"@ethersproject/providers": true,
Expand Down Expand Up @@ -3101,23 +3099,6 @@
"define": true
}
},
"@trezor/connect-web>@trezor/connect>@ethereumjs/common": {
"packages": {
"@trezor/connect-web>@trezor/connect>@ethereumjs/common>@ethereumjs/util": true,
"webpack>events": true
}
},
"@trezor/connect-web>@trezor/connect>@ethereumjs/common>@ethereumjs/util": {
"globals": {
"console.warn": true,
"fetch": true
},
"packages": {
"@ethereumjs/tx>ethereum-cryptography": true,
"@metamask/eth-ledger-bridge-keyring>@ethereumjs/rlp": true,
"webpack>events": true
}
},
"@trezor/connect-web>@trezor/connect>@trezor/protobuf": {
"packages": {
"@swc/helpers>tslib": true,
Expand Down Expand Up @@ -3749,16 +3730,64 @@
"setInterval": true
},
"packages": {
"@ethereumjs/tx": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"bn.js": true,
"browserify>buffer": true,
"crypto-browserify": true,
"eth-lattice-keyring>@ethereumjs/tx": true,
"eth-lattice-keyring>gridplus-sdk": true,
"eth-lattice-keyring>rlp": true,
"webpack>events": true
}
},
"eth-lattice-keyring>@ethereumjs/tx": {
"packages": {
"@ethereumjs/tx>@ethereumjs/common": true,
"@ethereumjs/tx>@ethereumjs/util": true,
"@ethersproject/providers": true,
"browserify>buffer": true,
"browserify>insert-module-globals>is-buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": true,
"eth-lattice-keyring>@ethereumjs/tx>@ethereumjs/rlp": true,
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz": {
"packages": {
"browserify": true,
"browserify>buffer": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": true,
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>case": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@chainsafe/ssz>@chainsafe/persistent-merkle-tree": {
"globals": {
"WeakRef": true
},
"packages": {
"browserify": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>@ethereumjs/rlp": {
"globals": {
"TextEncoder": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography": {
"globals": {
"TextDecoder": true,
"crypto": true
},
"packages": {
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": true
}
},
"eth-lattice-keyring>@ethereumjs/tx>ethereum-cryptography>@noble/hashes": {
"globals": {
"TextEncoder": true,
"crypto": true
}
},
"eth-lattice-keyring>gridplus-sdk": {
"globals": {
"AbortController": true,
Expand All @@ -3780,7 +3809,6 @@
"@metamask/eth-sig-util": true,
"@metamask/ethjs>js-sha3": true,
"@metamask/keyring-api>bech32": true,
"@metamask/ppom-validator>elliptic": true,
"bn.js": true,
"browserify>buffer": true,
"eth-lattice-keyring>gridplus-sdk>@ethereumjs/common": true,
Expand All @@ -3789,6 +3817,7 @@
"eth-lattice-keyring>gridplus-sdk>bignumber.js": true,
"eth-lattice-keyring>gridplus-sdk>borc": true,
"eth-lattice-keyring>gridplus-sdk>bs58check": true,
"eth-lattice-keyring>gridplus-sdk>elliptic": true,
"eth-lattice-keyring>gridplus-sdk>secp256k1": true,
"eth-lattice-keyring>gridplus-sdk>uuid": true,
"ethers>@ethersproject/sha2>hash.js": true,
Expand Down Expand Up @@ -3873,9 +3902,31 @@
"eth-lattice-keyring>gridplus-sdk>bs58check>bs58>base-x": true
}
},
"eth-lattice-keyring>gridplus-sdk>elliptic": {
"packages": {
"@metamask/ppom-validator>elliptic>brorand": true,
"@metamask/ppom-validator>elliptic>hmac-drbg": true,
"@metamask/ppom-validator>elliptic>minimalistic-assert": true,
"@metamask/ppom-validator>elliptic>minimalistic-crypto-utils": true,
"bn.js": true,
"ethers>@ethersproject/sha2>hash.js": true,
"pumpify>inherits": true
}
},
"eth-lattice-keyring>gridplus-sdk>secp256k1": {
"packages": {
"@metamask/ppom-validator>elliptic": true
"eth-lattice-keyring>gridplus-sdk>secp256k1>elliptic": true
}
},
"eth-lattice-keyring>gridplus-sdk>secp256k1>elliptic": {
"packages": {
"@metamask/ppom-validator>elliptic>brorand": true,
"@metamask/ppom-validator>elliptic>hmac-drbg": true,
"@metamask/ppom-validator>elliptic>minimalistic-assert": true,
"@metamask/ppom-validator>elliptic>minimalistic-crypto-utils": true,
"bn.js": true,
"ethers>@ethersproject/sha2>hash.js": true,
"pumpify>inherits": true
}
},
"eth-lattice-keyring>gridplus-sdk>uuid": {
Expand Down Expand Up @@ -4199,9 +4250,20 @@
"ethers>@ethersproject/signing-key": {
"packages": {
"@ethersproject/bytes": true,
"@metamask/ppom-validator>elliptic": true,
"ethers>@ethersproject/logger": true,
"ethers>@ethersproject/properties": true
"ethers>@ethersproject/properties": true,
"ethers>@ethersproject/signing-key>elliptic": true
}
},
"ethers>@ethersproject/signing-key>elliptic": {
"packages": {
"@metamask/ppom-validator>elliptic>brorand": true,
"@metamask/ppom-validator>elliptic>hmac-drbg": true,
"@metamask/ppom-validator>elliptic>minimalistic-assert": true,
"@metamask/ppom-validator>elliptic>minimalistic-crypto-utils": true,
"bn.js": true,
"ethers>@ethersproject/sha2>hash.js": true,
"pumpify>inherits": true
}
},
"ethers>@ethersproject/solidity": {
Expand Down
Loading

0 comments on commit 25d3f5f

Please sign in to comment.