Skip to content

SonarCloud: GitHub Actions / dependency hardening (×13) #598

Description

@don-petry

GitHub Actions / dependency supply-chain hardening

SonarCloud open findings in petry-projects/.github13 issue(s) grouped as one workstream. Part of the org SonarCloud tuning initiative #593.

Findings

Rule Count Representative message
githubactions:S8541 5 Omitting "--only-binary :all:" can lead to the execution of setup scripts. Make sure it is
githubactions:S8544 3 Using dependencies without locking resolved versions is security-sensitive.
githubactions:S6505 2 "npx" can install packages on-demand and run their lifecycle scripts.
githubactions:S8545 2 Dependency versions are not predictable. Use a lock-file enforcing command instead.
githubactions:S8543 1 Define exact package version to avoid installing unverified releases.

Affected files

  • .github/workflows/ci.yml (4)
  • .github/workflows/feature-ideation-reusable.yml (2)
  • .github/workflows/feature-ideation-tests.yml (2)
  • .github/workflows/dependency-audit-reusable.yml (2)
  • .github/workflows/dependency-audit.yml (2)
  • .github/workflows/agent-shield-reusable.yml (1)

Approach

Harden workflow/package steps: pin exact versions, add --ignore-scripts/--only-binary, use lockfile-enforcing install commands. Where a step comes from a shared .github reusable, fix it at the source so callers inherit.

Acceptance

  • All listed SonarCloud findings for this repo/workstream resolved to zero
  • No behavior change; existing tests/CI green
  • Fixes are real (no blanket NOSONAR unless a confirmed false positive, noted inline)

Filed from the 2026-07-03 org SonarCloud review.

Metadata

Metadata

Assignees

No one assigned

    Labels

    dev-leadFor dev-lead agent pickupdev-lead:needs-humandev-lead could not complete this issue; needs human attentionenhancementFeature requestssecuritySecurity-related PRs and issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions