checkmate5 0.1.0.dev1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checkmate5-0.1.0.dev1/.dockerignore +20 -0
- checkmate5-0.1.0.dev1/.gitignore +123 -0
- checkmate5-0.1.0.dev1/.gitlab-ci.yml +96 -0
- checkmate5-0.1.0.dev1/.woodpecker.yml +69 -0
- checkmate5-0.1.0.dev1/CHANGELOG.txt +0 -0
- checkmate5-0.1.0.dev1/Dockerfile +23 -0
- checkmate5-0.1.0.dev1/LICENSE.txt +2854 -0
- checkmate5-0.1.0.dev1/MANIFEST.in +1 -0
- checkmate5-0.1.0.dev1/PKG-INFO +473 -0
- checkmate5-0.1.0.dev1/Pipfile +34 -0
- checkmate5-0.1.0.dev1/Pipfile.lock +679 -0
- checkmate5-0.1.0.dev1/README.md +448 -0
- checkmate5-0.1.0.dev1/bin/graudit/.github/FUNDING.yml +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/.github/ISSUE_TEMPLATE/bug_report.md +32 -0
- checkmate5-0.1.0.dev1/bin/graudit/.github/PULL_REQUEST_TEMPLATE.md +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/.gitignore +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/Changelog +279 -0
- checkmate5-0.1.0.dev1/bin/graudit/LICENSE +675 -0
- checkmate5-0.1.0.dev1/bin/graudit/Makefile +84 -0
- checkmate5-0.1.0.dev1/bin/graudit/README.md +131 -0
- checkmate5-0.1.0.dev1/bin/graudit/__init__.py +0 -0
- checkmate5-0.1.0.dev1/bin/graudit/analyzer.py +74 -0
- checkmate5-0.1.0.dev1/bin/graudit/graudit +220 -0
- checkmate5-0.1.0.dev1/bin/graudit/graudit.in.1 +65 -0
- checkmate5-0.1.0.dev1/bin/graudit/graudit.in.7 +19 -0
- checkmate5-0.1.0.dev1/bin/graudit/issues_data.py +8 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/ELcheck.sh +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/README +7 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/ampscript.db +35 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/b0ftaint.sh +15 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/check-db.sh +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/composeraudit.sh +21 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/flatline.db +27 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/flatline.sh +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/fm-php.sh +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/gitlog.sh +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/gitscan +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/grauditreport.sh +32 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/graufflehog.sh +15 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/jsptaint.sh +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/onlyfiles.sh +17 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/phptaint.sh +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/qb64.db +41 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/rce.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/rcescan.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/serializephp.sh +7 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/supression.db +14 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/svnhook.sh +9 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/taintfind.sh +23 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/vulntaint.sh +23 -0
- checkmate5-0.1.0.dev1/bin/graudit/misc/wordpress.db +11 -0
- checkmate5-0.1.0.dev1/bin/graudit/setup.py +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/actionscript.db +10 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/android/base.db +51 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/android/fruit.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/android.db +55 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/asp/base.db +53 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/asp/sql.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/asp.db +55 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c/fruit.db +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c/malloc.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c/memleak.db +5 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c/memsad.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c/original.db +291 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/c.db +310 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/cobol.db +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/default.db +21 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/config.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/cookies.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/crypto.db +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/error.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/exec.db +7 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/fruit.db +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/inputcontrols.db +10 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/legacy.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/logging.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/memory.db +11 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/permission.db +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/redirect.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/reflection.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/request.db +28 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/serialization.db +11 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/sql.db +42 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/ssl.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet/xss.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/dotnet.db +184 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/exec.db +28 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/fruit.db +120 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/file.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/fruit.db +11 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/handlers.db +10 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/session.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/sql.db +7 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/ssl.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/template.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go/xss.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/go.db +42 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/ios.db +44 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/crypto.db +5 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/exceptions.db +27 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/fruit.db +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/java.db +49 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/jsp.db +19 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/ssl.db +8 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/ssti.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/xss.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java/xxe.db +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/java.db +143 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/cookie.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/electron.db +14 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/fruit.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/javascript.db +8 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/node.db +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js/sql.db +12 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/js.db +51 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim/default.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim/files.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim/fruit.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim/os.db +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim/pragma.db +9 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/nim.db +34 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/owasp/apache.db +51 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/owasp/asp.db +51 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/owasp/dotnet.db +184 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/owasp/java.db +133 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/owasp/javascript.db +30 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/exec.db +6 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/fruit.db +15 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/perl.original +29 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/superglobal.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/todo.db +25 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl/xss.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/perl.db +52 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/callbacks.db +33 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/closure.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/default.db +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/exec.db +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/extensions.db +18 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/ffi.db +8 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/fruit.db +42 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/hash.db +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/info.db +9 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/mq.db +5 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/php.original +103 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/psr-7.db +40 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/seclib.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/sql.db +42 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/ssl.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/streams.db +20 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/superglobal.db +31 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/todo.db +23 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php/xss.db +5 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/php.db +317 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python/file.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python/fruit.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python/original.db +68 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python/text.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python/url.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/python.db +72 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/ruby.db +22 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/scala/crypto.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/scala/exec.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/scala/file.db +1 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/scala/fruit.db +3 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/scala.db +8 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/secrets-b64.db +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/secrets.db +30 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/spsqli.db +5 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/sql.db +105 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/strings.db +64 -0
- checkmate5-0.1.0.dev1/bin/graudit/signatures/xss.db +19 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/aggregate-results.sh +34 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/anotherfile +0 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/blank-test.sh +10 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/crlf.txt +2 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/example.asp +46 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/example.jsp +30 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/example.php +71 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/exec.php +19 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/git-test.sh +11 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/includes.php +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/nomatch.txt +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/runtests.sh +13 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/spaced filename +0 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-000.sh +25 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-actionscript.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-android.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-asp.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-c.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-changelog.sh +20 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-cobol.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-default.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-dotnet.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-exec.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-fruit.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-go.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-ios.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-java.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-js.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-nim.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-perl.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-php.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-python.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-ruby.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-scala.db +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-secrets.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-signaturebugs.sh +9 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-spsqli.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-sql.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-strings.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/t-xss.sh +16 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/test-lib.sh +437 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/whitespace.php +4 -0
- checkmate5-0.1.0.dev1/bin/graudit/t/xss.php +9 -0
- checkmate5-0.1.0.dev1/bin/graudit/tojson.py +21 -0
- checkmate5-0.1.0.dev1/bin/text4shell-ce/LICENSE +201 -0
- checkmate5-0.1.0.dev1/bin/text4shell-ce/README.md +4 -0
- checkmate5-0.1.0.dev1/bin/text4shell-ce/scan_commons_text_versions.py +232 -0
- checkmate5-0.1.0.dev1/checkmate/__init__.py +21 -0
- checkmate5-0.1.0.dev1/checkmate/__main__.py +25 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/__init__.py +21 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/aigraphcodescan/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/aigraphcodescan/analyzer.py +52 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/aigraphcodescan/issues_data.py +6 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/aigraphcodescan/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/opengrep/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/opengrep/analyzer.py +48 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/opengrep/issues_data.py +5 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/all/opengrep/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/cve/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/cve/text4shell/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/cve/text4shell/analyzer.py +70 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/cve/text4shell/issues_data.py +8 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/cve/text4shell/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/__init__.py +6 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/analyze.py +364 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/base.py +16 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/diff.py +199 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/init.py +59 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/commands/update_stats.py +41 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/hooks/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/hooks/project.py +19 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/lib/__init__.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/lib/repository.py +557 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/lib/repository_pygit2.py +533 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/lib/ssh +2 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/models.py +179 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/git/setup.py +27 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/golang/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/golang/gostaticcheck/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/golang/gostaticcheck/analyzer.py +56 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/golang/gostaticcheck/issues_data.py +1246 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/golang/gostaticcheck/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/kubescape/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/kubescape/analyzer.py +53 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/kubescape/issues_data.py +636 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/kubescape/setup.py +14 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/tfsec/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/tfsec/analyzer.py +41 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/tfsec/issues_data.py +1917 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/iac/tfsec/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/java/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/java/semgrepjava/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/java/semgrepjava/analyzer.py +62 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/java/semgrepjava/issues_data.py +5 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/java/semgrepjava/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/javascript/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/javascript/semgrepeslint/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/javascript/semgrepeslint/analyzer.py +62 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/javascript/semgrepeslint/issues_data.py +6 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/javascript/semgrepeslint/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/perl/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/perl/graudit/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/perl/graudit/analyzer.py +75 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/perl/graudit/issues_data.py +8 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/perl/graudit/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/python/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/python/bandit/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/python/bandit/analyzer.py +42 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/python/bandit/issues_data.py +426 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/python/bandit/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/ruby/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/ruby/brakeman/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/ruby/brakeman/analyzer.py +43 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/ruby/brakeman/issues_data.py +518 -0
- checkmate5-0.1.0.dev1/checkmate/contrib/plugins/ruby/brakeman/setup.py +13 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/__init__.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/docker_runner.py +54 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/exceptions.py +9 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/facts.py +26 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/hashing.py +72 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/issue.py +101 -0
- checkmate5-0.1.0.dev1/checkmate/helpers/settings.py +14 -0
- checkmate5-0.1.0.dev1/checkmate/lib/__init__.py +4 -0
- checkmate5-0.1.0.dev1/checkmate/lib/analysis/__init__.py +7 -0
- checkmate5-0.1.0.dev1/checkmate/lib/analysis/base.py +106 -0
- checkmate5-0.1.0.dev1/checkmate/lib/backend.py +54 -0
- checkmate5-0.1.0.dev1/checkmate/lib/code/__init__.py +3 -0
- checkmate5-0.1.0.dev1/checkmate/lib/code/environment.py +809 -0
- checkmate5-0.1.0.dev1/checkmate/lib/code.py +816 -0
- checkmate5-0.1.0.dev1/checkmate/lib/models.py +517 -0
- checkmate5-0.1.0.dev1/checkmate/lib/stats/__init__.py +5 -0
- checkmate5-0.1.0.dev1/checkmate/lib/stats/helpers.py +23 -0
- checkmate5-0.1.0.dev1/checkmate/lib/stats/mapreduce.py +31 -0
- checkmate5-0.1.0.dev1/checkmate/management/__init__.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/__init__.py +18 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/alembic.py +32 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/analyze.py +42 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/analyzers.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/base.py +66 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/compare.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/export.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/info.py +0 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/init.py +103 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/issues.py +411 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/props/__init__.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/props/delete.py +29 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/props/get.py +30 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/props/set.py +29 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/reset.py +53 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/shell.py +19 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/snapshots.py +22 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/stats.py +21 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/summary.py +19 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/sync.py +63 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/trend.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/management/commands/watch.py +27 -0
- checkmate5-0.1.0.dev1/checkmate/management/decorators.py +1 -0
- checkmate5-0.1.0.dev1/checkmate/management/helpers.py +135 -0
- checkmate5-0.1.0.dev1/checkmate/scripts/__init__.py +18 -0
- checkmate5-0.1.0.dev1/checkmate/scripts/manage.py +135 -0
- checkmate5-0.1.0.dev1/checkmate/settings/__init__.py +2 -0
- checkmate5-0.1.0.dev1/checkmate/settings/base.py +129 -0
- checkmate5-0.1.0.dev1/checkmate/settings/defaults.py +107 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/PKG-INFO +473 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/SOURCES.txt +344 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/dependency_links.txt +1 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/entry_points.txt +2 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/requires.txt +4 -0
- checkmate5-0.1.0.dev1/checkmate5.egg-info/top_level.txt +1 -0
- checkmate5-0.1.0.dev1/exceptions.py +52 -0
- checkmate5-0.1.0.dev1/pyproject.toml +48 -0
- checkmate5-0.1.0.dev1/setup.cfg +4 -0
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
# Editors
|
|
2
|
+
.vscode/
|
|
3
|
+
.idea/
|
|
4
|
+
|
|
5
|
+
# Vagrant
|
|
6
|
+
.vagrant/
|
|
7
|
+
|
|
8
|
+
# Mac/OSX
|
|
9
|
+
.DS_Store
|
|
10
|
+
|
|
11
|
+
# Windows
|
|
12
|
+
Thumbs.db
|
|
13
|
+
|
|
14
|
+
# Source for the following rules: https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore
|
|
15
|
+
# Byte-compiled / optimized / DLL files
|
|
16
|
+
__pycache__/
|
|
17
|
+
*.py[cod]
|
|
18
|
+
*$py.class
|
|
19
|
+
|
|
20
|
+
# C extensions
|
|
21
|
+
*.so
|
|
22
|
+
|
|
23
|
+
# Distribution / packaging
|
|
24
|
+
.Python
|
|
25
|
+
build/
|
|
26
|
+
develop-eggs/
|
|
27
|
+
dist/
|
|
28
|
+
downloads/
|
|
29
|
+
eggs/
|
|
30
|
+
.eggs/
|
|
31
|
+
parts/
|
|
32
|
+
sdist/
|
|
33
|
+
var/
|
|
34
|
+
wheels/
|
|
35
|
+
*.egg-info/
|
|
36
|
+
.installed.cfg
|
|
37
|
+
*.egg
|
|
38
|
+
MANIFEST
|
|
39
|
+
|
|
40
|
+
# PyInstaller
|
|
41
|
+
# Usually these files are written by a python script from a template
|
|
42
|
+
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
|
43
|
+
*.manifest
|
|
44
|
+
*.spec
|
|
45
|
+
|
|
46
|
+
# Installer logs
|
|
47
|
+
pip-log.txt
|
|
48
|
+
pip-delete-this-directory.txt
|
|
49
|
+
|
|
50
|
+
# Unit test / coverage reports
|
|
51
|
+
htmlcov/
|
|
52
|
+
.tox/
|
|
53
|
+
.nox/
|
|
54
|
+
.coverage
|
|
55
|
+
.coverage.*
|
|
56
|
+
.cache
|
|
57
|
+
nosetests.xml
|
|
58
|
+
coverage.xml
|
|
59
|
+
*.cover
|
|
60
|
+
.hypothesis/
|
|
61
|
+
.pytest_cache/
|
|
62
|
+
|
|
63
|
+
# Translations
|
|
64
|
+
*.mo
|
|
65
|
+
*.pot
|
|
66
|
+
|
|
67
|
+
# Django stuff:
|
|
68
|
+
*.log
|
|
69
|
+
local_settings.py
|
|
70
|
+
db.sqlite3
|
|
71
|
+
|
|
72
|
+
# Flask stuff:
|
|
73
|
+
instance/
|
|
74
|
+
.webassets-cache
|
|
75
|
+
|
|
76
|
+
# Scrapy stuff:
|
|
77
|
+
.scrapy
|
|
78
|
+
|
|
79
|
+
# Sphinx documentation
|
|
80
|
+
docs/_build/
|
|
81
|
+
|
|
82
|
+
# PyBuilder
|
|
83
|
+
target/
|
|
84
|
+
|
|
85
|
+
# Jupyter Notebook
|
|
86
|
+
.ipynb_checkpoints
|
|
87
|
+
|
|
88
|
+
# IPython
|
|
89
|
+
profile_default/
|
|
90
|
+
ipython_config.py
|
|
91
|
+
|
|
92
|
+
# pyenv
|
|
93
|
+
.python-version
|
|
94
|
+
|
|
95
|
+
# celery beat schedule file
|
|
96
|
+
celerybeat-schedule
|
|
97
|
+
|
|
98
|
+
# SageMath parsed files
|
|
99
|
+
*.sage.py
|
|
100
|
+
|
|
101
|
+
# Environments
|
|
102
|
+
.env
|
|
103
|
+
.venv
|
|
104
|
+
env/
|
|
105
|
+
venv/
|
|
106
|
+
ENV/
|
|
107
|
+
env.bak/
|
|
108
|
+
venv.bak/
|
|
109
|
+
|
|
110
|
+
# Spyder project settings
|
|
111
|
+
.spyderproject
|
|
112
|
+
.spyproject
|
|
113
|
+
|
|
114
|
+
# Rope project settings
|
|
115
|
+
.ropeproject
|
|
116
|
+
|
|
117
|
+
# mkdocs documentation
|
|
118
|
+
/site
|
|
119
|
+
|
|
120
|
+
# mypy
|
|
121
|
+
.mypy_cache/
|
|
122
|
+
.dmypy.json
|
|
123
|
+
dmypy.json
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
image: python:3.14
|
|
2
|
+
|
|
3
|
+
stages:
|
|
4
|
+
- build
|
|
5
|
+
- publish
|
|
6
|
+
- docker
|
|
7
|
+
- cleanup
|
|
8
|
+
|
|
9
|
+
variables:
|
|
10
|
+
PIP_CACHE_DIR: "$CI_PROJECT_DIR/.pip-cache"
|
|
11
|
+
DOCKERHUB_REPO: "tcosolutions/betterscan-worker-cli"
|
|
12
|
+
|
|
13
|
+
cache:
|
|
14
|
+
paths:
|
|
15
|
+
- .pip-cache/
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
# 1. BUILD STAGE
|
|
19
|
+
build_package:
|
|
20
|
+
stage: build
|
|
21
|
+
before_script:
|
|
22
|
+
- git fetch --tags
|
|
23
|
+
script:
|
|
24
|
+
- python -m build
|
|
25
|
+
- python -m twine upload --verbose dist/*
|
|
26
|
+
rules:
|
|
27
|
+
- if: $CI_COMMIT_TAG
|
|
28
|
+
- if: $CI_COMMIT_BRANCH == "main"
|
|
29
|
+
script:
|
|
30
|
+
- pip install --upgrade pip
|
|
31
|
+
- pip install build
|
|
32
|
+
- python -m build
|
|
33
|
+
artifacts:
|
|
34
|
+
paths:
|
|
35
|
+
- dist/
|
|
36
|
+
expire_in: 1 week
|
|
37
|
+
|
|
38
|
+
# 2. PUBLISH STAGE (PyPI)
|
|
39
|
+
publish_to_pypi:
|
|
40
|
+
stage: publish
|
|
41
|
+
rules:
|
|
42
|
+
- if: $CI_COMMIT_TAG
|
|
43
|
+
when: always
|
|
44
|
+
- if: $CI_COMMIT_BRANCH == "main"
|
|
45
|
+
when: manual
|
|
46
|
+
allow_failure: true
|
|
47
|
+
before_script:
|
|
48
|
+
- pip install twine
|
|
49
|
+
script:
|
|
50
|
+
- export TWINE_USERNAME="__token__"
|
|
51
|
+
- export TWINE_PASSWORD="$PYPI_TOKEN"
|
|
52
|
+
- python -m twine upload --verbose dist/*
|
|
53
|
+
|
|
54
|
+
# 3. DOCKER STAGE (Secure DinD)
|
|
55
|
+
docker_publish:
|
|
56
|
+
stage: docker
|
|
57
|
+
image: docker:27
|
|
58
|
+
services:
|
|
59
|
+
- docker:27-dind
|
|
60
|
+
variables:
|
|
61
|
+
DOCKER_TLS_CERTDIR: "/certs"
|
|
62
|
+
rules:
|
|
63
|
+
- if: $CI_COMMIT_TAG
|
|
64
|
+
when: always
|
|
65
|
+
- if: $CI_COMMIT_BRANCH == "main"
|
|
66
|
+
when: manual
|
|
67
|
+
allow_failure: true
|
|
68
|
+
script:
|
|
69
|
+
- echo "$DOCKERHUB_TOKEN" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
|
|
70
|
+
- |
|
|
71
|
+
TAG_NAME=${CI_COMMIT_TAG:-latest}
|
|
72
|
+
docker build -t "$DOCKERHUB_REPO:$TAG_NAME" .
|
|
73
|
+
docker push "$DOCKERHUB_REPO:$TAG_NAME"
|
|
74
|
+
|
|
75
|
+
# 4. CLEANUP STAGE (Scheduled)
|
|
76
|
+
docker_hub_cleanup:
|
|
77
|
+
stage: cleanup
|
|
78
|
+
image: alpine:latest
|
|
79
|
+
rules:
|
|
80
|
+
- if: $CI_PIPELINE_SOURCE == "schedule"
|
|
81
|
+
before_script:
|
|
82
|
+
- apk add --no-cache curl jq
|
|
83
|
+
script:
|
|
84
|
+
- |
|
|
85
|
+
TOKEN=$(curl -s -H "Content-Type: application/json" -X POST \
|
|
86
|
+
-d "{\"username\": \"$DOCKERHUB_USERNAME\", \"password\": \"$DOCKERHUB_TOKEN\"}" \
|
|
87
|
+
https://hub.docker.com/v2/users/login/ | jq -r .token)
|
|
88
|
+
THRESHOLD_DATE=$(date -d "@$(($(date +%s) - 2592000))" +%Y-%m-%dT%H:%M:%S)
|
|
89
|
+
TAGS_JSON=$(curl -s -H "Authorization: JWT $TOKEN" "https://hub.docker.com/v2/repositories/$DOCKERHUB_REPO/tags/?page_size=100")
|
|
90
|
+
OLD_TAGS=$(echo $TAGS_JSON | jq -r --arg THRESHOLD "$THRESHOLD_DATE" '
|
|
91
|
+
.results[] | select(.name != "latest") | select(.name | startswith("v") | not) |
|
|
92
|
+
select(.last_updated < $THRESHOLD) | .name')
|
|
93
|
+
for TAG in $OLD_TAGS; do
|
|
94
|
+
echo "Deleting expired tag: $TAG"
|
|
95
|
+
curl -s -X DELETE -H "Authorization: JWT $TOKEN" "https://hub.docker.com/v2/repositories/$DOCKERHUB_REPO/tags/$TAG/"
|
|
96
|
+
done
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# .woodpecker.yml
|
|
2
|
+
labels:
|
|
3
|
+
platform: linux/amd64
|
|
4
|
+
|
|
5
|
+
steps:
|
|
6
|
+
# 1. BUILD STAGE
|
|
7
|
+
build_package:
|
|
8
|
+
image: python:3.13 # Recommended: 3.13 is stable; use 3.14 if you need experimental
|
|
9
|
+
commands:
|
|
10
|
+
- pip install --upgrade pip
|
|
11
|
+
- pip install build
|
|
12
|
+
- python -m build
|
|
13
|
+
when:
|
|
14
|
+
- event: tag
|
|
15
|
+
- event: push
|
|
16
|
+
branch: main
|
|
17
|
+
|
|
18
|
+
# 2. PUBLISH STAGE (PyPI)
|
|
19
|
+
publish_to_pypi:
|
|
20
|
+
image: python:3.13
|
|
21
|
+
environment:
|
|
22
|
+
PYPI_TOKEN:
|
|
23
|
+
from_secret: pypi_token
|
|
24
|
+
commands:
|
|
25
|
+
- pip install twine
|
|
26
|
+
- export TWINE_USERNAME="__token__"
|
|
27
|
+
- export TWINE_PASSWORD=$PYPI_TOKEN
|
|
28
|
+
- python -m twine upload --verbose dist/*
|
|
29
|
+
when:
|
|
30
|
+
- event: tag
|
|
31
|
+
- event: push
|
|
32
|
+
branch: main
|
|
33
|
+
|
|
34
|
+
# 3. DOCKER STAGE (Using Kaniko)
|
|
35
|
+
# This avoids the "privileged" error and is standard for Codeberg
|
|
36
|
+
docker_publish:
|
|
37
|
+
image: woodpecker-plugins/kaniko
|
|
38
|
+
settings:
|
|
39
|
+
repo: tcosolutions/betterscan-worker-cli
|
|
40
|
+
username:
|
|
41
|
+
from_secret: dockerhub_username
|
|
42
|
+
password:
|
|
43
|
+
from_secret: dockerhub_token
|
|
44
|
+
# Automatically handles tagging:
|
|
45
|
+
# Pushes to main -> 'latest'
|
|
46
|
+
# Git tag -> 'v1.0.0'
|
|
47
|
+
tags: ${CI_COMMIT_TAG:-latest}
|
|
48
|
+
when:
|
|
49
|
+
- event: tag
|
|
50
|
+
- event: push
|
|
51
|
+
branch: main
|
|
52
|
+
|
|
53
|
+
# 4. CLEANUP STAGE
|
|
54
|
+
docker_hub_cleanup:
|
|
55
|
+
image: alpine:latest
|
|
56
|
+
environment:
|
|
57
|
+
DOCKERHUB_USERNAME:
|
|
58
|
+
from_secret: dockerhub_username
|
|
59
|
+
DOCKERHUB_TOKEN:
|
|
60
|
+
from_secret: dockerhub_token
|
|
61
|
+
commands:
|
|
62
|
+
- apk add --no-cache curl jq
|
|
63
|
+
- |
|
|
64
|
+
TOKEN=$(curl -s -H "Content-Type: application/json" -X POST \
|
|
65
|
+
-d "{\"username\": \"$DOCKERHUB_USERNAME\", \"password\": \"$DOCKERHUB_TOKEN\"}" \
|
|
66
|
+
https://hub.docker.com/v2/users/login/ | jq -r .token)
|
|
67
|
+
|
|
68
|
+
# This checks if the login works; you can expand the script as needed
|
|
69
|
+
if
|
|
File without changes
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
FROM python:3.14
|
|
2
|
+
|
|
3
|
+
ENV PIP_NO_CACHE_DIR=1
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
RUN apt-get update \
|
|
8
|
+
&& apt-get install -y --no-install-recommends build-essential git \
|
|
9
|
+
&& rm -rf /var/lib/apt/lists/*
|
|
10
|
+
|
|
11
|
+
WORKDIR /app
|
|
12
|
+
|
|
13
|
+
COPY pyproject.toml README.md ./
|
|
14
|
+
COPY checkmate ./checkmate
|
|
15
|
+
COPY bin ./bin
|
|
16
|
+
|
|
17
|
+
RUN pip install --upgrade pip && pip install . && pip install checkmate5
|
|
18
|
+
|
|
19
|
+
ENV CODE_DIR=/workspace
|
|
20
|
+
|
|
21
|
+
ENTRYPOINT ["checkmate"]
|
|
22
|
+
CMD ["--help"]
|
|
23
|
+
|