Build the SSH hardening and key registry module
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- bash, linux, powershell
- Área
- security
Línea de trabajo
Start from branch phase-4/ssh and read spec design 04 section 4. Create module lockout.ssh in phases/lockout/modules/ssh/ implementing the key registry and sshd drop-in hardening. Write the bats and Pester acceptance tests listed in the issue first; 'done' means all those tests pass and sshd -T shows Labyrinth's settings.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Location & Context
Roadmap branch phase-4/ssh. Spec: design 04 section 4. Planned module ID: lockout.ssh, in phases/lockout/modules/ssh/.
Current Behavior
Remote admin is not hardened and there is no registry of allowed SSH keys, so an attacker's planted key or a root-login override stays in effect.
Remediation Plan
- Build the key registry: unregistered keys are removed and backed up; registered keys stay.
- Harden
sshdthrough a drop-in; test syntax before any reload. - Quarantine planted drop-ins that allow root login, and
Matchblocks, sosshd -Tshows Labyrinth's settings. - Keep password login for
scored-adminaccounts where SSH is scored. - Write these acceptance tests first (bats and Pester):
- An unregistered key is removed and backed up; a registered key stays.
- A key with a wrong source address cannot log in.
- A bad
sshdconfiguration is rejected by the syntax test and does not reload. - A dead-man revert restores SSH access when verify is failed on purpose.
- A planted
00-x.confallowing root login is quarantined. - Where SSH is scored, a
scored-adminaccount still logs in with its password and an unlisted admin account cannot use a password. - An unregistered key removed in a run that is not kept stays removed after the timer fires;
rollback <run> --allputs it back. - A negative test: protected accounts and scored services are untouched before and after.
- Lenguaje dominante
- PowerShell
- Estrellas
- 0
- Forks
- 0
- Merge medio
- 54 min
- PR fusionados (30 d)
- 43
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de dotnetdork/Labyrinth
-
area: tests-ci type: feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
dotnetdork/Labyrinth#128 ·
Los mantenedores suelen responder en 1 día
-
area: command-line platform: linux platform: windows type: docs
Dificultad 4/5 3-5 días Aptitud para principiantes 70/100
dotnetdork/Labyrinth#125 ·
Los mantenedores suelen responder en 1 día
-
area: tests-ci platform: windows type: build
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
dotnetdork/Labyrinth#124 ·
Los mantenedores suelen responder en 1 día
-
area: command-line platform: linux platform: windows type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 70/100
dotnetdork/Labyrinth#121 ·
Los mantenedores suelen responder en 1 día
-
area: command-line platform: linux platform: windows type: feature
Dificultad 4/5 3-5 días Aptitud para principiantes 70/100
dotnetdork/Labyrinth#120 ·
Los mantenedores suelen responder en 1 día
Todos los issues de dotnetdork/Labyrinth
Issues similares
-
docker infra P1 security size:S
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
josephfung/curia#2408 ·
Los mantenedores suelen responder en 1 día
-
Missing ACL in OpenWRT v25.12.6Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
storytold/craft-libs#477 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
shareAI-lab/learn-claude-code#608 ·
Los mantenedores suelen responder en 8 días
-
security
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Waschndolos/open-clubmanager#185 ·
Los mantenedores suelen responder en 1 día