Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Solve issues detected by Sobelow #37

Open
wevtimoteo opened this issue Aug 17, 2020 · 0 comments
Open

Solve issues detected by Sobelow #37

wevtimoteo opened this issue Aug 17, 2020 · 0 comments
Labels

Comments

@wevtimoteo
Copy link
Member

Solve following issues detected by Sobelow:

$ mix sobelow
WARNING: Sobelow cannot find the router. If this is a Phoenix application
please use the `--router` flag to specify the router's location.

##############################################
#                                            #
#          Running Sobelow - v0.10.4         #
#  Created by Griffin Byatt - @griffinbyatt  #
#     NCC Group - https://nccgroup.trust     #
#                                            #
##############################################

Config.HTTPS: HTTPS Not Enabled - High Confidence

-----------------------------------------------

Traversal.FileModule: Directory Traversal in `File.open` - Low Confidence
File: lib/git_pair/actions.ex
Line: 58
Function: _modify_commit_msg:55
Variable: path

-----------------------------------------------

Traversal.FileModule: Directory Traversal in `File.mkdir_p!` - Low Confidence
File: lib/git_pair/actions.ex
Line: 18
Function: init:17
Variable: Elixir.Path

-----------------------------------------------

DOS.StringToAtom: Unsafe `String.to_atom` - Low Confidence
File: lib/git_pair/cli.ex
Line: 50
Function: execute_command:49
Variable: action

-----------------------------------------------

DOS.StringToAtom: Unsafe `String.to_atom` - Low Confidence
File: lib/git_pair/cli.ex
Line: 46
Function: execute_command:45
Variable: action

-----------------------------------------------

... SCAN COMPLETE ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant