developit / developit/microbundle
Security vulnerability via transitive dependency on `serialize-javascript` via `rollup-plugin-terser`
- 主要语言
- 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