Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python: Private Data Cleartext Storage/Logging #3899

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

dilanbhalla
Copy link
Contributor

Added new library and corresponding queries for storage/logging of cleartext private data. This already exists for sensitive expressions (CWE-311) but would be helpful to have for private data as well, as we already have for C# (seen in C# queries CWE-312 and CWE-359). The PrivateData.qll library includes information corresponding to government identifiers, as opposed to the credential-related information stored in SensitiveData.qll, but still important to keep encrypted before storing/logging as mentioned above.

@dilanbhalla dilanbhalla requested a review from a team as a code owner July 4, 2020 07:09
@dilanbhalla
Copy link
Contributor Author

Hello,

I recently mentioned this on another one of my PRs, but but several of my PRs have review requests from codeql-python (from which I have not received any feedback). I am unsure if I need official approval from codeql-python for experimental queries so if I can have some guidance on how to remove the review request from codeql-python and instead get someone else to take a look so I can get them potentially merged as experimental queries, that would be great.

These queries that I have written and currently are waiting upon review from codeql-python are:

Python: XML RPC Dotted Names
Python: Private Data Cleartext Storage/Logging
Python: Module not intended for production
Python: Open URL without Certificate Validation

Thank you so much!

@tausbn
Copy link
Contributor

tausbn commented Jul 13, 2020

I recently mentioned this on another one of my PRs, but but several of my PRs have review requests from codeql-python (from which I have not received any feedback). I am unsure if I need official approval from codeql-python for experimental queries so if I can have some guidance on how to remove the review request from codeql-python and instead get someone else to take a look so I can get them potentially merged as experimental queries, that would be great.

All Python submissions -- even the ones that are initially being merged into experimental -- have to be reviewed by someone from the Python team before merging. This is to ensure that the contributed code is up to our usual standards.

Regarding your submissions, I can't give a firm guarantee on when they will be reviewed. As I mentioned elsewhere, we're currently focusing all of our energy on improving the core Python QL libraries, and it may be a while before we get round to your PRs.

Thank you for your patience. 🙂

@dilanbhalla
Copy link
Contributor Author

Hi @tausbn, that makes sense. And I completely understand the focus on restructuring the libraries at the moment.

@adityasharad adityasharad changed the base branch from master to main August 14, 2020 18:33
@yoff
Copy link
Contributor

yoff commented Feb 22, 2024

Thank you very much for your patience! I think the restructuring is sufficiently in place now. I made a comment on your other PR. This one, I am so not sure about, it seems very heuristic, but I can see it would be useful in certain contexts. Has it per chance been superseded by other work in the gap time?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants