Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

OSPS-AC-02.01 checks allow_forking, which does not measure collaborator permission defaults

Open
#513 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
45/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
github, python
Domain
security

Research direction

Find the OSPS-AC-02.01 control and inspect its check, name, help text, and remediation references to allow_forking. First decide how the control should handle organization-owned versus user-owned repositories, as the issue says this needs a decision; for organization repositories, assess default_repository_permission from GET /orgs/{org}. Done means the control evaluates the stated collaborator-permission requirement and its name, help text, and remediation match.

Written by the indexing model from the issue text.

Description

module-baseline

OSPS-AC-02.01 (Maturity Level 1-3) reads:

When a new collaborator is added, the version control system MUST require manual permission assignment, or restrict the collaborator permissions to the lowest available privileges by default.

The control is named AllowForking and concludes PASS on gh api /repos/{owner}/{repo} -> allow_forking == true. Whether forking is allowed has nothing to do with the permissions a new collaborator receives, so this PASS is unrelated to the requirement.

Suggested direction:

  • for organization-owned repositories, the org's default_repository_permission (GET /orgs/{org}, visible to org owners) is closer: read or none satisfies the requirement;
  • for user-owned repositories GitHub requires choosing a permission when inviting a collaborator, which arguably satisfies "manual permission assignment"; that needs a decision rather than a check;
  • update the control's name, help text and remediation (which also reference allow_forking).
Dominant language
Python
Stars
22
Forks
27
Avg merge
1d 20h
Merged PRs (30d)
39

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from darnitdevorg/darnit

All issues in darnitdevorg/darnit

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.