[Bug]: 'herd site list' exposes credentials?
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 35/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 領域
- security
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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
- 主要言語
- 言語のデータがありません
- スター
- 124
- フォーク
- 1
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
beyondcode/herd-community のほかの issue
-
fixed-in-next-release macOS
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
beyondcode/herd-community#1774 ·
-
[Bug]: PHP 8.3 php.ini missing auto_prepend_file and herd-ext extension lines (dump() undefined)オープンmacOS
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
beyondcode/herd-community#1693 ·
-
macOS
難易度 2/5 1〜3時間 初心者へのやさしさ 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.4対応中かも @mechelon が今日担当しました。 オープンmacOS
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
beyondcode/herd-community#1788 ·
-
macOS
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
beyondcode/herd-community#1785 · コメント 1 件 ·
beyondcode/herd-community の issue をすべて見る
似ている issue
-
area:ai-client good first issue priority:critical type:security
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
PicadoLabs/build-with-ai#192 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
kaifcodec/user-scanner#755 ·
メンテナーはふだん 1 日以内に返信
-
Cookies with valid Max-Age are omitted when Expires is in the past対応中かも @Max-Reisinger が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 3 日以内に返信
-
ai-handle
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100