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

C++: Experimental query for implementation of a cryptographic primitive #14972

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

Conversation

geoffw0
Copy link
Contributor

@geoffw0 geoffw0 commented Nov 30, 2023

Adds an experimental query for detecting custom implementations of a cryptographic primitive (i.e. covering https://mas.owasp.org/MASTG/General/0x04g-Testing-Cryptography/#custom-implementations-of-cryptography
and parts of https://cwe.mitre.org/data/definitions/1240.html).

Currently @precision medium, because it flags established library encryption implementations just as happily as custom implementations and entirely custom algorithms. Though probably none of these should be in a database unless it's a database for a cryptography library.

Developed during a hackathon. Needs more work to be production quality - in particular it currently lacks qhelp / examples, could do with a few more unit tests, and perhaps some more testing in the wild and refinement.

@geoffw0 geoffw0 added the C++ label Nov 30, 2023
@geoffw0 geoffw0 requested a review from a team as a code owner November 30, 2023 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant