Python: False positive: Tuple Destructuring
Aperta
false-positive
- Lingua principale
- CodeQL
- Stelle
- 10.1k
- Fork
- 2.1k
- Merge medio
- 2g 15h
- PR unite (30g)
- 141
Descrizione
**Description of the false positive**
CodeQL incorrectly identifies dataflow occurring from a constant value when a tuple is being destructured.
**Code samples or links to source code**

Here's it's very clear that `status` will always be `200` on this data flow path, but CodeQL incorrectly believes there is dataflow from the `res.json()` to the `status` variable.
https://github.com/Chainguard-Wolfi-Bites-Back/istio__istio/security/code-scanning/5
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.