[BUG] Track Dependabot alerts for transitive dependencies: picomatch, minimatch, glob

Aperta
#200 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
42/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
eslint, react-native, typescript
Ambito
mobile, security

Direzione di ricerca

Start by running npm ls picomatch minimatch glob and inspect the resolutions in package-lock.json. Check whether upstream Expo, Jest, ESLint, or React Native releases have incorporated patched versions; the issue asks to track this alongside upstream releases. Done means the tracked dependencies are patched without breaking overrides, with the updated dependency tree verified.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug dependencies

Describe the Bug

Dependabot reported 3 security vulnerability alerts affecting transitive development and build dependencies in package-lock.json:

  • picomatch (Alert #11, High): ReDoS through single-branch repeated extglobs (transitive via @expo/metro, jest, and react-native).
  • minimatch (Alert #10, Moderate): Potential DoS via globparts amplification (transitive via eslint, jest, and @expo/cli).
  • glob (Alert #9, Moderate): AbortSignal cancellation bypass allowing post-timeout filesystem traversal (transitive via eslint, jest, and @expo/cli).

These packages belong strictly to dev/build/test tooling and are not bundled into the production mobile runtime or exposed to untrusted external input.

To Reproduce

Steps to reproduce the behavior:

  1. Check repository Dependabot alerts or run dependency tree inspection.
  2. Run npm ls picomatch minimatch glob.
  3. Notice packages are resolved as transitive dependencies of Jest, ESLint, and Expo CLI.

Expected Behavior

Upstream maintainers (expo, jest, eslint, react-native) should update their dependency trees to incorporate patched versions of picomatch, minimatch, and glob without requiring breaking manual overrides.

Environment:

  • App Version: v1.5.0
  • Tooling: Expo SDK 58, React Native 0.88.1, Jest 30.5.2, ESLint 8.57.1

Additional Context

  • Security Impact: Negligible / None in production. These modules run exclusively during local development, CI linting, testing, and bundling. Glob patterns are authored statically by repository configurations.
  • Action Plan: Keep tracked and update alongside upcoming upstream Expo SDK or Jest/ESLint patch releases instead of forcing manual overrides that could break bundler/test stability.

AI Generation Disclosure

Drafted by AI agent Antigravity (Gemini 3.8 Flash) in accordance with repository guidelines.

Lingua principale
TypeScript
Stelle
4
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GiZano/LevelUp

Tutte le issue di GiZano/LevelUp

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.