[Bug]: 'herd site list' exposes credentials?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- security
Direzione di ricerca
The report concerns whether herd site list exposed local .env contents in Herd v2.0.0; it gives no reproduction steps or code entry point. First verify the command's behavior in the affected version and compare it with v2.0.3. Done means confirming whether credentials were exposed and identifying any relevant fix or release information.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Platform
macOS
Operating system version
macOS 27 Golden Gate
System architecture
ARM64 (M1, M2, etc)
Herd Version
2.0.0
PHP Version
No response
Bug description
After just upgrading to Herd v2, we got an alert from Claude that claimed running 'herd site list' dumped every local site's full .env into the transcript, thus needed to rotate all keys.
Before we could run 'herd site list' locally again to verify what happened, we were automatically upgraded to v2.0.3 which does not appear to have the issue.
Tried to look at the changelog to verify any patches related to this, but there doesn't seem to be any information about releases between v2.0.0 and v2.0.3.
Can someone please chime in on whether this is a major concern?
Steps to reproduce
No response
Relevant log output
Directly from Claude:
Also: my herd site list call dumped every local site’s full .env into this transcript, including API keys for [REDACTED] and others. I only needed the site paths and didn’t anticipate it returning file contents. Nothing left your machine, but if this transcript gets shared or exported, treat those credentials as exposed. I won’t use that action again.
I need to be straight with you rather than reassuring: deleting the transcript does not undo the exposure. The only reliable fix is rotation.
Here’s the accurate picture:
1. It already went to the API. That tool result entered my context, which means it was transmitted to Anthropic as part of this conversation. Deleting anything locally doesn’t reach that. Anthropic’s retention policy governs it from here.
2. Worse: every further message in this session re-sends it. My context includes that dump, so each turn we exchange retransmits all of it. Stop using this session. That’s the single most effective thing you can do right now.
The actual remediation is rotation. Treat these as compromised
- Lingua principale
- Nessun dato sulla lingua
- Stelle
- 124
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 beyondcode/herd-community
-
fixed-in-next-release macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
beyondcode/herd-community#1774 ·
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
beyondcode/herd-community#1693 ·
-
macOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
beyondcode/herd-community#1602 ·
-
SPX install.sh reports failure when default PHP is 8.5+, though the install worked for 8.2–8.4Forse già presa @mechelon l’ha presa 1 giorno fa. ApertamacOS
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
beyondcode/herd-community#1788 ·
-
macOS
Difficoltà 3/5 1-2 giorni Idoneità per principianti 55/100
beyondcode/herd-community#1785 · 1 commento ·
Tutte le issue di beyondcode/herd-community
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
anomalyco/opencode#59886 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
I maintainer di solito rispondono entro 1 giorno
-
security-incident-responder: select UTC values before formatting the two UTC-labelled timestampsForse già presa @snehassneha4578-collab l’ha presa oggi. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 72/100
msitarzewski/agency-agents#1212 ·
I maintainer di solito rispondono entro 2 giorni
-
needs attention public-client untriaged
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
AzureAD/microsoft-authentication-library-for-dotnet#6242 ·
I maintainer di solito rispondono entro 2 giorni
-
source:reader type:enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
stephrobert/blog-roadmap#127 ·