Skip to content
This repository was archived by the owner on Jul 8, 2021. It is now read-only.

Conversation

@linkous8
Copy link

@linkous8 linkous8 commented Feb 6, 2020

  • gave measure executable permission

Bento output:

flake8 not-executable https://github.com/xuhdev/flake8-executable/blob/master/README.md#flake8-executable
     > measure_driver.py:1                                                            
     ╷                                                                                
    1│   #!/usr/bin/env python3                                                       
     ╵
     = Shebang is present but the file is not executable.

bandit subprocess-popen-with-shell-equals-true https://bandit.readthedocs.io/en/latest/plugins/b602_subprocess_popen_with_shell_equals_true.html
     > measure_driver.py:205
     ╷
  205│   args,
  206│   shell=shell,
  207│   stdin=None,
  208│   stdout=subprocess.PIPE,
  209│   stderr=subprocess.PIPE,
  210│   close_fds=True,
  211│   universal_newlines=True,
  212│   bufsize=32768,
  213│   preexec_fn=os.setsid,
     ╵
     = subprocess call with shell=True identified, security issue.

bandit try-except-pass https://bandit.readthedocs.io/en/latest/plugins/b110_try_except_pass.html
     > measure_driver.py:419
     ╷
  419│   except:
     ╵
     = Try, Except, Pass detected.

- gave measure executable permission
@ak08743
Copy link
Contributor

ak08743 commented Feb 20, 2020

Where these warnings are coming from ?

@linkous8
Copy link
Author

Bento linter: https://bento.dev/

Peter asked that I scan servo repos with it

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants