chore: Bump webpack from 5.99.5 to 5.104.1 in the npm_and_yarn group across 1 directory#3846
chore: Bump webpack from 5.99.5 to 5.104.1 in the npm_and_yarn group across 1 directory#3846dependabot[bot] wants to merge 4 commits intomainfrom
Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution MetaMask internal reviewing guidelines:
|
ba26c15 to
357820c
Compare
|
@dependabot rebase |
357820c to
a879ba0
Compare
a879ba0 to
bc7478a
Compare
bc7478a to
e98122a
Compare
e98122a to
80a317d
Compare
80a317d to
c0c7cfe
Compare
|
@dependabot recreate |
c0c7cfe to
5790857
Compare
Bumps the npm_and_yarn group with 1 update in the / directory: [webpack](https://github.com/webpack/webpack). Updates `webpack` from 5.99.5 to 5.104.1 - [Release notes](https://github.com/webpack/webpack/releases) - [Changelog](https://github.com/webpack/webpack/blob/main/CHANGELOG.md) - [Commits](webpack/webpack@v5.99.5...v5.104.1) --- updated-dependencies: - dependency-name: webpack dependency-version: 5.104.1 dependency-type: direct:production dependency-group: npm_and_yarn ... Signed-off-by: dependabot[bot] <support@github.com>
75fe6b5 to
3ba0f02
Compare
| bin: | ||
| webpack: bin/webpack.js | ||
| checksum: 10/7ed5f931520b42063279605bcce56ac23a6880f3714e47d3ad04199d3f74da9ee0e7e7a693a0bf68543f15af8831edb63a05a251aa1047816f4784334bfe25d4 | ||
| checksum: 10/77cf6f13e55cae2fafae015cc4a0b341b096c284877244ef4b46b4de1884dcf4e8d1a166a91f0a7cb6db41e9de2d0facb5caf518cbd4cd7ba963c59c07ff0a5a |
There was a problem hiding this comment.
Webpack resolves beyond intended version
Medium Severity
The webpack@npm:^5.104.1 entry resolves to 5.105.2, which doesn’t match the PR’s stated intention of bumping to 5.104.1. This can make the upgrade unintentionally larger than reviewed and can introduce unexpected behavior changes compared to what the PR title/description communicates.
| "vm.createContext": true, | ||
| "vm.runInContext": true, | ||
| "vm.runInThisContext": true, | ||
| "vm": true, |
There was a problem hiding this comment.
Lavamoat policy grants broad vm access
High Severity
The policy change expands permissions from specific vm.* functions to allowing the full vm builtin ("vm": true), and also broadens other runtime capabilities (url.parse, process.argv, process.platform). This can materially weaken the intended confinement model if this Lavamoat policy is applied to untrusted or partially trusted code.


Bumps the npm_and_yarn group with 1 update in the / directory: webpack.
Updates
webpackfrom 5.99.5 to 5.104.1Release notes
Sourced from webpack's releases.
... (truncated)
Changelog
Sourced from webpack's changelog.
Commits
24e3c2dchore(release): new release (#20253)2efd21bfix(re-exports): reexports runtime calculation should not accessing `__WEBPAC...c510070fix(security): userinfo bypass vulnerability in HttpUriPlugin allowedUris4b0501cci: fix release (#20252)0c213ceci: use\<@&1450591255485743204>over@herefor discord notificationw5bf8bc5refactor: types for benchmarks and tests505a5e7chore(release): new release (#20188)0c06680refactor: update eslint configuration2eb0d6aci: release announcement (#20238)b2b2459ci: cancel in progress (#20239)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore <dependency name> major versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)@dependabot ignore <dependency name> minor versionwill close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)@dependabot ignore <dependency name>will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)@dependabot unignore <dependency name>will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>will remove the ignore condition of the specified dependency and ignore conditionsYou can disable automated security fix PRs for this repo from the Security Alerts page.
Note
Medium Risk
Dependency upgrade to core build tooling (
webpack) plus regenerated LavaMoat policy could impact build outputs and sandbox permissions; main risk is CI/build breakage or unintended policy broadening rather than runtime business logic changes.Overview
Updates
webpackfrom^5.97.1/5.99.5to^5.104.1across multiple packages (CLI, execution environments, webpack plugin, examples, and test app), with correspondingyarn.lockrefresh pulling newer transitive tooling (e.g.,watchpack,enhanced-resolve,schema-utils,terser-webpack-plugin,browserslist) and new deps likeacorn-import-phases.Regenerates LavaMoat build policy (
snaps-execution-environments/lavamoat/build-system/policy.json) to allow newly required builtins/globals/packages introduced by the updated webpack dependency graph, and updates many examplesnap.manifest.jsonsource.shasumvalues to match rebuilt bundles.Written by Cursor Bugbot for commit 9828153. This will update automatically on new commits. Configure here.