Uploaded image for project: 'MariaDB Connector/Python'
  1. MariaDB Connector/Python
  2. CONPY-373

Add Python SAST (CodeQL + Bandit) to CI

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.1.15, 2.0.0-rc3
    • Tests
    • None

    Description

      Introduce static application security testing (SAST) coverage for the MariaDB Connector/Python, mirroring the analysis tooling already in place for the Java, C, and Node.js connectors (see CONJS-357).

      Two complementary tools will be added:

      • CodeQL: deep taint and dataflow analysis, the Python/C equivalent of Infer used in the other connectors. Because this repository ships both pure-Python code (mariadb, mariadb_shared) and a C extension (mariadb-c), CodeQL will be configured for both the python and cpp language packs so the native code is covered as well.
      • Bandit: lightweight syntactic security checks (the Python counterpart to eslint-plugin-security), integrated into the existing lint tooling (.pre-commit-config.yaml / flake8 config) so findings surface locally as well as in CI.

      Attachments

        Issue Links

          Activity

            People

              diego dupin Diego Dupin
              diego dupin Diego Dupin
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.