GitHub Actions / dependency supply-chain hardening
SonarCloud open findings in petry-projects/.github — 13 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
Filed from the 2026-07-03 org SonarCloud review.
GitHub Actions / dependency supply-chain hardening
SonarCloud open findings in
petry-projects/.github— 13 issue(s) grouped as one workstream. Part of the org SonarCloud tuning initiative #593.Findings
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.githubreusable, fix it at the source so callers inherit.Acceptance
NOSONARunless a confirmed false positive, noted inline)Filed from the 2026-07-03 org SonarCloud review.