Skip to content

chore: add checker to detect flask app running on insecure host#147

Merged
sourya-deepsource merged 3 commits intoDeepSourceCorp:masterfrom
MashyBasker:checker/app-run-with-bad-host
Mar 10, 2025
Merged

chore: add checker to detect flask app running on insecure host#147
sourya-deepsource merged 3 commits intoDeepSourceCorp:masterfrom
MashyBasker:checker/app-run-with-bad-host

Conversation

@MashyBasker
Copy link
Contributor

Test logs:

echo "Testing built-in rules..."
Testing built-in rules...
./bin/globstar test -d checkers/
Running test case: avoid_add.yml
Running test case: avoid_latest.yml
Running test case: avoid_sudo.yml
Running test case: dangerous_eval.yml
Running test case: app-run-with-bad-host.yml
Running test case: avoid-marksafe.yml
Running test case: context-autoescape-off.yml
Running test case: filter-issafe.yml
Running test case: format-html-param.yml
Running test case: safe-string-extend.yml
All tests passed        globstar.dev/cmd/globstar               coverage: 0.0% of statements
        globstar.dev/pkg/config         coverage: 0.0% of statements
        globstar.dev/pkg/cli            coverage: 0.0% of statements
ok      globstar.dev/pkg/analysis       0.005s  coverage: 22.7% of statements
Total coverage: 13.9%

Signed-off-by: Maharshi Basu <basumaharshi10@gmail.com>
Signed-off-by: Maharshi Basu <basumaharshi10@gmail.com>
@vercel
Copy link

vercel bot commented Feb 27, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
globstar ⬜️ Ignored (Inspect) Visit Preview Mar 1, 2025 4:42am

@MashyBasker MashyBasker changed the title Checker/app run with bad host chore: add checker to detect flask app running on insecure host Feb 27, 2025
Signed-off-by: Maharshi Basu <basumaharshi10@gmail.com>
@sourya-deepsource sourya-deepsource merged commit 7c30ae7 into DeepSourceCorp:master Mar 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants