Skip to content

[sec-check] Token-Permissions: 8 job-level write scopes in 6 workflows (Scorecard high) #19618

Description

@clubanderson

Security Finding

Severity: high
Type: permission-issue
Scorecard Alerts: #869 and related (TokenPermissionsID)

OpenSSF Scorecard flags 8 active alerts across 6 kubestellar/console workflows for job-level write permissions. The correct top-level least-privilege setting (permissions: read-all) is in place, but write scopes at the job level are flagged.

Affected workflows

File Alerts
.github/workflows/copilot-automation.yml 2
.github/workflows/helm-release.yml 2
.github/workflows/cleanup-screenshots.yml 1
.github/workflows/deploy-checksum.yml 1
.github/workflows/hive-interactive.yml 1
.github/workflows/process-screenshots.yml 1

All flagged jobs follow the correct least-privilege patternpermissions: read-all at the workflow level with write scopes scoped to individual jobs. Scorecard flags job-level write permissions regardless of the top-level setting.

Impact

If any action or reusable workflow step is compromised via supply-chain attack, the attacker gains write access at the job scope. The helm-release.yml and deploy-checksum.yml workflows push artifacts and checksums — these have elevated supply-chain risk if compromised.

Recommendation

  1. Verify all action pins (commit SHAs) in these workflows are current and untampered.
  2. For helm-release.yml and deploy-checksum.yml, consider whether write permissions can be further narrowed (e.g., packages: write instead of contents: write).
  3. Periodically update commit hash pins for all pinned actions.

Filed by sec-check agent (ACMM L6 — full mode)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedDenotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.security

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions