Skip to content

Fix/world readable history#25

Merged
jordansmith-svg merged 3 commits into
masterfrom
fix/world_readable_history
Jul 22, 2026
Merged

Fix/world readable history#25
jordansmith-svg merged 3 commits into
masterfrom
fix/world_readable_history

Conversation

@jordansmith-svg

Copy link
Copy Markdown
Contributor

Currently when using the REPL history is stored as 0o644, which is world readable.
Unfortunately users can also specify secrets while using the REPL which could get extracted by an attacker on the local machine.

Changes:

  • History file is now 0o600
  • Any history line with --api-secret or --api-secret= is no longer recorded

@jordansmith-svg
jordansmith-svg merged commit 4b55e99 into master Jul 22, 2026
6 checks passed
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.

3 participants