Skip to content

🚨 [security] Update @vitest/coverage-v8 4.1.1 β†’ 4.1.2 (patch)#648

Closed
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/@vitest/coverage-v8-4.1.2
Closed

🚨 [security] Update @vitest/coverage-v8 4.1.1 β†’ 4.1.2 (patch)#648
depfu[bot] wants to merge 1 commit intomainfrom
depfu/update/npm/@vitest/coverage-v8-4.1.2

Conversation

@depfu
Copy link
Copy Markdown
Contributor

@depfu depfu bot commented Mar 27, 2026


🚨 Your current dependencies have known security vulnerabilities 🚨

This dependency update fixes known security vulnerabilities. Please see the details below and assess their impact carefully. We recommend to merge and deploy this as soon as possible!


Here is everything you need to know about this update. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ @​vitest/coverage-v8 (4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

✳️ @​vitest/ui (4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

✳️ vitest (4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/expect (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/mocker (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/pretty-format (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/runner (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/snapshot (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/spy (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ @​vitest/utils (indirect, 4.1.1 β†’ 4.1.2) Β· Repo

Release Notes

4.1.2

This release bumps Vitest's flatted version and removes version pinning to resolve flatted's CVE related issues (#9975).

   🐞 Bug Fixes

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 9 commits:

↗️ flatted (indirect, 3.4.0 β†’ 3.4.2) Β· Repo

Security Advisories 🚨

🚨 Prototype Pollution via parse() in NodeJS flatted


Summary

The parse() function in flatted can use attacker-controlled string values from the parsed JSON as direct array index
keys, without validating that they are numeric. Since the internal input buffer is a JavaScript Array, accessing it
with the key "__proto__" returns Array.prototype via the inherited getter. This object is then treated as a legitimate
parsed value and assigned as a property of the output object, effectively leaking a live reference to Array.prototype
to the consumer. Any code that subsequently writes to that property will pollute the global prototype.


Root Cause

File: esm/index.js:29 (identical in cjs/index.js)

  const resolver = (input, lazy, parsed, $) => output => {
    for (let ke = keys(output), {length} = ke, y = 0; y < length; y++) {
      const k = ke[y];
      const value = output[k];    
      if (value instanceof Primitive) {
        const tmp = input[value];      // Bug is here

No validation that value is a safe numeric index input is built as a plain Array. JavaScript's property lookup on arrays traverses the prototype chain for non-numeric keys. The key "__proto__" resolves to Array.prototype, which:

  • has type "object" β†’ passes the typeof tmp === object guard at line 30
  • is not in the parsed Set yet β†’ passes the !parsed.has(tmp) guard.
  • The reference to Array.prototype is then enqueued in lazy and later unconditionally assigned to the output object.

Replication Steps

  const Flatted = require('flatted'); 
  const parsed = Flatted.parse('[{"x":"__proto__"}]');
  parsed.x.polluted = 'pwned';
  console.log([].polluted);  // Returns true

Impact
An attacker can supply a crafted flatted string to parse() that causes the returned object to hold a live reference to Array.prototype, enabling any downstream code that writes to that property to pollute the global prototype chain, potentially causing denial of service or code execution.

Recommended solution
Validate that the index string represents an integer within the bounds of input before accessing it:

// Before (vulnerable)
const tmp = input[value];

// After (safe)
const idx = +value; // coerce boxed String β†’ number
const tmp = (Number.isInteger(idx) && idx >= 0 && idx < input.length)
? input[idx]
: undefined;

Commits

See the full diff on Github. The new version differs by 10 commits:

↗️ tinyrainbow (indirect, 3.0.3 β†’ 3.1.0) Β· Repo

Release Notes

3.1.0

Β Β Β πŸš€ Features

Β Β Β Β View changes on GitHub

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 2 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu cancel merge
Cancels automatic merging of this PR
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)
Go to the Depfu Dashboard to see the state of your dependencies and to customize how Depfu works.

@depfu depfu bot added the depfu label Mar 27, 2026
@github-actions github-actions bot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Mar 27, 2026
@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 27, 2026

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

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedvitest@​4.1.1 ⏡ 4.1.296 +110079 +199100
Updated@​vitest/​coverage-v8@​4.1.1 ⏡ 4.1.299 +11007999 +2100
Updated@​vitest/​ui@​4.1.1 ⏡ 4.1.2100 +2100100 +26100 +2100

View full report

@socket-security
Copy link
Copy Markdown

socket-security bot commented Mar 27, 2026

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert  (click "β–Ά" to expand/collapse)
Block Low
Embedded URLs or IPs: npm @vitest/mocker

URLs: https://github.com/stacktracejs/error-stack-parser, https://vitest.dev/guide/mocking/modules#how-it-works, https://vitest.dev/api/vi.html#vi-mock

Location: Package overview

From: package-lock.json β†’ npm/vitest@4.1.2 β†’ npm/@vitest/mocker@4.1.2

β„Ή Read more on: This package | This alert | What are URL strings?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@vitest/mocker@4.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm @vitest/runner

URLs: https://vitest.dev/guide/test-context#suite-level-hooks, https://esbuild.github.io/try/#YgAwLjI0LjAALS1zdXBwb3J0ZWQ6YXN5bmMtYXdhaXQ9ZmFsc2UAZQBlbnRyeS50cwBjb25zdCBvID0gewogIGYxOiBhc3luYyAoKSA9PiB7fSwKICBmMjogYXN5bmMgKGEpID0+IHt9LAogIGYzOiBhc3luYyAoYSwgYikgPT4ge30sCiAgZjQ6IGFzeW5jIGZ1bmN0aW9uKGEpIHt9LAogIGY1OiBhc3luYyBmdW5jdGlvbiBmZihhKSB7fSwKICBhc3luYyBmNihhKSB7fSwKCiAgZzE6IGFzeW5jICgpID0+IHt9LAogIGcyOiBhc3luYyAoeyBhIH0pID0+IHt9LAogIGczOiBhc3luYyAoeyBhIH0sIGIpID0+IHt9LAogIGc0OiBhc3luYyBmdW5jdGlvbiAoeyBhIH0pIHt9LAogIGc1OiBhc3luYyBmdW5jdGlvbiBnZyh7IGEgfSkge30sCiAgYXN5bmMgZzYoeyBhIH0pIHt9LAoKICBoMTogYXN5bmMgKCkgPT4ge30sCiAgLy8gY29tbWVudCBiZXR3ZWVuCiAgaDI6IGFzeW5jIChhKSA9PiB7fSwKfQ, fixture.name, https://vitest.dev/guide/test-tags, https://github.com/vitest-dev/vitest/issues, https://github.com/vitest-dev/vitest/issues/2920, https://github.com/vitest-dev/vitest/pull/7069, vitest.test.id, vitest.test.name, vitest.suite.id, vitest.suite.name, https://vitest.dev/advanced/runner#your-task-function, https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal, https://vitest.dev/guide/test-context#signal, https://vitest.dev/guide/test-context#ontestfailed, https://vitest.dev/guide/test-context#ontestfinished, https://vitest.dev/guide/test-context#skip, https://vitest.dev/guide/test-context#annotate, https://vitest.dev/config/api#api-allowwrite, https://vitest.dev/config/browser/api#api-allowwrite

Location: Package overview

From: package-lock.json β†’ npm/vitest@4.1.2 β†’ npm/@vitest/runner@4.1.2

β„Ή Read more on: This package | This alert | What are URL strings?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/@vitest/runner@4.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

Block Low
Embedded URLs or IPs: npm vitest

URLs: https://bugzilla.mozilla.org/show_bug.cgi?id=745678, http://en.wikipedia.org/wiki/Operator-precedence_parser, https://github.com/acornjs/acorn/issues/575, https://www.ecma-international.org/ecma-262/8.0/#prod-Pattern, https://www.ecma-international.org/ecma-262/8.0/#prod-Disjunction, https://www.ecma-international.org/ecma-262/8.0/#prod-Alternative, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-Term, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-Assertion, https://www.ecma-international.org/ecma-262/8.0/#prod-Quantifier, https://www.ecma-international.org/ecma-262/8.0/#prod-QuantifierPrefix, https://www.ecma-international.org/ecma-262/8.0/#sec-term, https://www.ecma-international.org/ecma-262/8.0/#prod-Atom, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ExtendedAtom, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-InvalidBracedQuantifier, https://www.ecma-international.org/ecma-262/8.0/#prod-SyntaxCharacter, https://www.ecma-international.org/ecma-262/8.0/#prod-PatternCharacter, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ExtendedPatternCharacter, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-AtomEscape, https://www.ecma-international.org/ecma-262/8.0/#sec-atomescape, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-CharacterEscape, https://www.ecma-international.org/ecma-262/8.0/#prod-ControlEscape, https://www.ecma-international.org/ecma-262/8.0/#prod-ControlLetter, https://www.ecma-international.org/ecma-262/8.0/#prod-RegExpUnicodeEscapeSequence, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-IdentityEscape, https://www.ecma-international.org/ecma-262/8.0/#prod-DecimalEscape, https://www.ecma-international.org/ecma-262/8.0/#prod-CharacterClassEscape, https://www.ecma-international.org/ecma-262/8.0/#prod-CharacterClass, https://tc39.es/ecma262/#prod-ClassContents, https://www.ecma-international.org/ecma-262/8.0/#prod-ClassRanges, https://www.ecma-international.org/ecma-262/8.0/#prod-NonemptyClassRanges, https://www.ecma-international.org/ecma-262/8.0/#prod-NonemptyClassRangesNoDash, https://www.ecma-international.org/ecma-262/8.0/#prod-ClassAtom, https://www.ecma-international.org/ecma-262/8.0/#prod-ClassAtomNoDash, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ClassEscape, https://tc39.es/ecma262/#prod-ClassSetExpression, https://tc39.es/ecma262/#prod-ClassUnion, https://tc39.es/ecma262/#prod-ClassIntersection, https://tc39.es/ecma262/#prod-ClassSubtraction, https://tc39.es/ecma262/#prod-ClassSetRange, https://tc39.es/ecma262/#prod-ClassSetOperand, https://tc39.es/ecma262/#prod-NestedClass, https://tc39.es/ecma262/#prod-ClassStringDisjunction, https://tc39.es/ecma262/#prod-ClassStringDisjunctionContents, https://tc39.es/ecma262/#prod-ClassString, https://tc39.es/ecma262/#prod-NonEmptyClassString, https://tc39.es/ecma262/#prod-ClassSetCharacter, https://tc39.es/ecma262/#prod-ClassSetReservedDoublePunctuator, https://tc39.es/ecma262/#prod-ClassSetSyntaxCharacter, https://tc39.es/ecma262/#prod-ClassSetReservedPunctuator, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-ClassControlLetter, https://www.ecma-international.org/ecma-262/8.0/#prod-HexEscapeSequence, https://www.ecma-international.org/ecma-262/8.0/#prod-DecimalDigits, https://www.ecma-international.org/ecma-262/8.0/#prod-HexDigits, https://www.ecma-international.org/ecma-262/8.0/#prod-annexB-LegacyOctalEscapeSequence, https://www.ecma-international.org/ecma-262/8.0/#prod-OctalDigit, https://www.ecma-international.org/ecma-262/8.0/#prod-Hex4Digits, https://www.ecma-international.org/ecma-262/8.0/#prod-HexDigit, https://github.com/estree/estree/blob/a27003adf4fd7bfad44de9cef372a2eacd527b1c/es5.md#regexpliteral, http://marijnhaverbeke.nl/git/acorn, https://github.com/acornjs/acorn.git, https://github.com/acornjs/acorn/issues, vitest.module.id, https://nodejs.org/api/modules.html#built-in-modules-with-mandatory-node-prefix, vitest.mock.id, https://vitest.dev/guide/snapshot.html, https://vitest.dev/guide/open-telemetry, https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/context/env-carriers.md, builder.io/qwik, https://playwright.dev, https://webdriver.io, builder.io/qwik/optimizer, qwik.dev/core, https://vitest.dev/config/browser/playwright, https://vitest.dev/config/browser/webdriverio, 0.0.0.0, process.env.CI, https://vitest.dev/config/coverage#coverage-reporter, https://github.com/istanbuljs/nyc#coverage-thresholds, https://github.com/istanbuljs/nyc#ignoring-methods, https://vitest.dev/guide/coverage#custom-coverage-provider, https://en.wikipedia.org/wiki/Random_seed, https://vitest.dev/config/sequence#sequence-hooks, 127.0.0.1:9229, https://vitest.dev/guide/test-tags#syntax, https://github.com/spf13/cobra/issues/1279, http://foo.com, http://foo.com/, https://github.com/vitejs/vite/blob/95020ab49e12d143262859e095025cf02423c1d9/packages/vite/src/node/server/middlewares/error.ts#L25-L36, https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#setting-an-error-message, https://github.com/actions/toolkit/blob/f1d9b4b985e6f0f728b4b766db73498403fd5ca3/packages/core/src/command.ts#L80-L85, https://github.com/, https://github.com/vitest-dev/vitest/issues, https://gist.github.com/john-doherty/b9195065884cdbfd2017a4756e6409cc, 127.0.0.1, https://vitest.dev/config/browser/api, https://vitest.dev/guide/migration#pool-rework, browser.name, https://vitest.dev/config/browser/provider, https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/proto, https://html.spec.whatwg.org/multipage/browsers.html#location, https://html.spec.whatwg.org/#document, https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-26809268, https://html.spec.whatwg.org/multipage/webappapis.html#mimetypearray, https://html.spec.whatwg.org/multipage/webappapis.html#pluginarray, https://html.spec.whatwg.org/#htmltabledatacellelement, https://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-82915075, https://html.spec.whatwg.org/#htmltableheadercellelement, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-promise.prototype-@@tostringtag, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-dataview.prototype-@@tostringtag, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%mapiteratorprototype%-@@tostringtag, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%setiteratorprototype%-@@tostringtag, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%arrayiteratorprototype%-@@tostringtag, http://www.ecma-international.org/ecma-262/6.0/index.html#sec-%stringiteratorprototype%-@@tostringtag, https://heycam.github.io/webidl/#abstract-opdef-converttoint, https://github.com/sinonjs/sinon/issues/1852#issuecomment-419622780, https://developer.mozilla.org/en-US/docs/Web/API/setTimeout#reasons_for_delays_longer_than_specified, https://stackblitz.com/edit/stackblitz-starters-qtlpcc, https://github.com/sinonjs/fake-timers/issues/250, https://github.com/nodejs/node/blob/7c3dce0/lib/internal/modules/package_json_reader.js, vitest.runtime.run, vitest.worker.id, https://github.com/vitejs/vite/pull/21585, vitest.fetched_module.id, https://github.com/vitejs/vite/issues/15438,, https://nodejs.org/api/process.html#signal-events, https://github.com/vitest-dev/vitest/issues/7871, vitest.worker.name, https://github.com/jestjs/jest/blob/25a8785584c9d54a05887001ee7f498d489a5441/packages/jest-worker/src/workers/ChildProcessWorker.ts#L463-L477, https://github.com/tinylibs/tinypool/blob/40b4b3eb926dabfbfd3d0a7e3d1222d4dd1c0d2d/src/runtime/process-worker.ts#L56, https://github.com/vitejs/vite/blob/af2aa09575229462635b7cbb6d248ca853057ba2/packages/vite/src/node/plugins/resolve.ts#L1056-L1080, https://github.com/STRML/async-limiter, https://github.com/nodejs/node/issues/8871#issuecomment-250915913, https://github.com/websockets/ws/issues/1202, https://www.cl.cam.ac.uk/%7Emgk25/ucs/utf8_check.c, https://tools.ietf.org/html/rfc6455#section-9.1, https://github.com/websockets/ws/issues/1869., https://github.com/websockets/ws/issues/1940., https://github.com/vitejs/vite/issues/14328, https://github.com/vitejs/vite/blob/main/packages/vite/src/node/logger.ts?rgh-link-date=2024-10-16T23%3A29%3A19Z, https://github.com/vitejs/vite/pull/15184, https://github.com/unjs/mlly/blob/c5bcca0cda175921344fd6de1bc0c499e73e5dac/src/syntax.ts#L51-L98, https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances, https://vitest.dev/guide/projects, https://vitest.dev/guide/reporters.html#hanging-process-reporter, https://github.com/vitejs/vite/pull/20449, https://vitest.dev/api/vi#vi-advancetimersbytime, performance.now, Date.now, https://vitest.dev/api/vi#vi-fn, https://vitest.dev/api/mock, https://vitest.dev/api/vi#vi-waitfor, https://vitest.dev/api/vi#vi-mock, https://nodejs.org/api/esm.html#https-and-http-imports, 127.0.0.0, task.name, https://vitest.dev/guide/coverage.html#including-and-excluding-files-from-coverage-report, https://istanbul.js.org/docs/advanced/alternative-reporters/, https://vitest.dev/api/advanced/vitest#getsourcemodulediagnostic, https://vitest.dev/config/browser/screenshotdirectory, https://vitest.dev/config/root, https://vitest.dev/api/#describe, https://vitest.dev/config/attachmentsdir, api.host, https://superchupu.dev/tinyglobby/comparison, https://vitest.dev/config/include, https://github.com/chaijs/chai/blob/4.x.x/lib/chai/config.js, https://nodejs.org/api/module.html#customization-hooks

Location: Package overview

From: package-lock.json β†’ npm/vitest@4.1.2

β„Ή Read more on: This package | This alert | What are URL strings?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: Review all remote URLs to ensure they are intentional, pointing to trusted sources, and not being used for data exfiltration or loading untrusted code at runtime.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/vitest@4.1.2. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@deepsource-io
Copy link
Copy Markdown

deepsource-io bot commented Mar 27, 2026

DeepSource Code Review

We reviewed changes in 9365f46...50781da on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSourceΒ β†—

PR Report Card

Overall GradeΒ Β  SecurityΒ Β 

ReliabilityΒ Β 

ComplexityΒ Β 

HygieneΒ Β 

Code Review Summary

Analyzer Status Updated (UTC) Details
JavaScript Mar 27, 2026 3:57p.m. ReviewΒ β†—
Secrets Mar 27, 2026 3:57p.m. ReviewΒ β†—

@guibranco guibranco enabled auto-merge (squash) March 27, 2026 15:56
@gstraccini gstraccini bot added the β˜‘οΈ auto-merge Automatic merging of pull requests (gstraccini-bot) label Mar 27, 2026
Copy link
Copy Markdown
Owner

@guibranco guibranco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Automatically approved by gstraccini[bot]

@gstraccini gstraccini bot added the πŸ€– bot Automated processes or integrations label Mar 27, 2026
@guibranco
Copy link
Copy Markdown
Owner

@depfu merge

@depfu depfu bot force-pushed the depfu/update/npm/@vitest/coverage-v8-4.1.2 branch from 502830e to 50781da Compare March 27, 2026 15:57
@depfu
Copy link
Copy Markdown
Contributor Author

depfu bot commented Mar 29, 2026

Closing because this update has already been applied

@depfu depfu bot closed this Mar 29, 2026
auto-merge was automatically disabled March 29, 2026 06:36

Pull request was closed

@depfu depfu bot deleted the depfu/update/npm/@vitest/coverage-v8-4.1.2 branch March 29, 2026 06:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

β˜‘οΈ auto-merge Automatic merging of pull requests (gstraccini-bot) πŸ€– bot Automated processes or integrations depfu size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant