Catalog/Shell-GPT

Config & secrets

Shell-GPT

Shell-GPT keeps its OpenAI API key and settings in ~/.config/shell_gpt/.sgptrc (chat history caches to a temp dir, not $HOME).

TheR1D Linux · macOS · Windows plaintext

Exposure

High
Stores found
1
Holds
API keys
Confidence
likely

Where it writes

1 store in the current signature database. Paths shown for a typical macOS install.

Config & secrets high

plaintext may hold API keys

  • all OSes ~/.config/shell_gpt/.sgptrc

Shell-GPT keeps its OpenAI API key and settings in ~/.config/shell_gpt/.sgptrc (chat history caches to a temp dir, not $HOME).

  • Restrict permissions on ~/.config/shell_gpt/.sgptrc and keep it off cloud sync.

Source: github.com

What to do about it

PromptDust flags these stores and leaves them in place; cleanup is your call. If a store holds a live secret, rotate the secret first, since deleting the file won’t un-leak a key that already sat in plain text.

For ongoing work, keep sensitive material out of sessions where you can, and prune old transcripts and caches now and then.

This describes where Shell-GPT stores data. Metadata only, never your content. Confidence: likely. Spot a mistake? Tell us.

See if this one’s on your machine.

One pass finds every store, for this tool and the other 51.