Skip to content

SonarCloud: GitHub Actions / dependency hardening #552

Closed

Description

@don-petry

SonarCloud: GitHub Actions / dependency hardening

2 open SonarCloud finding(s) in combsmith/TalkTerm, worst severity MAJOR. Generated by the org SonarCloud Audit.

View in SonarCloud →

Findings

Rule Count Representative message
githubactions:S6506 2 Not enforcing HTTPS here might allow for redirections to insecure websites. Make sure it i

Affected files

  • .github/workflows/ci.yml (2)

Priority

Labeled priority:major — mapped from this bucket's worst SonarCloud severity (MAJOR).

Acceptance

  • All findings in this workstream resolved to zero in SonarCloud
  • No behavior change; CI green
  • Real fixes (no blanket NOSONAR unless a confirmed false positive, noted inline)

Idempotent issue — updated automatically each audit run; auto-closed when the finding count reaches zero.

Activity

  1. added
    securitySecurity-related PRs and issues
    dev-leadFor dev-lead agent pickup
    sonarcloud-auditSonarCloud audit finding (idempotent marker)
    on Oct 20, 2026
  2. don-petry commented on Oct 20, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead Implementation Plan

    Issue: #552 — SonarCloud: GitHub Actions / dependency hardening

    Scope

    Resolve the 2 githubactions:S6506 findings by restricting the two gitleaks curl downloads in .github/workflows/ci.yml to HTTPS (--proto '=https', matching the existing yq install step), and lock the invariant with a regression guard.

    Implementation Checklist

    • .github/workflows/ci.yml: add --proto '=https' to both gitleaks curl calls (binary + checksums)
    • scripts/test-ci-workflow.sh: new Check 10 — every curl must pass --proto '=https' (S6506)
    • scripts/test-ci-workflow.test.sh: update accept-fixtures to include --proto '=https'; add reject cases

    Tests to Write

    • curl without --proto '=https' (has --retry) is rejected
    • chained curl where only one segment enforces HTTPS is rejected
    • existing accept cases continue to pass with --proto '=https'

    Test Command

    bash scripts/test-ci-workflow.test.sh && bash scripts/test-ci-workflow.sh

  3. don-petry commented on Oct 20, 2026

    @don-petry
    ContributorAuthor

    Dev-Lead: Implementation Complete — PR #553

    The implementation for issue #552 is durable: commits are pushed and a pull request is open. This record is backed by verifiable artifacts you can confirm in one click.

    Review happens on the PR. Acceptance criteria and test results are evidenced by the PR's diff and CI checks — not asserted here. If a later stage fails, this claim is retracted in place.

  4. added a commit that references this issue on Oct 20, 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

    dev-leadFor dev-lead agent pickuppriority:majorSonarCloud MAJOR severitysecuritySecurity-related PRs and issuessonarcloud-auditSonarCloud audit finding (idempotent marker)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions