fix(hooks): security guard false positives in test fixtures and on non-shell exec(
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 70/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- javascript, nodejs
- Área
- devtools, security, testing-qa
Línea de trabajo
Start by locating the credential rules, shell-exec rule, and their tests in the repository; the issue does not name specific files. Check how each rule identifies test paths and child_process calls, then run the relevant tests. Done means fixture paths suppress unknown credential-like values while known key formats still warn, and shell-exec warnings require the stated child_process evidence, with tests covering false and true positives.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
What
The guard warns on credential-looking values in test fixtures and on any exec( call with a template string, including RegExp.prototype.exec and ORM exec helpers.
Why
Warnings that are wrong teach people to ignore the hook or turn it off.
Acceptance criteria
- Credential rules are quieter in test paths (
*.test.*,*.spec.*,__tests__/,tests/,*Tests.cs) unless the value matches a known key format. - The shell-exec rule needs evidence the call is
child_process(an import orrequireof it in the file, orcp.exec/child_process.exec). - Tests cover both the old false positives and the true positives they must keep.
- Lenguaje dominante
- JavaScript
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 devmaxxx/stackwise
-
feat: add a plugin iconAbiertoenhancement good first issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
-
enhancement
Dificultad 3/5 1-2 días Aptitud para principiantes 68/100
-
bug eval
Dificultad 3/5 1-2 días Aptitud para principiantes 66/100
-
bug
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
Todos los issues de devmaxxx/stackwise
Issues similares
-
Clinic sharing: fast sync refusal message suggests Delete Data, which only developer builds haveAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
avniproject/avni-client#2228 ·
-
bug confirmed issue
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
open-webui/open-webui#33196 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
`printf "%o"` prints decimalAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
fable-compiler/Fable#5157 ·
Los mantenedores suelen responder en 1 día
-
New tool: PaperBananaPosiblemente ocupada @github-actions la tomó hoy. Abiertosubmission triage
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
kausalflow/tools#243 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
area: apple-music area: build-release bug effort: small priority: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
ChristianTabor/Argon#32 ·
Los mantenedores suelen responder en 1 día