Hacktoberfest 2026 : les issues que les mainteneurs ont marquées pour octobre, ouvertes et accessibles aux débutants. Parcourir les issues Hacktoberfest

fix(disk-hygiene): check ownership of the no-interpreter notice marker before trusting it

Fermée
#6,350 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

@kyle-sexton y travaille déjà.

Depuis le 11/10/2026.

  • #7187 par @kyle-sexton — ouverte

Évaluation

Difficulté
3/5
Temps estimé
1-2 jours
Accessibilité débutants
52/100
Type d'issue
Bug
Clarté
Clairement spécifiée
Activité
Active
Stack technique
shell
Domaine
security, tooling

Piste de recherche

Locate the disk-hygiene code that latches the once-per-session no-interpreter notice via ${TMPDIR:-/tmp}/disk-hygiene-guard-no-interpreter/ (including the extra reader added for the Stop monitor). Before trusting or writing that marker, verify the path is a directory owned by the current user and is not a symlink; otherwise treat the notice as not yet shown. The guard must still fail closed. Confirm with the related #6225/#6311 hygiene paths that another user cannot silence the notice by pre-creating the directory or a symlink.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

area: security needs-triage priority: low

Problem

When no Python interpreter is found, disk-hygiene latches its once-per-session notice through a fallback marker directory, ${TMPDIR:-/tmp}/disk-hygiene-guard-no-interpreter/. Another local user can pre-create that directory, or a symlink in its place, and silence the notice for every session. It cannot turn a deny into an allow: the guard still fails closed. The exposure predates #6225; the #6225 disk-hygiene PR (#6311) adds one more reader of the marker (the Stop monitor).

Found by the security review on #6311 (P5).

Expected

Before trusting or writing the marker, check that the directory is owned by the current user and is not a symlink. Otherwise, treat the notice as not yet shown.

Related

#6225, #6311.

Langage dominant
Shell
Étoiles
22
Forks
2
Merge moyen
8 h 34 min
PR mergées (30 j)
946

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de melodic-software/claude-code-plugins

Toutes les issues de melodic-software/claude-code-plugins

Issues similaires

Plus d'issues Shell/Bash

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.