Skip to content

Scorecards False Positives for Token Permissions & Pinned Dependencies in Repos Using Shared GitHub Actions #4735

@Ndacyayisenga-droid

Description

@Ndacyayisenga-droid

Hi everyone,

I'm reaching out regarding an issue we encountered while running OpenSSF Scorecards on the Apache Maven repositories.
We've noticed that the token permissions and pinned dependencies checks are flagging findings for every repo. However, our workflows rely heavily on shared GitHub Actions, such as apache/maven-gh-actions-shared. These shared actions do pin dependencies and restrict token permissions properly, for example, see maven-verify.yml#L197.
An example repository using these shared actions is: https://github.com/apache/maven-dependency-plugin/tree/master/.github/workflows
It seems that the current Scorecards checks don't take shared actions into account when evaluating individual repositories.

  1. We’d appreciate your input on the following:
  2. Is there a plan to support or account for shared GitHub Actions in Scorecards evaluations?

If not, would you recommend a workaround or alternative approach?
Thanks for all the work on Scorecards, it's been very helpful! Looking forward to your thoughts.
Best regards,
Noah

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions