Skip to content

fix: bump undici and hardhat in /integration_tests/contracts - #2168

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/integration_tests/contracts/multi-b298f75819
Open

fix: bump undici and hardhat in /integration_tests/contracts#2168
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/integration_tests/contracts/multi-b298f75819

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 5, 2026

Copy link
Copy Markdown
Contributor

Bumps undici to 6.28.0 and updates ancestor dependency hardhat. These dependencies need to be updated together.

Updates undici from 5.29.0 to 6.28.0

Release notes

Sourced from undici's releases.

v6.28.0

⚠️ Security fixes

  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.

GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.

Full Changelog: nodejs/undici@v6.27.0...v6.28.0

v6.27.0

⚠️ Security Release

This release line addresses 4 security advisories.

Action required: Upgrade to undici 6.27.0 or later.

npm install undici@^6.27.0

Note on patched version: the v6 fixes shipped in v6.27.0, not 6.26.0v6.26.0 contains only the chunked-EOF fix (#5308) and the version bump, none of the security fixes below.

The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g, GHSA-hm92-r4w5-c3mj), the shared-cache disclosure (GHSA-pr7r-676h-xcf6), or the 8.x-only WebSocket regression (GHSA-38rv-x7px-6hhq).

Summary

Advisory CVE Severity (CVSS) Fixed in Fix commit
GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 6.27.0 b7f252e7
GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 6.27.0 25efa447
GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 6.27.0 25efa447
GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 6.27.0 f4c31d60

High severity

WebSocket DoS via fragment count bypass — CVE-2026-12151

