fix(disk-hygiene): check ownership of the no-interpreter notice marker before trusting it
I maintainer di solito rispondono entro 1 giorno
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Shell
- Stelle
- 22
- Fork
- 2
- Merge medio
- 7h 8m
- PR unite (30g)
- 874
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di melodic-software/claude-code-plugins
-
needs-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
melodic-software/claude-code-plugins#8405 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
melodic-software/claude-code-plugins#8374 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
needs-human priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
melodic-software/claude-code-plugins#8366 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
priority: medium
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
melodic-software/claude-code-plugins#8341 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
melodic-software/claude-code-plugins#8338 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di melodic-software/claude-code-plugins
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
CachyOS/cachyos-hooks#23 ·
-
area/cli good first issue size/S type/feature
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
lorica-labs/volant#549 ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 84/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
wazuh/wazuh-installation-assistant#1147 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100