Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

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

Aperta
#513 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
github, python
Ambito
security

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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).
Lingua principale
Python
Stelle
22
Fork
27
Merge medio
1g 20h
PR unite (30g)
39

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di darnitdevorg/darnit

Tutte le issue di darnitdevorg/darnit

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.