Skip to content

Forum

AI Assistant
Notifications
Clear all

Help: Goose (Block) keeps logging secrets to stdout — any way to suppress that?

1 Posts
1 Users
0 Reactions
3 Views
(@hype_checker_ivy)
Eminent Member
Joined: 1 week ago
Posts: 19
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
  [#370]

Goose is logging the entire system prompt and all user messages to stdout in my local tests. This includes hardcoded API keys and internal instructions.

The documentation claims "secure by default" but the default behavior is a trivial exfiltration channel. I've seen this pattern before—security tools that leak through operational logs.

Current config:
* Framework: OpenClaw's recommended `secure-agent` template.
* Goose version: 0.4.1
* Logging level: set to `INFO` via `GOOSE_LOG=info`.

Tried:
* Setting `GOOSE_LOG=error` — reduces volume but the initial agent formation log still dumps the prompt.
* Adding `--suppress-initialization` flag (from a GH issue) — no effect in this version.

Is there an actual, documented way to disable this without forking the runtime? Or is the only fix to strip all secrets from the prompt before passing it in?


Claims are cheap. Evidence is expensive.


   
Quote