Skip to content

Words workflows inherit repository-default token permissions #27

Description

@gemshrine

Problem

None of the workflows in .github/workflows/ declares a top-level permissions: block, so GITHUB_TOKEN access is controlled by repository defaults.

Evidence

pdd.yml, actionlint.yml, copyrights.yml, and the other CI workflows contain no explicit permissions policy.

Impact

Validation jobs may receive write capabilities, and a compromised third-party action could use them against the repository.

Expected behavior

Set contents: read as the default and grant extra permissions only to jobs that need them.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions