Mining/cmd/mining/cmd
snider 4072bdaf0d fix: Address 16 security findings from parallel code review
Critical fixes (6):
- CRIT-001/002: Add safeKeyPrefix() to prevent panic on short public keys
- CRIT-003/004: Add sync.Once pattern for thread-safe singleton initialization
- CRIT-005: Harden console ANSI parser with length limits and stricter validation
- CRIT-006: Add client-side input validation for profile creation

High priority fixes (10):
- HIGH-001: Add secondary timeout in TTMiner to prevent goroutine leak
- HIGH-002: Verify atomic flag prevents timeout middleware race
- HIGH-004: Add LimitReader (100MB) to prevent decompression bombs
- HIGH-005: Add Lines parameter validation (max 10000) in worker
- HIGH-006: Add TLS 1.2+ config with secure cipher suites
- HIGH-007: Add pool URL format and wallet length validation
- HIGH-008: Add SIGHUP handling and force cleanup on Stop() failure
- HIGH-009: Add WebSocket message size limit and event type validation
- HIGH-010: Refactor to use takeUntil(destroy$) for observable cleanup
- HIGH-011: Add sanitizeErrorDetails() with debug mode control

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-31 17:44:49 +00:00
..
doctor.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
install.go feat: Enhance mining configuration management and API documentation 2025-12-07 16:26:18 +00:00
list.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00
node.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
peer.go feat: Add multi-node P2P mining management system 2025-12-29 19:49:33 +00:00
remote.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
root.go feat: Add WebSocket events, simulation mode, and redesigned Miners page 2025-12-31 07:11:41 +00:00
serve.go fix: Address 16 security findings from parallel code review 2025-12-31 17:44:49 +00:00
simulate.go feat: Add rate limiter with cleanup and custom error types 2025-12-31 10:56:26 +00:00
start.go feat: Add rate limiter with cleanup and custom error types 2025-12-31 10:56:26 +00:00
status.go fix: Address race conditions and network blocking issues 2025-12-31 01:55:24 +00:00
stop.go feat: Add rate limiter with cleanup and custom error types 2025-12-31 10:56:26 +00:00
uninstall.go feat: Add rate limiter with cleanup and custom error types 2025-12-31 10:56:26 +00:00
update.go adds miner-cli, a miner management and lifecycle tool 2025-11-09 01:02:31 +00:00