GHSA-vxpw-j846-p89q · CWE-400, CWE-770 Fix: b7f252e7 Backport WebSocket maxPayloadSize fixes (#5423, backported to v6 in #5428)

A malicious WebSocket server can stream a large number of small or empty continuation frames. Undici enforced a limit on cumulative payload size but did

... (truncated)

Commits
  • 01a912e Bumped v6.28.0 (#5591)
  • 481ecfc Use Node 22 and npm 11 to release
  • 740a0b7 fix: validate blob body content type
  • 2698e49 fix: validate coerced header values for CRLF (#5579)
  • 4fd5a0c test(retry): correct broken content-range fixtures in retry-handler.js
  • cba3a52 fix(retry): reject partial content length mismatch
  • af74840 fix: harden cookie domain, path, and unparsed attribute validation
  • 551138c Bumped v6.27.0 (#5431)
  • b7f252e Backport WebSocket maxPayloadSize fixes to v7.x (#5423) (#5428)
  • 25efa44 fix(cookies): preserve values and parse SameSite strictly
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for undici since your current version.

Install script changes

This version modifies prepare script that runs during installation. Review the package contents before updating.


Updates hardhat from 2.27.1 to 3.12.0

Release notes

Sourced from hardhat's releases.

Hardhat v3.12.0

This release includes two new features: negative test filtering with the --grep-exclude flag for both Solidity tests and Mocha test suite, and experimental Amsterdam "EIP-7843: SLOTNUM" support, see our Amsterdam support guide.

Changes

  • #8442 4904c72 Thanks @​ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.

  • #8472 2a66c2e Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include the slotNumber header field, and the SLOTNUM (0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.

  • #8464 b2b69f7 Thanks @​nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.

  • #8474 49cc2f0 Thanks @​Wodann! - Report chain type to Google Analytics

  • #8458 0c60e08 Thanks @​schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.

  • #8472 2a66c2e Thanks @​kanej! - Fixed empty stack traces on Solidity test failures when running with -vvv or above.

  • #8472 2a66c2e Thanks @​kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with -vvv or above.

  • #8470 341807c Thanks @​kanej! - Update the chokidar runtime dependency to its latest major version.

  • #8470 4a71543 Thanks @​kanej! - Update the p-map dependency.

  • #8461 841423a Thanks @​kanej! - Reduce installation warnings with updated dependencies.


💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.11.1

This release removes the Hardhat 2 option from project initialization and fixes how Solidity files are classified when the same directory is configured for both sources and tests.

Changes

  • #8451 5c9d4a4 Thanks @​kanej! - Remove Hardhat 2 option from init process

  • #8452 724b7cd Thanks @​kanej! - Fixed Solidity source classification so that a directory listed in both paths.sources.solidity and paths.tests.solidity is treated as a source.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-utils@​4.1.6

💡 The Nomic Foundation is hiring! Check our open positions.


Hardhat v3.11.0

This release adds two further EIPs to Hardhat's experimental Amsterdam support: EIP-7778: block gas accounting without refunds and EIP-7928: Block-Level Access Lists. See our Amsterdam support reference for full details of how these work within Hardhat.

Changes

... (truncated)

Changelog

Sourced from hardhat's changelog.

3.12.0

Minor Changes

  • #8442 4904c72 Thanks @​ChristopherDedominici! - Support test name filter negation (--grep-exclude) for Solidity and Mocha tests.

  • #8472 2a66c2e Thanks @​kanej! - Added experimental EIP-7843 support to the Amsterdam hardfork: blocks now include the slotNumber header field, and the SLOTNUM (0x4b) opcode returns it. EDR has no consensus layer, so the value is simulated: it increments by one per mined block, starting at 0 on a new chain, or from the forked block's slot number when forking.

Patch Changes

  • #8464 b2b69f7 Thanks @​nishant-uxs! - Prefer environment variables over configurationVariables hooks when resolving config vars.

  • #8474 49cc2f0 Thanks @​Wodann! - Report chain type to Google Analytics

  • #8458 0c60e08 Thanks @​schaable! - Fixed project initialization so that compilation and build output directories are never copied from a template into a new project.

  • #8472 2a66c2e Thanks @​kanej! - Fixed empty stack traces on Solidity test failures when running with -vvv or above.

  • #8472 2a66c2e Thanks @​kanej! - Fixed missing stack traces when an invariant already fails on its initial check, when running with -vvv or above.

  • #8470 341807c Thanks @​kanej! - Update the chokidar runtime dependency to its latest major version.

  • #8470 4a71543 Thanks @​kanej! - Update the p-map dependency.

  • #8461 841423a Thanks @​kanej! - Reduce installation warnings with updated dependencies.

3.11.1

Patch Changes

  • #8451 5c9d4a4 Thanks @​kanej! - Remove Hardhat 2 option from init process

  • #8452 724b7cd Thanks @​kanej! - Fixed Solidity source classification so that a directory listed in both paths.sources.solidity and paths.tests.solidity is treated as a source.

  • Updated dependencies:

    • @​nomicfoundation/hardhat-utils@​4.1.6

3.11.0

Minor Changes

  • #8447 dff401d Thanks @​kanej! - Added experimental EIP-7778 support to the Amsterdam hardfork: a block's gasUsed excludes gas refunds; transaction receipts are unchanged.

  • #8447 dff401d Thanks @​kanej! - Added experimental EIP-7928 support to the Amsterdam hardfork: blocks on Amsterdam now include the blockAccessListHash header field. The value is simulated, not the real keccak256(rlp(blockAccessList)).

Patch Changes

3.10.0

... (truncated)

Commits
  • 7cf7797 Version Packages
  • 633ddb2 Merge pull request #8479 from NomicFoundation/fix-for-grep-exclude-args
  • a778da5 fix: only forward grep options to subtasks that declare them
  • 414df77 Merge pull request #8474 from NomicFoundation/feat/chain-type-analytics
  • 94a2189 Update packages/hardhat/src/internal/builtin-plugins/solidity-test/helpers.ts
  • e7181d3 refactor: move supporting function bellow the main function
  • 144c56a add grep-exclude in gas analytics
  • cd60672 remove unused imports
  • 103aed0 remove useless test
  • f898044 add logic for throw with node test runner
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 5, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 5, 2026 08:25
@dependabot
dependabot Bot requested review from JayT106 and randy-cro August 5, 2026 08:26
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Aug 5, 2026
@socket-security

socket-security Bot commented Aug 5, 2026

Copy link
Copy Markdown

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatednpm/​hardhat@​2.27.1 ⏵ 3.12.099 +810082 -996100 +20

View full report

@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/integration_tests/contracts/multi-b298f75819 branch 2 times, most recently from f282c87 to c41daa6 Compare August 7, 2026 14:56
Bumps [undici](https://github.com/nodejs/undici) to 6.28.0 and updates ancestor dependency [hardhat](https://github.com/NomicFoundation/hardhat/tree/HEAD/packages/hardhat). These dependencies need to be updated together.


Updates `undici` from 5.29.0 to 6.28.0
- [Release notes](https://github.com/nodejs/undici/releases)
- [Commits](nodejs/undici@v5.29.0...v6.28.0)

Updates `hardhat` from 2.27.1 to 3.12.0
- [Release notes](https://github.com/NomicFoundation/hardhat/releases)
- [Changelog](https://github.com/NomicFoundation/hardhat/blob/main/packages/hardhat/CHANGELOG.md)
- [Commits](https://github.com/NomicFoundation/hardhat/commits/hardhat@3.12.0/packages/hardhat)

---
updated-dependencies:
- dependency-name: hardhat
  dependency-version: 3.12.0
  dependency-type: direct:production
- dependency-name: undici
  dependency-version: 6.28.0
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/integration_tests/contracts/multi-b298f75819 branch from c41daa6 to dde862c Compare August 7, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants