Skip to content

Enable private vulnerability reporting and add CodeQL scanning #70

Closed

Description

@TMHSDigital

Why it matters

This project ships an unsigned exe that drives the user's mouse, so trust signals matter. The pipeline is already strong (pinned action SHAs, pip-audit, provenance attestation, Dependabot). Two cheap gaps remain.

Evidence

  • Private vulnerability reporting is disabled (gh api repos/TMHSDigital/autoclicker/private-vulnerability-reporting returns {"enabled": false}). SECURITY.md offers email only, so reporters cannot use GitHub's private advisory flow and there is no structured record.
  • No static analysis: .github/workflows/ci.yml runs ruff, mypy, pytest and pip-audit, but no CodeQL or similar security scan of the Python code or of the workflow itself.
  • No OpenSSF Scorecard, which would also give a visible trust badge for a security-sensitive desktop tool.

Suggested approach

  1. Enable private vulnerability reporting in Settings, Code security, and add "Report a vulnerability" (the Security tab link) as the preferred channel in SECURITY.md, keeping email as a fallback.
  2. Add a codeql.yml workflow (Python + actions languages, pinned SHAs, weekly schedule plus PRs to main).
  3. Optional: add ossf/scorecard-action with results uploaded to code scanning and a README badge.

Done when

  • The Security tab offers private reporting and SECURITY.md points to it.
  • CodeQL runs on PRs and weekly with no unresolved high findings.

Activity

  1. added
    priority: medium
    ci
    security
    on Oct 4, 2026
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

    cipriority: mediumsecurity

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions