False positive in CWE-829 /UntrustedCheckoutMedium.ql
- Linguagem predominante
- CodeQL
- Estrelas
- 10.1k
- Forks
- 2.1k
- Merge médio
- 2d 15h
- PRs com merge (30d)
- 141
Descrição
**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
Guia de contribuição
Direção de pesquisa
Start with the CWE-829 /UntrustedCheckoutMedium.ql query and review the triggered and called workflow examples linked in the report. Compare the query result with the pull_request-triggered workflow behavior and the linked code-scanning alert. Done means the called workflow is no longer incorrectly reported as privileged.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- github, github-actions
- Domínio
- ci-cd, security
- Tipo de issue
- Bug
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 55/100