Module Import alias Import alias ImportFrom alias FunctionDef arguments args NameParam NameParam defaults body Return Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str Str keyword Str keyword Call AttributeLoad SubscriptLoad NameLoad Index Str attr Str NameLoad keyword NameLoad keyword Call AttributeLoad NameLoad attr Str Str decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore NameLoad Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr If CompareEq NameLoad Str body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr If BoolOpAnd Call NameLoad NameLoad AttributeLoad NameLoad attr CompareEq AttributeLoad NameLoad attr Str body If Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr body If Call NameLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num AttributeLoad NameLoad attr body Assign NameStore AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr orelse Assign NameStore Str orelse Assign NameStore Str orelse Assign NameStore AttributeLoad NameLoad attr For NameStore SubscriptLoad NameLoad Index NameLoad body For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad NameLoad attr NameLoad NameLoad body Return Call NameLoad NameLoad NameLoad If Call AttributeLoad NameLoad attr Str body Assign NameStore Str If CompareEq NameLoad Str body If CompareIsNot AttributeLoad AttributeLoad NameLoad attr attr NameLoad body Assign NameStore BinOpAdd AttributeLoad AttributeLoad NameLoad attr attr Str For NameStore SubscriptLoad NameLoad Index NameLoad body For NameStore AttributeLoad AttributeLoad NameLoad attr attr body For NameStore SubscriptLoad NameLoad Index Str body If Call AttributeLoad BinOpAdd NameLoad AttributeLoad NameLoad attr attr NameLoad body Return Call NameLoad NameLoad AttributeLoad NameLoad attr decorator_list
N/A N/A ast N/A fnmatch bandit.core issue report_issue N/A N/A check name N/A N/A N/A N/A N/A issue Issue severity N/A N/A check get level MEDIUM confidence HIGH text N/A N/A N/A check N/A message replace {name} name ident name test_id N/A N/A check get id LEGACY N/A blacklist N/A N/A context config N/A N/A N/A Generic blacklist test, B001.

    This generic blacklist test will be called for any encountered node with
    defined blacklist data available. This data is loaded via plugins using
    the 'bandit.blacklists' entry point. Please see the documentation for more
    details. Each blacklist datum has a unique bandit ID that may be used for
    filtering purposes, or alternatively all blacklisting can be filtered using
    the id of this built in test, 'B001'.
     N/A blacklists config N/A node_type N/A N/A N/A context node __class__ __name__ N/A N/A node_type Call N/A N/A func N/A N/A context node func N/A N/A N/A isinstance func N/A ast Name N/A N/A func id __import__ N/A N/A N/A len N/A N/A context node args N/A N/A N/A isinstance N/A N/A N/A context node args N/A 0 N/A ast Str N/A N/A name N/A N/A N/A N/A context node args N/A 0 s N/A N/A name UNKNOWN N/A N/A name N/A N/A name N/A context call_function_name_qual N/A check N/A blacklists N/A node_type N/A N/A qn N/A check N/A qualnames N/A N/A N/A N/A fnmatch fnmatch name qn N/A N/A N/A report_issue check name N/A N/A N/A node_type startswith Import N/A N/A prefix N/A N/A node_type ImportFrom N/A N/A N/A N/A N/A context node module None N/A N/A prefix N/A N/A N/A context node module . N/A check N/A blacklists N/A node_type N/A N/A name N/A N/A context node names N/A N/A qn N/A check N/A qualnames N/A N/A N/A N/A N/A prefix N/A name name startswith qn N/A N/A N/A report_issue check N/A name name N/A