lang:

Python

regex:

RSA\.gen_key\s*?\(\s*?[^,]+\s*?,\s*?(1|3)\s*?,

description:

Insecure RSA exponent

References: 
http://stackoverflow.com/questions/17490282/why-is-this-commit-that-sets-the-rsa-public-exponent-to-1-problematic
http://www.openwall.com/lists/oss-security/2013/07/01/1
tags:
rsa exponent
results