This project is an Enterprise Security Management Hub designed for desktop application ecosystems. It acts as a centralized command center that orchestrates the Secure Deployment, Integrity Verification, and Lifecycle Management of multiple external applications (e.g., Security Scanners, Engine Monitors).
By adopting a Zero-Trust Architecture, the Hub ensures that no managed software is updated or executed without valid cryptographic proof from the authorized developer.
- Multi-App Orchestration: Manage and track multiple applications simultaneously with independent versioning and workspaces.
- Zero-Trust Security: Every update is verified using Ed25519 Detached Signatures before the manifest is even parsed.
- Delta Patching (bsdiff4): Minimizes bandwidth usage by only downloading the binary differences between versions.
- Post-Patch Integrity: Automated SHA-256 validation ensures the final reconstructed binary is bit-perfect and untampered.
- Atomic Installation: Safe file-swapping and automated restart flow for all managed applications.
- Replay & Downgrade Protection: Integrated TTL (Time-To-Live) and Version-Strict comparisons.
- Modern Security Dashboard: A dark-mode GUI providing real-time visual feedback and security animations.
The system consists of three independent layers:
- Developer CLI (Publisher): Signs releases and generates binary delta patches for the entire ecosystem.
- Update Server (FastAPI): A passive host for signed manifests and binary assets.
- Management Hub (The Dashboard): The "local sentinel" that monitors, verifies, and performs the updates for all managed tools.
# Install server dependencies
pip install -r server/requirements.txt
# Install client/hub dependencies
pip install -r client/requirements.txt# A. Generate Security Keys (Private stays on server, Public goes to client)
python server/generate_keys.py
# B. Publish Updates for all Apps (Scanner, Monitor, etc.)
python server/publisher.py
# C. Start the Update Host
python -m uvicorn server.main:app --reload --port 8000python client/app.pyClick "SECURE UPDATE" on any managed app to see the visual security pipeline in action.
# Run security and logic unit tests
python -m pytest tests/test_system.py
# Run full end-to-end integration test
python tests/test_integration.py- Open
server/static/security_scanner/manifest.json. - Modify a single character in the version number.
- Attempt an update in the Hub.
- Result: The Hub will detect the signature breach, flash RED, and block the installation.
For a deep dive into the threat model and cryptographic design, see SECURITY.md.