Skip to content

chore: pin devDependencies using (bumpp, oxlint, typescript, vitest) #84

@productdevbook

Description

@productdevbook

Summary

Four devDependencies use "latest" instead of pinned version ranges, creating supply-chain risk.

Details

File: package.json

"bumpp": "latest",
"oxlint": "latest",
"typescript": "latest",
"vitest": "latest"

bumpp is particularly sensitive as it's executed during pnpm release (commits, tags, and triggers npm publish). A malicious release could tamper with the release pipeline. vitest runs arbitrary test code.

All other dependencies in the project use pinned versions or ^ ranges — these four latest entries are inconsistent.

Fix

Replace each "latest" with a concrete semver range (e.g., "^3.0.0" for vitest) or exact pinned versions, and ensure CI uses pnpm install --frozen-lockfile.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions