Workflows do not declare least-privilege token permissions
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by reviewing every workflow under .github/workflows and identify the permissions needed by each top-level or job-level workflow. Confirm the GITHUB_TOKEN scope for push-triggered jobs, then verify that explicit least-privilege permissions are declared and the workflows still pass their existing checks.
Written by the indexing model from the issue text.
Description
Steps to reproduce
- Open the workflow files under .github/workflows.
- Check for a top-level or job-level permissions declaration.
- Inspect the token available to push-triggered jobs.
Actual result
The workflows inherit the repository or organization default GITHUB_TOKEN scope. This makes the authority of the CI jobs implicit and can grant unnecessary write capabilities.
Expected result
Declare explicit least-privilege permissions, defaulting to read-only access.
Evidence
The workflow files contain no permissions block.
- Dominant language
- Java
- Stars
- 5
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from objectionary/eo-http
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
objectionary/eo-http#60 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
objectionary/eo-http#57 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
objectionary/eo-http#56 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
objectionary/eo-http#52 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
objectionary/eo-http#49 ·
All issues in objectionary/eo-http
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
infinispan/infinispan#18150 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
opensearch-project/k-NN#3597 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 82/100