Skip to content

CodeQL efficacy: un-dark check_codeql_language_matrix_mismatch + add effective-SAST rule #261

Closed

Description

@hyperpolymath

Refs #260 (do not auto-close).

Defect: WorkflowAudit.check_codeql_language_matrix_mismatch is gated Keyword.get(opts, :has_codeql_supported_language, true) — defaults true, so it is a silent no-op. ScorecardIngestor.check_sast only greps for the string codeql (presence, not efficacy). modshells alert #72: codeql.yml matrix was javascript-typescript on an Ada/Scheme repo → 0 results recorded.

Fix:

  • Compute has_codeql_supported_language from repo linguist/file extensions by default; absence of a scannable language is the trigger, not silence.
  • Add a paired effective-SAST rule: finding when codeql.yml language matrix ∌ any language the repo contains AND ∌ actions.
  • Canonical remediation: language: actions (always scannable; runs every commit).

Activity

  1. added
    bug
    elixir
    major
    requirements-target
    on May 16, 2026
  2. hyperpolymath commented on May 17, 2026

    @hyperpolymath
    OwnerAuthor

    Jointly closed by explicit maintainer agreement (2026-05-17). Landed via PR #264: un-darkened check_codeql_language_matrix_mismatch (computed-by-default, no silent no-op) + paired effective-SAST rule. Validated end-to-end by the live ScorecardReconciler run against modshells (SASTID #72 correctly classified fix). Refs #260.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugelixirmajorrequirements-target

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions