Security: remove the unused react-quill dependency (pulls in vulnerable Quill 1.x)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 1/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 88/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, next.js, node.js, react
- Área
- build-system, frontend, security
Línea de trabajo
Empieza con package.json y comprueba si se importa react-quill o quill en src/; el issue identifica src/pages/apps/notes.js y src/pages/api/socket/io.js como usuarios del paquete independiente quill-delta. Elimina la dependencia que no se usa y luego ejecuta npm test, npm run build y npm audit. Se considera terminado cuando la aplicación Notes sigue funcionando y la auditoría ya no informa de quill ni de react-quill.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
New here? Say hi on Discord first, it's the fastest way to get help: https://discord.gg/NW2YZACf4k
npm audit reports a moderate XSS advisory for quill. It comes from react-quill in package.json, which bundles Quill 1.3.7.
But nothing in src/ imports react-quill or quill. The editor code only uses quill-delta (src/pages/apps/notes.js and src/pages/api/socket/io.js), and that's a separate package with no advisory. So the vulnerable code is dead weight we ship in node_modules, and it makes the audit noisy.
Steps
npm uninstall react-quill- Check nothing breaks:
npm test,npm run build, and open the Notes app innpm run dev. - Run
npm auditand confirmquill/react-quillare gone from the report. - Paste the before/after
npm auditlines in the PR.
Done when
react-quillis removed frompackage.json.- CI is green.
- Notes still works.
A nice small security fix if you're new.
Comment "I'd like to take this" and we'll assign you. Questions are welcome in Discord: https://discord.gg/NW2YZACf4k
- Lenguaje dominante
- JavaScript
- Estrellas
- 16
- Forks
- 8
- Merge medio
- 4 h 24 min
- PR fusionados (30 d)
- 10
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Sin guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de codehubbers/OrbitOS
-
ci difficulty: easy documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
codehubbers/OrbitOS#80 ·
Los mantenedores suelen responder en 1 día
-
difficulty: easy documentation good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
codehubbers/OrbitOS#79 ·
Los mantenedores suelen responder en 1 día
-
difficulty: easy good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 72/100
codehubbers/OrbitOS#78 ·
Los mantenedores suelen responder en 1 día
-
🎨 Add 5+ new high-quality wallpapers to the Settings appPosiblemente ocupada @anshumanjadiya1102 la tomó hace 1 día. Abiertodesign difficulty: easy frontend good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
codehubbers/OrbitOS#75 ·
Los mantenedores suelen responder en 1 día
-
backend difficulty: hard performance
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
codehubbers/OrbitOS#128 ·
Los mantenedores suelen responder en 1 día
Todos los issues de codehubbers/OrbitOS
Issues similares
-
flex-flow: wrap-reverse gets a vertical, reversed 2009 box fallbackPosiblemente ocupada @goranai la tomó hoy. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 86/100
postcss/autoprefixer#1577 ·
Los mantenedores suelen responder en 2 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
-
bug
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
PranshulGG/WeatherMaster#1266 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
FEATURE REQUEST
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
linuxmint/cinnamon-spices-applets#9356 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
opnsense/plugins#5976 · 1 comentario ·
Los mantenedores suelen responder en 1 día