github / github/codeql

Python: UUID storage from dictionary of Python IDs

Open
#6,726 1 comment 0 reactions 0 assignees View on GitHub
acknowledged false-positive Python
Dominant language
CodeQL
Stars
10.1k
Forks
2.1k
Avg merge
2d 15h
Merged PRs (30d)
141

Description

**Description of the false positive**

I generate UUID's from python's `uuid` module just as a reference. However LGTM gives me `Sensitive data (id) is stored here.` This may be because I use a dictionary of Python object IDs to their UUID, but the IDs aren't written to the file.

**URL to the alert on the project page on LGTM.com**

https://lgtm.com/projects/g/pyunity/pyunity/snapshot/d0cab0520cfd076e153275fffe37c385d32400ea/files/pyunity/loader.py#xdf524e534b51d84c:1
https://lgtm.com/projects/g/pyunity/pyunity/snapshot/d0cab0520cfd076e153275fffe37c385d32400ea/files/pyunity/loader.py#x144beaea4b90ea38:1
https://lgtm.com/projects/g/pyunity/pyunity/snapshot/d0cab0520cfd076e153275fffe37c385d32400ea/files/pyunity/files.py#x2fcdbce9cb89ebb1:1
https://lgtm.com/projects/g/pyunity/pyunity/snapshot/d0cab0520cfd076e153275fffe37c385d32400ea/files/pyunity/loader.py#x8c3e41fa3f8844c9:1

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.