Skip to content

Tier 2: Set up SAST with CodeQL or Semgrep #84

@raifdmueller

Description

@raifdmueller

Context

As identified in the Risk Radar Assessment, both modules (scripts and website) are Tier 2 and require Tier 2 extended assurance measures.

Measure: SAST (Static Application Security Testing)

Type: Deterministic
Status: ❌ Missing
Required for: Tier 2 — Extended Assurance

What to implement

Option 1: GitHub CodeQL (Recommended)

  1. Create .github/workflows/codeql.yml
  2. Configure for JavaScript analysis
  3. Run on PRs and weekly schedule

Option 2: Semgrep

  1. Create .github/workflows/semgrep.yml
  2. Sign up for Semgrep Cloud (free for open source)
  3. Configure Semgrep rules

Reference

Acceptance Criteria

  • SAST tool configured (CodeQL or Semgrep)
  • Runs on every PR and push to main
  • Security findings are reported in GitHub Security tab
  • No high-severity issues in current codebase

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestinvalidThis doesn't seem rightrisk-radarRisk Radar mitigation measuressecuritySecurity-related improvementstier-2Tier 2 - Extended Assurance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions