aws-samples/amazon-eks-cicd-codebuild

Modify flask_debug from true to default as false

awsfrovelo opened this issue · 0 comments

Running Flask applications in debug mode results in the debugger being enabled. This can allow arbitrary code execution. Documentation for Flask strongly recommends that debug mode should never be enabled on production systems.

For more info check the bandit documentation. https://bandit.readthedocs.io/en/latest/plugins/b201_flask_debug_true.html