[Actions] CWE-285/ImproperAccessControl.ql Not Currently Working
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the issue**
The Actions ImproperAccessControl query is not working even for trivial workflows. This is an example from https://github.com/github/codeql/blob/main/actions/ql/src/Security/CWE-285/ImproperAccessControl.md and does not trigger a detection.
```yaml
on:
pull_request_target:
types: [opened, synchronize]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo for OWNER TEST
uses: actions/checkout@v3
if: contains(github.event.pull_request.labels.*.name, 'safe to test')
with:
ref: ${{ github.event.pull_request.head.sha }}
- run: ./cmd
```
All my attempts to try variations that did trigger a finding also failed. Is this detection enabled as part of the default suite (it appears to be)?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia riproducendo l’esempio di workflow da actions/ql/src/Security/CWE-285/ImproperAccessControl.md ed esamina la query ImproperAccessControl.ql corrispondente. Verifica se la query è inclusa nella suite predefinita; il lavoro è completo quando viene spiegato o corretto il motivo per cui l’esempio non produce alcun risultato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Ambito
- security
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100