codeaudit 1.7.0__tar.gz → 1.7.1__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.
- {codeaudit-1.7.0 → codeaudit-1.7.1}/CHANGELOG.md +24 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/PKG-INFO +14 -5
- {codeaudit-1.7.0 → codeaudit-1.7.1}/README.md +13 -4
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/CONTRIBUTE.md +2 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/_toc.yml +1 -3
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/about.md +24 -14
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/architecture.md +7 -1
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/assert_check.md +4 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/cimode.md +2 -2
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/codeauditcommands.md +1 -1
- codeaudit-1.7.1/docs/examples/ca_api_example_basic.ipynb +352 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/codeauditchecks.html +2 -2
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/demoscan.json +2 -2
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/features.md +5 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/help.md +2 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/intro.md +10 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/makeitbetter.md +73 -12
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/__about__.py +1 -1
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/altairplots.py +28 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/api_interfaces.py +17 -2
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/api_reporting.py +9 -17
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/dashboard_reports.py +79 -1
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/pypi_package_scan.py +55 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/reporting.py +33 -27
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/totals.py +2 -1
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_modulecheck.py +16 -0
- codeaudit-1.7.1/tests/unit_tests/test_count_weaknesses.py +89 -0
- codeaudit-1.7.1/tests/validationfiles/codeaudit_scan.json +619 -0
- codeaudit-1.7.1/tests/validationfiles/malware.py +13 -0
- codeaudit-1.7.0/docs/astlines.md +0 -111
- codeaudit-1.7.0/docs/astlines2.md +0 -26
- codeaudit-1.7.0/docs/examples/ca_api_example_basic.ipynb +0 -725
- {codeaudit-1.7.0 → codeaudit-1.7.1}/.github/workflows/python-test.yml +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/.gitignore +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/CONTRIBUTE.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/LICENSE.txt +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/SECURITY.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/.gitignore +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/class_index.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/coverage_html_cb_dd2e7eb5.js +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/favicon_32_cb_c827f16f.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/function_index.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/index.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/keybd_closed_cb_900cfef5.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/status.json +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/style_cb_9ff733b0.css +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8___about___py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8___init___py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_altairplots_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_api_helpers_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_api_interfaces_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_api_reporting_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_checkmodules_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_codeaudit_dashboard_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_codeaudit_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_complexitycheck_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_dashboard_reports_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_filehelpfunctions_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_htmlhelpfunctions_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_issuevalidations_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_privacy_lint_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_pypi_package_scan_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_reporting_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_security_checks_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_suppression_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/cov_html/z_15dab3f49bf85fa8_totals_py.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/CLIcommands.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/_config.yml +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/_static/nocxstyle.css +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/apidocs/api_intro.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/apidocs/codeaudit.rst +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/apidocs/modules.rst +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/changelog.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/base64_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/binding_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/builtinfunctions_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/chmod_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/directorycreation_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/dynamicimport_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/exception_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/ftp_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/hash_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/httpserver_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/input_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/loggingconf_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/marshal_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/mktemp_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/multiprocessing_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/pickle_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/random_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/shelve_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/shutil_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/subprocess_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/syscalls_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/systemcalls_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/tarfile_extract_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/xml_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checks/zipfile_check.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/checksinformation.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/codeauditchecks.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/codeauditoverview.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/complexitycheck.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/data_egress_implementation.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/data_exfiltration_detection.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/ca_api_example_checks.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/ca_api_example_json.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/ca_api_example_overview.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/ca_api_example_scanning.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/ca_checks.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/demofile.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/directoryscan.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/example_risk_heatmap.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/example_weakness_perfile_view.ipynb +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/filescan.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/modulescan.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/examples/overview.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/filescan.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/filescan.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/handling_errors.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/howtoscan.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/OO.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/ROI_logo.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/YourLogoHere.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/ai_use.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/architecture_overview.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/codeauditlogo.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/filescan_screenshot_16012026.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/modulescan_screenshot_16012026.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/nocxbanner.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/overview_linkaudit.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/images/overview_screenshot_16012026.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/implementedvalidations.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/installation.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/issues.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/license.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/markingissues.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/modulescan.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/overviewplot.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/pca_overview.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/project_philosophy.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/sponsors.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/userguide.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/warnings.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/whatissast.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/docs/whysast.md +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/filescan.png +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/pyproject.toml +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/__init__.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/api_helpers.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/checkmodules.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/ci_workflowscan.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/complexitycheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/corecli.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/data/sastchecks.csv +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/data/secretslist.txt +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/filehelpfunctions.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/htmlhelpfunctions.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/issuevalidations.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/privacy_lint.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/security_checks.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/simple.css +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/codeaudit/suppression.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/__init__.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/dashboardapp.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/module_load_validation.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/module_load_validation2.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/dashboardapp_version166.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/dashboardapp_version166.js +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/deployed/dashboardapp.js +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/deployed/dashboardapp_version162.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/deployed/dashboardapp_version162.js +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/deployed/dashboardapp_version166.html +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/pyodide/deployed/dashboardapp_version166.js +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/src/dashboard/requirements.txt +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/__init__.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/count_lines_file1.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/clean.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/elastic.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/example1.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/klyne.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/mixed.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/telemetry.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/spytestdir/telemetryfile2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/suppression/sastsuppression_0.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/suppression/sastsuppression_1.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/suppression/sastsuppression_2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_apicalls.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_apicalls2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_base64.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_basicpatterns.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_chmod.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_constructspart2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_correctexceptionuse.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_count_commentlines.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_directorycreation.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_directorycreation2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_dynamic_import.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_edgecases.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_ftp.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_hashstrenght.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_obfuscatingbuiltins.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_oschecks.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_pylintreport.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_pypiscan.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_random.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_secretfinding.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_standardlibconstructs.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_subprocess.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_suppression.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_suppressionlogic.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_totalscheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_wasmsafe_funtions.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/test_zstd.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/unit_tests/__init__.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/unit_tests/test_collectsourcefiles.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/unit_tests/test_filehelpfunctions.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/unit_tests/test_readinsourcefile.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/allshit.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/apivalidations.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/assert.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/base64.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/chmod_things.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/complexitycheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/correctcounts.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/danger_imports.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/directorycreation.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/directorycreation2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/dunderexec_with_parsing_error.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/eval.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/eval2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/exception.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/file3.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/file_with_warnings.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/ftp.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/gzip.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/hashcheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/httpserver.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/inputstatement.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/marshal.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/modulecheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/multiprocessing.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/obfuscating.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/oschecks.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/pickle.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/python2_file_willnotwork.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/random.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/shelve.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/shutil.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/subprocess.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/syslibrary.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/tarfilevalidation.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/tempcheck.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/validation1.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/validation2.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/xml.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/zipfile.py +0 -0
- {codeaudit-1.7.0 → codeaudit-1.7.1}/tests/validationfiles/zstd.py +0 -0
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# Change Log
|
|
2
2
|
|
|
3
|
+
## Version 1.7.1:
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
**Added**
|
|
7
|
+
|
|
8
|
+
* **PyPI Update Indicator:** Added an indicator for the last update of PyPI packages, implemented for both the CLI version and the Dashboard version.
|
|
9
|
+
* **Test Coverage:** Added extra tests to improve codebase stability.
|
|
10
|
+
* **Dashboard Overview (WASM version):** The total number of weaknesses is now displayed directly in the overview tab.
|
|
11
|
+
|
|
12
|
+
**Changed**
|
|
13
|
+
|
|
14
|
+
* **CLI Report Optimization (Modules):** The CLI report now only displays modules when they are actually found.
|
|
15
|
+
* **CLI Report Optimization (Tips):** The CLI report now only displays the tip to check external modules for vulnerabilities if vulnerabilities are actually present in a file.
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
**Fixed**
|
|
19
|
+
|
|
20
|
+
* **Windows 11 Compatibility:** Fixed an issue to ensure `codeaudit overview` works properly on Windows 11, specifically resolving a bug in the `count_lines_iterate` function.
|
|
21
|
+
* **Altair Visuals:** Fixed stability issues with the Altair Visual overview in the `codeaudit overview` section, making it stable again.
|
|
22
|
+
|
|
23
|
+
**Documentation**
|
|
24
|
+
|
|
25
|
+
* General documentation updates and minor fixes.
|
|
26
|
+
|
|
3
27
|
## Version 1.7.0:
|
|
4
28
|
|
|
5
29
|
**Added**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: codeaudit
|
|
3
|
-
Version: 1.7.
|
|
3
|
+
Version: 1.7.1
|
|
4
4
|
Summary: A modern Python security source code analyzer (SAST) based on distrust.
|
|
5
5
|
Project-URL: Documentation, https://github.com/nocomplexity/codeaudit#readme
|
|
6
6
|
Project-URL: Issues, https://github.com/nocomplexity/codeaudit/issues
|
|
@@ -44,10 +44,9 @@ Description-Content-Type: text/markdown
|
|
|
44
44
|
[](https://nocomplexity.com/documents/codeaudit/license.html)
|
|
45
45
|
[](https://pepy.tech/projects/codeaudit)
|
|
46
46
|
|
|
47
|
-
Python Code Audit - A modern Python source code analyzer based on distrust.
|
|
48
|
-
|
|
49
|
-
Python Code Audit is a tool to find **security weaknesses** in Python code. This static application security testing (SAST) tool has **great** features to simplify the necessary security tasks and make it fun and easy.
|
|
47
|
+
Python Code Audit - A modern Python security source code analyzer based on distrust.
|
|
50
48
|
|
|
49
|
+
Python Code Audit is a static application security testing (SAST) tool designed to identify **security weaknesses** in Python source code. It combines **powerful analysis features** with an intuitive workflow, making essential security audits both simple and engaging.
|
|
51
50
|
|
|
52
51
|
This tool is designed for anyone who uses or creates Python programs and wants to understand and mitigate potential security risks.
|
|
53
52
|
|
|
@@ -73,6 +72,7 @@ Python Code Audit has the following features:
|
|
|
73
72
|
|
|
74
73
|
* **External Egress Detection**: Identifies embedded API keys and logic that enables communication with remote services, helping uncover hidden data exfiltration paths.
|
|
75
74
|
|
|
75
|
+
* **CI/CD Ready:** Integrates seamlessly into any CI/CD workflow.
|
|
76
76
|
|
|
77
77
|
* **HTML Reports**: All output is saved in simple, static HTML reports viewable in any browser.
|
|
78
78
|
|
|
@@ -84,11 +84,20 @@ Python Code Audit has the following features:
|
|
|
84
84
|
|
|
85
85
|
## Installation
|
|
86
86
|
|
|
87
|
+
> [!TIP]
|
|
88
|
+
> Try it instantly—no installs, no setup, no excuses.
|
|
89
|
+
>
|
|
90
|
+
> 👉 Launch the browser version [here](https://nocomplexity.com/codeauditapp/dashboardapp.html)
|
|
91
|
+
|
|
92
|
+
It runs 100% locally in your browser using WebAssembly (WASM). See the power of the tool in under 60 seconds.
|
|
93
|
+
No downloads. No dependencies. Just click and do a security audit on Python Code.
|
|
94
|
+
|
|
95
|
+
Loved the browser version? Unlock the full power. For advanced security code inspections, CI/CD integration, and all professional features, install the complete Python package:
|
|
96
|
+
|
|
87
97
|
```console
|
|
88
98
|
pip install -U codeaudit
|
|
89
99
|
```
|
|
90
100
|
|
|
91
|
-
If you would like to test this security tool without installing it, simply use the WASM version [available here](https://nocomplexity.com/codeauditapp/dashboardapp.html).
|
|
92
101
|
|
|
93
102
|
|
|
94
103
|
|
|
@@ -10,10 +10,9 @@
|
|
|
10
10
|
[](https://nocomplexity.com/documents/codeaudit/license.html)
|
|
11
11
|
[](https://pepy.tech/projects/codeaudit)
|
|
12
12
|
|
|
13
|
-
Python Code Audit - A modern Python source code analyzer based on distrust.
|
|
14
|
-
|
|
15
|
-
Python Code Audit is a tool to find **security weaknesses** in Python code. This static application security testing (SAST) tool has **great** features to simplify the necessary security tasks and make it fun and easy.
|
|
13
|
+
Python Code Audit - A modern Python security source code analyzer based on distrust.
|
|
16
14
|
|
|
15
|
+
Python Code Audit is a static application security testing (SAST) tool designed to identify **security weaknesses** in Python source code. It combines **powerful analysis features** with an intuitive workflow, making essential security audits both simple and engaging.
|
|
17
16
|
|
|
18
17
|
This tool is designed for anyone who uses or creates Python programs and wants to understand and mitigate potential security risks.
|
|
19
18
|
|
|
@@ -39,6 +38,7 @@ Python Code Audit has the following features:
|
|
|
39
38
|
|
|
40
39
|
* **External Egress Detection**: Identifies embedded API keys and logic that enables communication with remote services, helping uncover hidden data exfiltration paths.
|
|
41
40
|
|
|
41
|
+
* **CI/CD Ready:** Integrates seamlessly into any CI/CD workflow.
|
|
42
42
|
|
|
43
43
|
* **HTML Reports**: All output is saved in simple, static HTML reports viewable in any browser.
|
|
44
44
|
|
|
@@ -50,11 +50,20 @@ Python Code Audit has the following features:
|
|
|
50
50
|
|
|
51
51
|
## Installation
|
|
52
52
|
|
|
53
|
+
> [!TIP]
|
|
54
|
+
> Try it instantly—no installs, no setup, no excuses.
|
|
55
|
+
>
|
|
56
|
+
> 👉 Launch the browser version [here](https://nocomplexity.com/codeauditapp/dashboardapp.html)
|
|
57
|
+
|
|
58
|
+
It runs 100% locally in your browser using WebAssembly (WASM). See the power of the tool in under 60 seconds.
|
|
59
|
+
No downloads. No dependencies. Just click and do a security audit on Python Code.
|
|
60
|
+
|
|
61
|
+
Loved the browser version? Unlock the full power. For advanced security code inspections, CI/CD integration, and all professional features, install the complete Python package:
|
|
62
|
+
|
|
53
63
|
```console
|
|
54
64
|
pip install -U codeaudit
|
|
55
65
|
```
|
|
56
66
|
|
|
57
|
-
If you would like to test this security tool without installing it, simply use the WASM version [available here](https://nocomplexity.com/codeauditapp/dashboardapp.html).
|
|
58
67
|
|
|
59
68
|
|
|
60
69
|
|
|
@@ -22,6 +22,8 @@ These are all activities we’d like to get help with :
|
|
|
22
22
|
- Website design and development
|
|
23
23
|
:::
|
|
24
24
|
|
|
25
|
+
Or just make a [donation](donate-label)!
|
|
26
|
+
|
|
25
27
|
The **Codeaudit** code repository is hosted at [Github](https://github.com/nocomplexity/codeaudit).
|
|
26
28
|
|
|
27
29
|
Simple Guidelines:
|
|
@@ -19,14 +19,14 @@ Currently, I lead initiatives at NoComplexity.com, an innovative IT company focu
|
|
|
19
19
|
:gutter: 3
|
|
20
20
|
|
|
21
21
|
:::{grid-item-card}
|
|
22
|
-
:link: https://nocomplexity.com/
|
|
22
|
+
:link: https://securitytesting.nocomplexity.com/
|
|
23
23
|
:link-type: url
|
|
24
|
-
{octicon}`book;2em;caption-text` **
|
|
24
|
+
{octicon}`book;2em;caption-text` **Mastering Security Testing for Python**
|
|
25
25
|
^^^
|
|
26
|
-
|
|
27
|
-
Use this Playbook to create better and faster security solutions for your security use case.
|
|
26
|
+
Gain a deep understanding of the methodologies and specialised tools to conduct security validation for Python applications.
|
|
28
27
|
:::
|
|
29
28
|
|
|
29
|
+
|
|
30
30
|
:::{grid-item-card}
|
|
31
31
|
:link: http://securitybydesign.nocomplexity.com/
|
|
32
32
|
:link-type: url
|
|
@@ -37,31 +37,32 @@ Master the topic quickly with this eBook.
|
|
|
37
37
|
:::
|
|
38
38
|
|
|
39
39
|
:::{grid-item-card}
|
|
40
|
-
:link: https://nocomplexity.com/documents/
|
|
40
|
+
:link: https://nocomplexity.com/documents/reports/SimplifySecurity.pdf
|
|
41
41
|
:link-type: url
|
|
42
|
-
{octicon}`book;2em;caption-text` **
|
|
42
|
+
{octicon}`book;2em;caption-text` **Simplify Cyber Manifest**
|
|
43
43
|
^^^
|
|
44
|
-
|
|
44
|
+
A manifesto to revolutionize cybersecurity through simplification.
|
|
45
45
|
:::
|
|
46
46
|
|
|
47
|
+
|
|
47
48
|
:::{grid-item-card}
|
|
48
|
-
:link: https://nocomplexity.
|
|
49
|
+
:link: https://nocomplexity.github.io/pythonsecurity/
|
|
49
50
|
:link-type: url
|
|
50
|
-
{octicon}`book;2em;caption-text` **
|
|
51
|
+
{octicon}`book;2em;caption-text` **Python Security Handbook**
|
|
51
52
|
^^^
|
|
52
|
-
|
|
53
|
+
This book will give you a deep understanding of how to develop secure Python applications. It also equips you with the knowledge needed to assess the security of Python code written by others.
|
|
53
54
|
:::
|
|
54
55
|
|
|
55
56
|
|
|
56
57
|
:::{grid-item-card}
|
|
57
|
-
:link: https://nocomplexity.com/documents/
|
|
58
|
+
:link: https://nocomplexity.com/documents/securityarchitecture/introduction.html
|
|
58
59
|
:link-type: url
|
|
59
|
-
{octicon}`book;2em;caption-text` **
|
|
60
|
+
{octicon}`book;2em;caption-text` **Open Security Reference Architecture**
|
|
60
61
|
^^^
|
|
61
|
-
|
|
62
|
+
Cyber security can still be simple and effective.
|
|
63
|
+
Use this Playbook to create better and faster security solutions for your security use case.
|
|
62
64
|
:::
|
|
63
65
|
|
|
64
|
-
|
|
65
66
|
:::{grid-item-card}
|
|
66
67
|
:link: https://nocomplexity.com/documents/simplifyprivacy/intro.html
|
|
67
68
|
:link-type: url
|
|
@@ -71,6 +72,15 @@ This digital Playbook is all about protecting *your* digital privacy.
|
|
|
71
72
|
:::
|
|
72
73
|
|
|
73
74
|
|
|
75
|
+
:::{grid-item-card}
|
|
76
|
+
:link: https://nocomplexity.com/documents/securitysolutions/intro.html
|
|
77
|
+
:link-type: url
|
|
78
|
+
{octicon}`book;2em;caption-text` **Open Security Solutions**
|
|
79
|
+
^^^
|
|
80
|
+
Given the vast array of FOSS cybersecurity products available, this publication offers a handcrafted curated selection.
|
|
81
|
+
:::
|
|
82
|
+
|
|
83
|
+
|
|
74
84
|
::::
|
|
75
85
|
% End of Cards grid
|
|
76
86
|
|
|
@@ -56,13 +56,19 @@ We focus on delivering a simple, trustworthy security tool that performs its def
|
|
|
56
56
|
|
|
57
57
|
The following design choices have been made for Python Code Audit:
|
|
58
58
|
|
|
59
|
-
* **The Python AST library is used
|
|
59
|
+
* **The Python AST library is used to determine weaknesses and perform code validation.**
|
|
60
60
|
* **Rationale:** As we are creating a Python-specific security checker, using the `ast` module provides **significant** advantages:
|
|
61
61
|
1. Code is not executed during examination, which is a major benefit when validating potentially malicious code.
|
|
62
62
|
2. Implementing basic checks using complex regex patterns would make the code and its maintenance unnecessarily difficult.
|
|
63
63
|
3. Users can add extra validations in a simple, straightforward manner.
|
|
64
|
+
|
|
65
|
+
+++
|
|
66
|
+
|
|
64
67
|
* **Python Code Audit is not designed for identifying weaknesses in web applications.**
|
|
65
68
|
* **Rationale:** We check Python source code, but do not perform XSS or SQL injection checks. Every Python web application **should** use a battle-tested FOSS framework that prevents these vulnerabilities by design. Testing for these would require building a fuzzer rather than a static code scanner. There are other tools that **must** always be used for validating web applications.
|
|
69
|
+
|
|
70
|
+
+++
|
|
71
|
+
|
|
66
72
|
* **Postpone code performance optimisations until truly necessary.**
|
|
67
73
|
* **Rationale:** We aim for a loosely coupled architecture of key functions; performance optimisations can be introduced at a later stage if required. In practice, performance optimisations are rarely needed. Most time will be spent by humans analysing results before deciding whether to use a Python package, or making security improvements to their own code. The baseline performance for scanning a 10MB Python package should be the priority.
|
|
68
74
|
* **Implication:** Ensure that performance optimisations can be applied later to specific functional blocks if they are found to be causing bottlenecks for users.
|
|
@@ -129,3 +129,7 @@ For robust validation and error handling in production code, always use standard
|
|
|
129
129
|
* [The assert statement - Python Documentation](https://docs.python.org/3/reference/simple_stmts.html#the-assert-statement)
|
|
130
130
|
* [The dangers of assert in Python](https://snyk.io/blog/the-dangers-of-assert-in-python/)
|
|
131
131
|
* [Feature: Python assert should be consider harmful](https://community.sonarsource.com/t/feature-python-assert-should-be-consider-harmful/38501) But note that Sonar did not implement this check.
|
|
132
|
+
* [CVE-2017-1000433](https://nvd.nist.gov/vuln/detail/CVE-2017-1000433) and see the related [issues/451](https://github.com/IdentityPython/pysaml2/issues/451)
|
|
133
|
+
* [Advisory: pysaml2 Improper Authentication vulnerability](https://github.com/advisories/GHSA-924m-4pmx-c67h)
|
|
134
|
+
|
|
135
|
+
* [Rethinking Python Asserts in SAST](https://nocomplexity.com/python-asserts/)
|
|
@@ -71,7 +71,7 @@ If needed, you can also export the `json` output for further processing in a sep
|
|
|
71
71
|
### HTML report example
|
|
72
72
|
|
|
73
73
|
|
|
74
|
-
```
|
|
74
|
+
```yaml
|
|
75
75
|
# SAST scan with Python Code Audit on GitLab.com
|
|
76
76
|
image: python:3.13-slim
|
|
77
77
|
|
|
@@ -137,7 +137,7 @@ codeaudit-scan:
|
|
|
137
137
|
|
|
138
138
|
For structured processing or integration with other tools:
|
|
139
139
|
|
|
140
|
-
```
|
|
140
|
+
```yaml
|
|
141
141
|
codeaudit-scan:
|
|
142
142
|
stage: scan
|
|
143
143
|
|
|
@@ -0,0 +1,352 @@
|
|
|
1
|
+
{
|
|
2
|
+
"cells": [
|
|
3
|
+
{
|
|
4
|
+
"cell_type": "markdown",
|
|
5
|
+
"id": "75cc2707-bfcf-47f2-8e88-c0439925d089",
|
|
6
|
+
"metadata": {},
|
|
7
|
+
"source": [
|
|
8
|
+
"# Basic API functions usage\n",
|
|
9
|
+
"\n",
|
|
10
|
+
"Using the Python Code Audit APIs is simple and straightforward!\n",
|
|
11
|
+
"\n",
|
|
12
|
+
"If you have any questions, feel free to [get in touch!](../CONTRIBUTE)\n",
|
|
13
|
+
"\n",
|
|
14
|
+
"To use the Python Code Audit functions, simply import the desired function into your notebook or Python script.\n"
|
|
15
|
+
]
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"cell_type": "markdown",
|
|
19
|
+
"id": "58e7c8f7-c5b5-422d-a5a7-5e0c072924f4",
|
|
20
|
+
"metadata": {},
|
|
21
|
+
"source": [
|
|
22
|
+
"To use the **Python Code Audit** functions import the function you want to use in a notebook or in a Python file."
|
|
23
|
+
]
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"cell_type": "markdown",
|
|
27
|
+
"id": "6f7bfa6f-7f17-4dfc-a083-437d896e7f7b",
|
|
28
|
+
"metadata": {},
|
|
29
|
+
"source": [
|
|
30
|
+
"## Platform information\n",
|
|
31
|
+
"\n",
|
|
32
|
+
"The `platform_info()` function provides detailed information about the runtime environment.\n",
|
|
33
|
+
"\n",
|
|
34
|
+
"This information is essential for both security purposes and handling edge cases that may affect the behavior of the APIs.\n"
|
|
35
|
+
]
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"cell_type": "code",
|
|
39
|
+
"execution_count": 1,
|
|
40
|
+
"id": "ce7f815a-92f0-4bcb-abf1-526e31115ec7",
|
|
41
|
+
"metadata": {},
|
|
42
|
+
"outputs": [],
|
|
43
|
+
"source": [
|
|
44
|
+
"from codeaudit.api_interfaces import platform_info"
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"cell_type": "code",
|
|
49
|
+
"execution_count": 2,
|
|
50
|
+
"id": "2b6fd416-4756-4b9b-89d2-587b7805d9a9",
|
|
51
|
+
"metadata": {},
|
|
52
|
+
"outputs": [
|
|
53
|
+
{
|
|
54
|
+
"data": {
|
|
55
|
+
"text/plain": [
|
|
56
|
+
"{'python_version': '3.14.6', 'python_implementation': 'CPython'}"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"execution_count": 2,
|
|
60
|
+
"metadata": {},
|
|
61
|
+
"output_type": "execute_result"
|
|
62
|
+
}
|
|
63
|
+
],
|
|
64
|
+
"source": [
|
|
65
|
+
"platform_info()"
|
|
66
|
+
]
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"cell_type": "markdown",
|
|
70
|
+
"id": "6e4e3edb-9983-42af-aa91-c2ce3af689d8",
|
|
71
|
+
"metadata": {},
|
|
72
|
+
"source": [
|
|
73
|
+
"## Python Code Audit version information\n",
|
|
74
|
+
"\n",
|
|
75
|
+
"Good security validation starts with knowing which tools — and which versions — you have used.\n",
|
|
76
|
+
"\n",
|
|
77
|
+
"When you build your own APIs using this framework, all critical scanning API calls automatically include a version identifier.\n",
|
|
78
|
+
"\n",
|
|
79
|
+
"However, if you need to **retrieve the version information** using a script (for example, when creating CI/CD scripts), you can easily do so using the following command:\n"
|
|
80
|
+
]
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"cell_type": "code",
|
|
84
|
+
"execution_count": 3,
|
|
85
|
+
"id": "7c3df6ef-1bbf-400b-8b4e-4e5bd0700471",
|
|
86
|
+
"metadata": {},
|
|
87
|
+
"outputs": [],
|
|
88
|
+
"source": [
|
|
89
|
+
"from codeaudit.api_interfaces import version"
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"cell_type": "code",
|
|
94
|
+
"execution_count": 4,
|
|
95
|
+
"id": "6258c5f0-4002-425d-b643-c6d491eb1335",
|
|
96
|
+
"metadata": {},
|
|
97
|
+
"outputs": [
|
|
98
|
+
{
|
|
99
|
+
"data": {
|
|
100
|
+
"text/plain": [
|
|
101
|
+
"{'name': 'Python_Code_Audit', 'version': '1.7.0'}"
|
|
102
|
+
]
|
|
103
|
+
},
|
|
104
|
+
"execution_count": 4,
|
|
105
|
+
"metadata": {},
|
|
106
|
+
"output_type": "execute_result"
|
|
107
|
+
}
|
|
108
|
+
],
|
|
109
|
+
"source": [
|
|
110
|
+
"version()"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"cell_type": "markdown",
|
|
115
|
+
"id": "98422d63-ec29-49b2-bb4c-3912288cb584",
|
|
116
|
+
"metadata": {},
|
|
117
|
+
"source": [
|
|
118
|
+
"## Overview of vulnerability of a module\n",
|
|
119
|
+
"\n",
|
|
120
|
+
"This API retrieves security vulnerability data for external modules via the [OSV (Open Source Vulnerability) Database](https://nocomplexity.com/documents/securityarchitecture/references/vulnerabilitydatabases.html#vulnerability-databases).\n",
|
|
121
|
+
"\n",
|
|
122
|
+
"**How it Works**\n",
|
|
123
|
+
"- Input: Provide the name of the module you wish to query.\n",
|
|
124
|
+
"\n",
|
|
125
|
+
"- External Call: This function triggers an external request. Please note that the OSV Database is not designed for high-frequency, continuous polling. Use this API judiciously to avoid rate-limiting or performance issues.\n",
|
|
126
|
+
"\n",
|
|
127
|
+
"- Output: The API returns a Python dictionary containing comprehensive vulnerability details. This structured data allows you to build custom reporting and monitoring tools tailored to your needs.\n",
|
|
128
|
+
"\n",
|
|
129
|
+
"**Best Practices** \n",
|
|
130
|
+
"Validating external modules for known vulnerabilities should be a standard security requirement, not an optional step. Because security risk depends on how a module is implemented, you must evaluate the returned data to determine if a module meets the security standards for your specific use case.\n",
|
|
131
|
+
"\n",
|
|
132
|
+
"\n",
|
|
133
|
+
":::{attention} \n",
|
|
134
|
+
"Checking against known vulnerabilities is not as strong as doing a SAST scan on code. \n",
|
|
135
|
+
"\n",
|
|
136
|
+
"**So always use Python Code Audit and check on (new)weaknesses!!**\n",
|
|
137
|
+
":::\n",
|
|
138
|
+
"\n",
|
|
139
|
+
"\n",
|
|
140
|
+
"Too many tools only check Python programs and their dependencies (or used modules) against known vulnerabilities.\n",
|
|
141
|
+
"\n",
|
|
142
|
+
"Many security tools focus exclusively on auditing Python programs and their direct dependencies against lists of known vulnerabilities. These vulnerabilities are typically tracked and published in global repositories:\n",
|
|
143
|
+
"\n",
|
|
144
|
+
"- NVD & CVE: Security flaws are officially identified and catalogued using the Common Vulnerabilities and Exposures (CVE) system. These are central to the U.S. National Vulnerability Database (NVD).\n",
|
|
145
|
+
"\n",
|
|
146
|
+
"- [OSV Database](https://nocomplexity.com/documents/securityarchitecture/references/vulnerabilitydatabases.html#vulnerability-databases): In addition to the NVD, many Open Source Software (OSS) vulnerabilities are aggregated in the Google-managed OSV (Open Source Vulnerability) database, which provides a more distributed and developer-friendly format for many ecosystems.\n"
|
|
147
|
+
]
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"cell_type": "markdown",
|
|
151
|
+
"id": "29123ac5-93a6-4a62-aadf-46deb3332631",
|
|
152
|
+
"metadata": {},
|
|
153
|
+
"source": [
|
|
154
|
+
"### How to use this API call"
|
|
155
|
+
]
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"cell_type": "code",
|
|
159
|
+
"execution_count": 5,
|
|
160
|
+
"id": "1e5c0e2d-67f4-4188-ab1f-c7ca3e232f0d",
|
|
161
|
+
"metadata": {},
|
|
162
|
+
"outputs": [],
|
|
163
|
+
"source": [
|
|
164
|
+
"from codeaudit.api_interfaces import get_module_vulnerability_info"
|
|
165
|
+
]
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"cell_type": "code",
|
|
169
|
+
"execution_count": 6,
|
|
170
|
+
"id": "fcd4390b-842b-436e-b1a8-5eb3c98a9cbb",
|
|
171
|
+
"metadata": {},
|
|
172
|
+
"outputs": [],
|
|
173
|
+
"source": [
|
|
174
|
+
"vulnerability_info = get_module_vulnerability_info(\"pandas\") #now the vulnerabilty information , if available, is retrieved "
|
|
175
|
+
]
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"cell_type": "code",
|
|
179
|
+
"execution_count": 7,
|
|
180
|
+
"id": "de511475-53b0-4a1c-83e0-f20118ccb39a",
|
|
181
|
+
"metadata": {},
|
|
182
|
+
"outputs": [
|
|
183
|
+
{
|
|
184
|
+
"data": {
|
|
185
|
+
"text/plain": [
|
|
186
|
+
"{'name': 'Python_Code_Audit',\n",
|
|
187
|
+
" 'version': '1.7.0',\n",
|
|
188
|
+
" 'generated_on': '2026-06-25 10:29',\n",
|
|
189
|
+
" 'pandas_vulnerability_info': [{'id': 'PYSEC-2020-73',\n",
|
|
190
|
+
" 'summary': '',\n",
|
|
191
|
+
" 'details': \"** DISPUTED ** pandas through 1.0.3 can unserialize and execute commands from an untrusted file that is passed to the read_pickle() function, if __reduce__ makes an os.system call. NOTE: third parties dispute this issue because the read_pickle() function is documented as unsafe and it is the user's responsibility to use the function in a secure manner.\",\n",
|
|
192
|
+
" 'aliases': ['CVE-2020-13091'],\n",
|
|
193
|
+
" 'severity': []}]}"
|
|
194
|
+
]
|
|
195
|
+
},
|
|
196
|
+
"execution_count": 7,
|
|
197
|
+
"metadata": {},
|
|
198
|
+
"output_type": "execute_result"
|
|
199
|
+
}
|
|
200
|
+
],
|
|
201
|
+
"source": [
|
|
202
|
+
"vulnerability_info #shows retrieved vulnerability information for external modules."
|
|
203
|
+
]
|
|
204
|
+
},
|
|
205
|
+
{
|
|
206
|
+
"cell_type": "markdown",
|
|
207
|
+
"id": "b86b60b3-af3c-4777-b0cc-788aad12148f",
|
|
208
|
+
"metadata": {},
|
|
209
|
+
"source": [
|
|
210
|
+
"### Known vulnerabilities of the Python module: `requests`"
|
|
211
|
+
]
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"cell_type": "markdown",
|
|
215
|
+
"id": "2f8ee3d5-2258-4b4d-b942-5868e7f017a3",
|
|
216
|
+
"metadata": {},
|
|
217
|
+
"source": [
|
|
218
|
+
"An example for the output of known vulnerabilities of a well known Python module: `requests`\n",
|
|
219
|
+
"\n",
|
|
220
|
+
"If you see this output ask the question if you really should use this module!"
|
|
221
|
+
]
|
|
222
|
+
},
|
|
223
|
+
{
|
|
224
|
+
"cell_type": "code",
|
|
225
|
+
"execution_count": 8,
|
|
226
|
+
"id": "e9fe4117-0494-452d-9eb5-044be59ea8a8",
|
|
227
|
+
"metadata": {},
|
|
228
|
+
"outputs": [],
|
|
229
|
+
"source": [
|
|
230
|
+
"vulnerability_info = get_module_vulnerability_info(\"requests\") #now the vulnerabilty information , if available, is retrieved "
|
|
231
|
+
]
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"cell_type": "code",
|
|
235
|
+
"execution_count": 9,
|
|
236
|
+
"id": "bdcc1fb0-0efc-4821-ac40-9cc13271af55",
|
|
237
|
+
"metadata": {},
|
|
238
|
+
"outputs": [
|
|
239
|
+
{
|
|
240
|
+
"data": {
|
|
241
|
+
"text/plain": [
|
|
242
|
+
"{'name': 'Python_Code_Audit',\n",
|
|
243
|
+
" 'version': '1.7.0',\n",
|
|
244
|
+
" 'generated_on': '2026-06-25 10:29',\n",
|
|
245
|
+
" 'requests_vulnerability_info': [{'id': 'GHSA-652x-xj99-gmcc',\n",
|
|
246
|
+
" 'summary': 'Exposure of Sensitive Information to an Unauthorized Actor in Requests',\n",
|
|
247
|
+
" 'details': 'Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.',\n",
|
|
248
|
+
" 'aliases': ['CVE-2014-1830', 'PYSEC-2014-14'],\n",
|
|
249
|
+
" 'severity': [{'type': 'CVSS_V4',\n",
|
|
250
|
+
" 'score': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}]},\n",
|
|
251
|
+
" {'id': 'GHSA-9hjg-9r4m-mvj7',\n",
|
|
252
|
+
" 'summary': 'Requests vulnerable to .netrc credentials leak via malicious URLs',\n",
|
|
253
|
+
" 'details': '### Impact\\n\\nDue to a URL parsing issue, Requests releases prior to 2.32.4 may leak .netrc credentials to third parties for specific maliciously-crafted URLs.\\n\\n### Workarounds\\nFor older versions of Requests, use of the .netrc file can be disabled with `trust_env=False` on your Requests Session ([docs](https://requests.readthedocs.io/en/latest/api/#requests.Session.trust_env)).\\n\\n### References\\nhttps://github.com/psf/requests/pull/6965\\nhttps://seclists.org/fulldisclosure/2025/Jun/2',\n",
|
|
254
|
+
" 'aliases': ['CVE-2024-47081'],\n",
|
|
255
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
256
|
+
" 'score': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N'}]},\n",
|
|
257
|
+
" {'id': 'GHSA-9wx4-h78v-vm56',\n",
|
|
258
|
+
" 'summary': 'Requests `Session` object does not verify requests after making first request with verify=False',\n",
|
|
259
|
+
" 'details': \"When using a `requests.Session`, if the first request to a given origin is made with `verify=False`, TLS certificate verification may remain disabled for all subsequent requests to that origin, even if `verify=True` is explicitly specified later.\\n\\nThis occurs because the underlying connection is reused from the session's connection pool, causing the initial TLS verification setting to persist for the lifetime of the pooled connection. As a result, applications may unintentionally send requests without certificate verification, leading to potential man-in-the-middle attacks and compromised confidentiality or integrity.\\n\\nThis behavior affects versions of `requests` prior to 2.32.0.\",\n",
|
|
260
|
+
" 'aliases': ['CVE-2024-35195'],\n",
|
|
261
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
262
|
+
" 'score': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N'}]},\n",
|
|
263
|
+
" {'id': 'GHSA-cfj3-7x9c-4p3h',\n",
|
|
264
|
+
" 'summary': 'Exposure of Sensitive Information to an Unauthorized Actor in Requests',\n",
|
|
265
|
+
" 'details': 'Requests (aka python-requests) before 2.3.0 allows remote servers to obtain a netrc password by reading the Authorization header in a redirected request.',\n",
|
|
266
|
+
" 'aliases': ['CVE-2014-1829', 'PYSEC-2014-13'],\n",
|
|
267
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
268
|
+
" 'score': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N'},\n",
|
|
269
|
+
" {'type': 'CVSS_V4',\n",
|
|
270
|
+
" 'score': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N'}]},\n",
|
|
271
|
+
" {'id': 'GHSA-gc5v-m9x4-r6x2',\n",
|
|
272
|
+
" 'summary': 'Requests has Insecure Temp File Reuse in its extract_zipped_paths() utility function',\n",
|
|
273
|
+
" 'details': '### Impact\\nThe `requests.utils.extract_zipped_paths()` utility function uses a predictable filename when extracting files from zip archives into the system temporary directory. If the target file already exists, it is reused without validation. A local attacker with write access to the temp directory could pre-create a malicious file that would be loaded in place of the legitimate one.\\n\\n### Affected usages\\n**Standard usage of the Requests library is not affected by this vulnerability.** Only applications that call `extract_zipped_paths()` directly are impacted.\\n\\n### Remediation\\nUpgrade to at least Requests 2.33.0, where the library now extracts files to a non-deterministic location.\\n\\nIf developers are unable to upgrade, they can set `TMPDIR` in their environment to a directory with restricted write access.',\n",
|
|
274
|
+
" 'aliases': ['CVE-2026-25645'],\n",
|
|
275
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
276
|
+
" 'score': 'CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:N/I:H/A:N'}]},\n",
|
|
277
|
+
" {'id': 'GHSA-j8r2-6x86-q33q',\n",
|
|
278
|
+
" 'summary': 'Unintended leak of Proxy-Authorization header in requests',\n",
|
|
279
|
+
" 'details': \"### Impact\\n\\nSince Requests v2.3.0, Requests has been vulnerable to potentially leaking `Proxy-Authorization` headers to destination servers, specifically during redirects to an HTTPS origin. This is a product of how `rebuild_proxies` is used to recompute and [reattach the `Proxy-Authorization` header](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/sessions.py#L319-L328) to requests when redirected. Note this behavior has _only_ been observed to affect proxied requests when credentials are supplied in the URL user information component (e.g. `https://username:password@proxy:8080`).\\n\\n**Current vulnerable behavior(s):**\\n\\n1. HTTP → HTTPS: **leak**\\n2. HTTPS → HTTP: **no leak**\\n3. HTTPS → HTTPS: **leak**\\n4. HTTP → HTTP: **no leak**\\n\\nFor HTTP connections sent through the proxy, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into further tunneled requests. This results in Requests forwarding the header to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate those credentials.\\n\\nThe reason this currently works for HTTPS connections in Requests is the `Proxy-Authorization` header is also handled by urllib3 with our usage of the ProxyManager in adapters.py with [`proxy_manager_for`](https://github.com/psf/requests/blob/f2629e9e3c7ce3c3c8c025bcd8db551101cbc773/requests/adapters.py#L199-L235). This will compute the required proxy headers in `proxy_headers` and pass them to the Proxy Manager, avoiding attaching them directly to the Request object. This will be our preferred option going forward for default usage.\\n\\n### Patches\\nStarting in Requests v2.31.0, Requests will no longer attach this header to redirects with an HTTPS destination. This should have no negative impacts on the default behavior of the library as the proxy credentials are already properly being handled by urllib3's ProxyManager.\\n\\nFor users with custom adapters, this _may_ be potentially breaking if you were already working around this behavior. The previous functionality of `rebuild_proxies` doesn't make sense in any case, so we would encourage any users impacted to migrate any handling of Proxy-Authorization directly into their custom adapter.\\n\\n### Workarounds\\nFor users who are not able to update Requests immediately, there is one potential workaround.\\n\\nYou may disable redirects by setting `allow_redirects` to `False` on all calls through Requests top-level APIs. Note that if you're currently relying on redirect behaviors, you will need to capture the 3xx response codes and ensure a new request is made to the redirect destination.\\n```\\nimport requests\\nr = requests.get('http://github.com/', allow_redirects=False)\\n```\\n\\n### Credits\\n\\nThis vulnerability was discovered and disclosed by the following individuals.\\n\\nDennis Brinkrolf, Haxolot (https://haxolot.com/)\\nTobias Funke, (tobiasfunke93@gmail.com)\",\n",
|
|
280
|
+
" 'aliases': ['CVE-2023-32681', 'PYSEC-2023-74'],\n",
|
|
281
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
282
|
+
" 'score': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:N/A:N'}]},\n",
|
|
283
|
+
" {'id': 'GHSA-pg2w-x9wp-vw92',\n",
|
|
284
|
+
" 'summary': 'Python Requests Session Fixation',\n",
|
|
285
|
+
" 'details': 'The `resolve_redirects` function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.',\n",
|
|
286
|
+
" 'aliases': ['CVE-2015-2296', 'PYSEC-2015-17'],\n",
|
|
287
|
+
" 'severity': []},\n",
|
|
288
|
+
" {'id': 'GHSA-x84v-xcm2-53pg',\n",
|
|
289
|
+
" 'summary': 'Insufficiently Protected Credentials in Requests',\n",
|
|
290
|
+
" 'details': 'The Requests package through 2.19.1 before 2018-09-14 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.',\n",
|
|
291
|
+
" 'aliases': ['CVE-2018-18074', 'PYSEC-2018-28'],\n",
|
|
292
|
+
" 'severity': [{'type': 'CVSS_V3',\n",
|
|
293
|
+
" 'score': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}]},\n",
|
|
294
|
+
" {'id': 'PYSEC-2014-13',\n",
|
|
295
|
+
" 'summary': '',\n",
|
|
296
|
+
" 'details': 'Requests (aka python-requests) before 2.3.0 allows remote servers to obtain a netrc password by reading the Authorization header in a redirected request.',\n",
|
|
297
|
+
" 'aliases': ['CVE-2014-1829', 'GHSA-cfj3-7x9c-4p3h'],\n",
|
|
298
|
+
" 'severity': []},\n",
|
|
299
|
+
" {'id': 'PYSEC-2014-14',\n",
|
|
300
|
+
" 'summary': '',\n",
|
|
301
|
+
" 'details': 'Requests (aka python-requests) before 2.3.0 allows remote servers to obtain sensitive information by reading the Proxy-Authorization header in a redirected request.',\n",
|
|
302
|
+
" 'aliases': ['CVE-2014-1830', 'GHSA-652x-xj99-gmcc'],\n",
|
|
303
|
+
" 'severity': []},\n",
|
|
304
|
+
" {'id': 'PYSEC-2015-17',\n",
|
|
305
|
+
" 'summary': '',\n",
|
|
306
|
+
" 'details': 'The resolve_redirects function in sessions.py in requests 2.1.0 through 2.5.3 allows remote attackers to conduct session fixation attacks via a cookie without a host value in a redirect.',\n",
|
|
307
|
+
" 'aliases': ['CVE-2015-2296', 'GHSA-pg2w-x9wp-vw92'],\n",
|
|
308
|
+
" 'severity': []},\n",
|
|
309
|
+
" {'id': 'PYSEC-2018-28',\n",
|
|
310
|
+
" 'summary': '',\n",
|
|
311
|
+
" 'details': 'The Requests package before 2.20.0 for Python sends an HTTP Authorization header to an http URI upon receiving a same-hostname https-to-http redirect, which makes it easier for remote attackers to discover credentials by sniffing the network.',\n",
|
|
312
|
+
" 'aliases': ['CVE-2018-18074', 'GHSA-x84v-xcm2-53pg'],\n",
|
|
313
|
+
" 'severity': []},\n",
|
|
314
|
+
" {'id': 'PYSEC-2023-74',\n",
|
|
315
|
+
" 'summary': '',\n",
|
|
316
|
+
" 'details': 'Requests is a HTTP library. Since Requests 2.3.0, Requests has been leaking Proxy-Authorization headers to destination servers when redirected to an HTTPS endpoint. This is a product of how we use `rebuild_proxies` to reattach the `Proxy-Authorization` header to requests. For HTTP connections sent through the tunnel, the proxy will identify the header in the request itself and remove it prior to forwarding to the destination server. However when sent over HTTPS, the `Proxy-Authorization` header must be sent in the CONNECT request as the proxy has no visibility into the tunneled request. This results in Requests forwarding proxy credentials to the destination server unintentionally, allowing a malicious actor to potentially exfiltrate sensitive information. This issue has been patched in version 2.31.0.\\n\\n',\n",
|
|
317
|
+
" 'aliases': ['CVE-2023-32681', 'GHSA-j8r2-6x86-q33q'],\n",
|
|
318
|
+
" 'severity': []}]}"
|
|
319
|
+
]
|
|
320
|
+
},
|
|
321
|
+
"execution_count": 9,
|
|
322
|
+
"metadata": {},
|
|
323
|
+
"output_type": "execute_result"
|
|
324
|
+
}
|
|
325
|
+
],
|
|
326
|
+
"source": [
|
|
327
|
+
"vulnerability_info"
|
|
328
|
+
]
|
|
329
|
+
}
|
|
330
|
+
],
|
|
331
|
+
"metadata": {
|
|
332
|
+
"kernelspec": {
|
|
333
|
+
"display_name": "Python 3 (ipykernel)",
|
|
334
|
+
"language": "python",
|
|
335
|
+
"name": "python3"
|
|
336
|
+
},
|
|
337
|
+
"language_info": {
|
|
338
|
+
"codemirror_mode": {
|
|
339
|
+
"name": "ipython",
|
|
340
|
+
"version": 3
|
|
341
|
+
},
|
|
342
|
+
"file_extension": ".py",
|
|
343
|
+
"mimetype": "text/x-python",
|
|
344
|
+
"name": "python",
|
|
345
|
+
"nbconvert_exporter": "python",
|
|
346
|
+
"pygments_lexer": "ipython3",
|
|
347
|
+
"version": "3.14.6"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"nbformat": 4,
|
|
351
|
+
"nbformat_minor": 5
|
|
352
|
+
}
|