Skip to content

[Hackathon] fix(deps): update source-map-js to resolve high-severity DoS advisory #676

Closed as not planned

Description

@0xanjalii

Verified against (commit SHA or released version)

commit a18d37c

Discord Username / User ID

vampire1140

What does this improvement do?

Summary

The lockfile resolves transitive dependency source-map-js to 1.2.1. npm audit reports a high-severity event-loop denial-of-service advisory for this version.

Impact

The vulnerable package is part of the development/test dependency tree through Vite and coverage tooling. A crafted indexed source map can cause excessive processing and block the event loop during local or CI tooling execution. It is not included in the published runtime dependency set, but it can still affect contributor and CI runs.

Evidence

Verified on commit a18d37c:

source-map-js 1.2.1
Affected range: >=1.0.0 <1.2.2
npm audit severity: high

Reproduction:

npm ci
npm audit

Expected fix

Update the dependency tree so source-map-js >= 1.2.2 is selected, regenerate the lockfile, and confirm the full test and coverage workflows still pass.

Details / implementation notes

The solution is a lockfile refresh that selects source-map-js 1.2.2 through the existing Vite and coverage dependency tree; no product code changes are required.

Confirmations

  • I have searched existing issues and this is not a duplicate.
  • I have provided my Discord identity above for reward coordination.

Activity

  1. added
    needs-triage
    hackathon
    on Oct 26, 2026
  2. 0xanjalii commented on Oct 28, 2026

    @0xanjalii
    Author

    /assign

  3. testsprite-hob commented on Oct 28, 2026

    @testsprite-hob

    Thanks for the interest, @0xanjalii! This issue hasn't been accepted for implementation yet — see the triage comment (a maintainer will label it accepted once it is). Feel free to check back, or ping us on Discord if it's been quiet.

  4. fyZhang66 commented on Oct 30, 2026

    @fyZhang66
    Contributor

    Thanks @0xanjalii. source-map-js is dev-only (via postcss), so it never reaches an installed CLI, and Dependabot's #357 already carries the 1.2.2 bump. Closing as not planned.

  5. removed
    needs-triage
    on Oct 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    hackathon

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions