Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

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

Abierto
#513 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
45/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
github, python
Área
security

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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).
Lenguaje dominante
Python
Estrellas
22
Forks
27
Merge medio
1 d 19 h
PR fusionados (30 d)
39

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de darnitdevorg/darnit

Todos los issues de darnitdevorg/darnit

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.