developit / developit/microbundle

Security vulnerability via transitive dependency on `serialize-javascript` via `rollup-plugin-terser`

オープン
#1,100 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
8.1k
フォーク
358
PR マージ指標
30日以内にマージされた PR はありません

説明

I've started to see vulnerability reports on a number of projects that all look like this: https://github.com/bullet-train-co/bullet_train-core/security/dependabot/557

The issue arises because `microbundle` depends on the deprecated `rollup-plugin-terser` package which has its dependency on `serialize-javascript` declared with `^4.0.0`.

Updating `microbundle` to `@rollup/plugin-terser` should fix the dependency chain, but I don't know if it would introduce other issues.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

Inspect microbundle's dependency declaration for rollup-plugin-terser and the resulting serialize-javascript dependency chain. Try the proposed @rollup/plugin-terser replacement, run the existing build or test commands, and confirm that the vulnerability is gone without introducing regressions.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, rollup
領域
build-system, security
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
55/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。