False positive in CWE-829 /UntrustedCheckoutMedium.ql
- Lenguaje dominante
- CodeQL
- Estrellas
- 10.1k
- Forks
- 2.1k
- Merge medio
- 2 d 15 h
- PR fusionados (30 d)
- 141
Descripción
**Description of the false positive**
When there is a workflow that is triggered by a pull_request, this check considers the called workflow to be privileged even though it is not.
**Code samples or links to source code**
Triggered Workflow: https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/.github/workflows/release-binaries-all.yml
Called Workflow: https://raw.githubusercontent.com/llvm/llvm-project/refs/heads/main/.github/workflows/release-binaries.yml
**URL to the alert on GitHub code scanning (optional)**
https://github.com/llvm/llvm-project/security/code-scanning/1828
Guía de contribución
Línea de trabajo
Empieza con la consulta CWE-829 /UntrustedCheckoutMedium.ql y revisa los ejemplos de workflows activados y llamados enlazados en el informe. Compara el resultado de la consulta con el comportamiento del workflow activado por pull_request y la alerta de code-scanning enlazada. Se considera terminado cuando el workflow llamado ya no se informa incorrectamente como privilegiado.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- github, github-actions
- Área
- ci-cd, security
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Tranquilo
- Claridad
- Bastante claro
- Aptitud para principiantes
- 55/100