Skip to content

Add help note about suppressing output when inputting secrets#49

Open
EricKarschner37 wants to merge 1 commit into
simonw:mainfrom
EricKarschner37:help-secret-suppression-note
Open

Add help note about suppressing output when inputting secrets#49
EricKarschner37 wants to merge 1 commit into
simonw:mainfrom
EricKarschner37:help-secret-suppression-note

Conversation

@EricKarschner37
Copy link
Copy Markdown

@EricKarschner37 EricKarschner37 commented Apr 3, 2026

Summary

  • Adds a short note to the --help text (in help.txt) advising users to redirect output to /dev/null when using rodney input with secrets from a keychain or credential store

This is especially relevant for LLM coding agents that use rodney input to 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 security to effect this, but it then becomes important to ensure that password doesn't get leaked into context.

Example

# Secret stays hidden
rodney input '#password' "$(security find-generic-password -w ...)" > /dev/null 2>&1

🤖 Generated with Claude Code

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant