Skip to content

Fix typo, password exposure, version check error handling, and UX improvements#110

Open
JoshSalway wants to merge 1 commit intolaravel:masterfrom
JoshSalway:fix/high-medium-bugs
Open

Fix typo, password exposure, version check error handling, and UX improvements#110
JoshSalway wants to merge 1 commit intolaravel:masterfrom
JoshSalway:fix/high-medium-bugs

Conversation

@JoshSalway
Copy link

@JoshSalway JoshSalway commented Mar 17, 2026

Fixes #112, #113, #114, #115, #116

Note: This PR bundles multiple independent fixes. Consider splitting into separate PRs per issue for easier review.

Summary

Security

Bug fixes

UX

Test plan

  • Verify database:shell connects without exposing password in ps aux
  • Verify CLI works normally when Packagist is unreachable (graceful degradation)
  • Verify daemon restart shows correct error message (no typo)
  • Verify daemon:restart 123 and daemon:logs 123 use the argument without prompting
  • Verify logout asks for confirmation before clearing config

🤖 Generated with Claude Code

- Fix "deamon" typo in DaemonRestartCommand error message (fixes #6)
- Use MYSQL_PWD env var instead of -p flag to avoid password exposure (fixes #7)
- Add try-catch and timeout to version check file_get_contents (fixes #8)
- Use daemon argument when provided instead of always prompting (fixes #9)
- Add confirmation prompt before logout flushes config (fixes #10)
- Move file existence check before confirmation in EnvPushCommand (fixes #11)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.

Password exposed in process list when using database:shell command

1 participant