Commit graph

2 commits

Author SHA1 Message Date
ggq-admin
4c75bf5713 security: Implement critical safeguards before public release
- Add .gitignore to prevent secret leakage
- Implement YOLO guard with double-confirmation flow
  * Environment variable gate (YOLO_MODE=1)
  * Typed confirmation phrase + one-time code
  * Time-limited approval tokens (5 min TTL)
  * Single-use tokens with audit logging
- Add rate limiting (10/min, 100/hour, 500/day)
  * Token bucket implementation
  * Per-session tracking
  * Automatic bucket reset
- Integrate safeguards into existing code
  * Rate limiter in SecureBridge.send_message()
  * YOLO guard in YOLOMode.execute_command()
  * Dry-run mode by default
- Add security test suite
  * .gitignore validation
  * YOLO guard functional tests
  * Rate limiter verification
  * Integration checks

All security measures tested and verified.
No secrets found in git history.
2025-10-27 00:50:18 +01:00
ggq-admin
0207e8091e Initial commit: Claude Code Bridge
Secure bridge for executing Claude Code commands remotely via Telegram or API.

Features:
- Secure token-based authentication
- Rate limiting and quota management
- Telegram integration
- YOLO mode for rapid iteration
- Comprehensive test suite

Files:
- claude_bridge_secure.py - Main bridge implementation
- bridge_cli.py - CLI interface
- yolo_mode.py - Rapid iteration mode
- test_bridge.py - Test suite
- demo_standalone.py - Standalone demo

Author: Danny Stocker (with Claude Code)
Date: 2025-10-26
2025-10-27 00:01:05 +01:00