Add help note about suppressing output when inputting secrets#49
Open
EricKarschner37 wants to merge 1 commit into
Open
Add help note about suppressing output when inputting secrets#49EricKarschner37 wants to merge 1 commit into
EricKarschner37 wants to merge 1 commit into
Conversation
When using `rodney input` to fill a field with a value from a keychain or credential store, the secret can leak into shell tool output. Add a short note to help.txt (embedded in --help) advising users to redirect stdout/stderr to /dev/null. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
alex-pezarro-portswigger
added a commit
to alex-pezarro-portswigger/rodney
that referenced
this pull request
Apr 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
--helptext (inhelp.txt) advising users to redirect output to/dev/nullwhen usingrodney inputwith secrets from a keychain or credential storeThis is especially relevant for LLM coding agents that use
rodney inputto fill password fields — without the redirect, the secret value gets captured in shell tool output and leaked into the conversation context.Purpose
To use rodney to test changes to systems behind interactive authentication, and allow the human to stay out of the loop, it can be important to allow an agent to authenticate on its own. We can use keychain tools like
securityto effect this, but it then becomes important to ensure that password doesn't get leaked into context.Example
🤖 Generated with Claude Code