Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (env)☁ bandit [mako] ⚡ bandit examples/false_negative.py
- INCORRECT!!!!!!!!
- <_ast.Attribute object at 0x1056314d0>
- <_ast.Attribute object at 0x1056314d0>
- id: None
- name: None
- <_ast.Name object at 0x1056315d0>
- id: mako
- name: None
- <_ast.Load object at 0x10532c190>
- id: None
- name: None
- <_ast.Load object at 0x10532c190>
- id: None
- name: None
- Template
- ['Template'] Template
- ('__class__', <class '_ast.Call'>)
- ('__delattr__', <method-wrapper '__delattr__' of Call object at 0x105631310>)
- ('__dict__', {'col_offset': 0, 'starargs': None, 'args': [<_ast.Str object at 0x105631710>], 'lineno': 2, 'func': <_ast.Attribute object at 0x1056312d0>, 'kwargs': None, 'keywords': []})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Call object at 0x105631310>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Call object at 0x105631310>)
- ('__hash__', <method-wrapper '__hash__' of Call object at 0x105631310>)
- ('__init__', <method-wrapper '__init__' of Call object at 0x105631310>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Call object at 0x105631310>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Call object at 0x105631310>)
- ('__repr__', <method-wrapper '__repr__' of Call object at 0x105631310>)
- ('__setattr__', <method-wrapper '__setattr__' of Call object at 0x105631310>)
- ('__sizeof__', <built-in method __sizeof__ of Call object at 0x105631310>)
- ('__str__', <method-wrapper '__str__' of Call object at 0x105631310>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3dc340>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('func', 'args', 'keywords', 'starargs', 'kwargs'))
- ('args', [<_ast.Str object at 0x105631710>])
- ('col_offset', 0)
- ('func', <_ast.Attribute object at 0x1056312d0>)
- ('keywords', [])
- ('kwargs', None)
- ('lineno', 2)
- ('starargs', None)
- ('__class__', <class '_ast.Attribute'>)
- ('__delattr__', <method-wrapper '__delattr__' of Attribute object at 0x1056312d0>)
- ('__dict__', {'col_offset': 0, 'ctx': <_ast.Load object at 0x10532c190>, 'attr': 'Template', 'value': <_ast.Attribute object at 0x1056314d0>, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Attribute object at 0x1056312d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Attribute object at 0x1056312d0>)
- ('__hash__', <method-wrapper '__hash__' of Attribute object at 0x1056312d0>)
- ('__init__', <method-wrapper '__init__' of Attribute object at 0x1056312d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Attribute object at 0x1056312d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Attribute object at 0x1056312d0>)
- ('__repr__', <method-wrapper '__repr__' of Attribute object at 0x1056312d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Attribute object at 0x1056312d0>)
- ('__sizeof__', <built-in method __sizeof__ of Attribute object at 0x1056312d0>)
- ('__str__', <method-wrapper '__str__' of Attribute object at 0x1056312d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3dd680>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('value', 'attr', 'ctx'))
- ('attr', 'Template')
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10532c190>)
- ('lineno', 2)
- ('value', <_ast.Attribute object at 0x1056314d0>)
- ('__class__', <class '_ast.Str'>)
- ('__delattr__', <method-wrapper '__delattr__' of Str object at 0x105631710>)
- ('__dict__', {'s': 'hern', 'lineno': 2, 'col_offset': 23})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Str object at 0x105631710>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Str object at 0x105631710>)
- ('__hash__', <method-wrapper '__hash__' of Str object at 0x105631710>)
- ('__init__', <method-wrapper '__init__' of Str object at 0x105631710>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Str object at 0x105631710>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Str object at 0x105631710>)
- ('__repr__', <method-wrapper '__repr__' of Str object at 0x105631710>)
- ('__setattr__', <method-wrapper '__setattr__' of Str object at 0x105631710>)
- ('__sizeof__', <built-in method __sizeof__ of Str object at 0x105631710>)
- ('__str__', <method-wrapper '__str__' of Str object at 0x105631710>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3dd1b0>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('s',))
- ('col_offset', 23)
- ('lineno', 2)
- ('s', 'hern')
- ('__class__', <class '_ast.Attribute'>)
- ('__delattr__', <method-wrapper '__delattr__' of Attribute object at 0x1056314d0>)
- ('__dict__', {'col_offset': 0, 'ctx': <_ast.Load object at 0x10532c190>, 'attr': 'template', 'value': <_ast.Name object at 0x1056315d0>, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Attribute object at 0x1056314d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Attribute object at 0x1056314d0>)
- ('__hash__', <method-wrapper '__hash__' of Attribute object at 0x1056314d0>)
- ('__init__', <method-wrapper '__init__' of Attribute object at 0x1056314d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Attribute object at 0x1056314d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Attribute object at 0x1056314d0>)
- ('__repr__', <method-wrapper '__repr__' of Attribute object at 0x1056314d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Attribute object at 0x1056314d0>)
- ('__sizeof__', <built-in method __sizeof__ of Attribute object at 0x1056314d0>)
- ('__str__', <method-wrapper '__str__' of Attribute object at 0x1056314d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3dd680>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('value', 'attr', 'ctx'))
- ('attr', 'template')
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10532c190>)
- ('lineno', 2)
- ('value', <_ast.Name object at 0x1056315d0>)
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10532c190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10532c190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10532c190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10532c190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10532c190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10532c190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10532c190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10532c190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10532c190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10532c190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10532c190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3df660>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- ('__class__', <class '_ast.Name'>)
- ('__delattr__', <method-wrapper '__delattr__' of Name object at 0x1056315d0>)
- ('__dict__', {'ctx': <_ast.Load object at 0x10532c190>, 'id': 'mako', 'col_offset': 0, 'lineno': 2})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Name object at 0x1056315d0>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Name object at 0x1056315d0>)
- ('__hash__', <method-wrapper '__hash__' of Name object at 0x1056315d0>)
- ('__init__', <method-wrapper '__init__' of Name object at 0x1056315d0>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Name object at 0x1056315d0>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Name object at 0x1056315d0>)
- ('__repr__', <method-wrapper '__repr__' of Name object at 0x1056315d0>)
- ('__setattr__', <method-wrapper '__setattr__' of Name object at 0x1056315d0>)
- ('__sizeof__', <built-in method __sizeof__ of Name object at 0x1056315d0>)
- ('__str__', <method-wrapper '__str__' of Name object at 0x1056315d0>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3de020>)
- ('__weakref__', None)
- ('_attributes', ('lineno', 'col_offset'))
- ('_fields', ('id', 'ctx'))
- ('col_offset', 0)
- ('ctx', <_ast.Load object at 0x10532c190>)
- ('id', 'mako')
- ('lineno', 2)
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10532c190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10532c190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10532c190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10532c190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10532c190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10532c190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10532c190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10532c190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10532c190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10532c190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10532c190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3df660>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- ('__class__', <class '_ast.Load'>)
- ('__delattr__', <method-wrapper '__delattr__' of Load object at 0x10532c190>)
- ('__dict__', {})
- ('__doc__', None)
- ('__format__', <built-in method __format__ of Load object at 0x10532c190>)
- ('__getattribute__', <method-wrapper '__getattribute__' of Load object at 0x10532c190>)
- ('__hash__', <method-wrapper '__hash__' of Load object at 0x10532c190>)
- ('__init__', <method-wrapper '__init__' of Load object at 0x10532c190>)
- ('__module__', '_ast')
- ('__new__', <built-in method __new__ of type object at 0x1050b3e00>)
- ('__reduce__', <built-in method __reduce__ of Load object at 0x10532c190>)
- ('__reduce_ex__', <built-in method __reduce_ex__ of Load object at 0x10532c190>)
- ('__repr__', <method-wrapper '__repr__' of Load object at 0x10532c190>)
- ('__setattr__', <method-wrapper '__setattr__' of Load object at 0x10532c190>)
- ('__sizeof__', <built-in method __sizeof__ of Load object at 0x10532c190>)
- ('__str__', <method-wrapper '__str__' of Load object at 0x10532c190>)
- ('__subclasshook__', <built-in method __subclasshook__ of type object at 0x7fb46d3df660>)
- ('__weakref__', None)
- ('_attributes', ())
- ('_fields', ())
- Run started:
- 2015-03-02 20:46:52.502916
- Files in scope (1):
- examples/false_negative.py (score: 0)
- Files excluded (0):
- Files skipped (0):
- Test results:
- No issues identified.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement