Improper error handling
Improper error handling can enable attacks and lead to unwanted behavior.  Parts of the system may receive unintended input, which may result in altered control flow,  arbitrary control of a resource, or arbitrary code execution.
def error_handling_pass_noncompliant():
    number = input("Enter number:\n")
    try:
        int(number)
    except Exception:
        # Noncompliant: has improper error handling.
        pass
def error_handling_compliant():
    number = input("Enter number:\n")
    try:
        int(number)
    except ValueError:
        # Compliant: has proper error handling.
        print(number, "is not an integer.")