Dosu LogoDosu Logo
Ask
Join our Discord
Organization avatar
CipherSwarmPublic
EvilBit Labs LLC
Documents
Agent Architecture Specifications
CipherSwarm Project Specification and Phase Organization
diagrams
Agent Configuration Management
Agent Client Configuration Flags
Agent Installation Guide
Airgapped Network Deployment Tutorial
api-reference-agent-auth
configuration
Agent Core Orchestration
configuration
diagrams
Basic Usage
air-gapped-deployment
CipherSwarm API Client Integration
api-reference-agent-auth
Client Setup and Configuration
Agent Client Configuration Flags
Agent Installation Guide
air-gapped-deployment
Airgapped Network Deployment Tutorial
Development
Authorization and List Deletion Permissions
CipherSwarm Project Documentation Structure
CipherSwarm Project Specification and Phase Organization
CipherSwarm V2 Development Workflow
GitHub Actions and Dependency Management
Rails 8 Upgrade and Migration
Security and Performance Enhancements
Testing Strategy and Documentation
Testing Strategy and Framework
Distributed Task Management
api-reference-agent-auth
diagrams
Task_Management_Actions
Enhanced Task Monitoring Specification
Agent_Monitoring_&_Real-Time_Updates
Error Handling and Logging Framework
Testing Strategy and Documentation
Testing Strategy and Framework
GitHub Issue Templates
GitHub Issue and Pull Request Templates
Progress and Status Reporting
Agent_Monitoring_&_Real-Time_Updates
Task_Management_Actions
UI_Components_&_Loading_States
Rails User Interface Development
Task_Management_Actions
UI_Components_&_Loading_States
Server Administration
air-gapped-deployment
Server Installation
air-gapped-deployment
Airgapped Network Deployment Tutorial
Installation guide
Testing and Validation Suite
developer-guide
CONTRIBUTING
Campaign_Progress_&_ETA_Display
Core_Flows__Operational_Monitoring_&_User_Experience
Database_Schema_&_Model_Extensions
Epic_Brief__CipherSwarm_V2_Operational_Excellence
Integration_Testing_&_Quality_Assurance
Production_Deployment_&_Monitoring
README
README
Structured_Logging_&_Error_Handling
System_Health_Monitoring
Tech_Plan__Operational_Excellence_Implementation
User_Guide_Documentation
advanced_task_scheduler
agent
agent-api-complete-reference
agent-server-collaboration-vision
agent-setup
agent_notes
agent_sync_extensions
agent_v1_contract_violations
air-gapped-deployment
allow_hybrid_hash_lists
attack
attack-configuration
attack_notes
authentication_cleanup
brute_force_attack_editor
campaign-management
campaign_list_view
campaign_notes
campaign_priority_system
campaigns
common-issues
core_algorithm_implementation_guide
crackable_uploads_plan
dashboard-ux
default_config_suggestions
faq
full_testing_architecture
getting-started
hard_password_attack_strategies
health_status_screen
implementation_plan
installation
learned_rules_parser_plan
logging-guide
markov_autogen_plan
new_dictionary_attack_editor
new_mask_attack_editor
optimization
phase-1-core-infrastructure
phase-2-api-implementation
phase-2-api-implementation-part-1
phase-2-api-implementation-part-2
phase-2-api-implementation-part-3
phase-2b-resource-management
phase-2c-refactor-cleanup
phase-3-e2e-test-coverage-plan
phase-3-step-1
phase-3-step-2
phase-3-step-3
phase-3-step-4
phase-3-step-5
phase-3-web-ui-foundation
phase-4-containerization-deployment
phase-5-task-distribution
phase-6-monitoring-testing-documentation
playwright-manual-flows
previous_password_dictionary_attack_editor
production-load-balancing
project_structure
psycopg_migration
quick-reference
quick-start
resource-management
rule_explanation
salvage_templates
spa_to_ssr
style-guide
summary
system-tests-guide
test-failures-investigation
testcontainers_minio_support
troubleshooting
troubleshooting-agents
understanding-results
usage
user_flows_notes
v2-upgrade-overview
v2_agent_api_removal
web-interface
DocumentsCipherSwarm
implementation_plan
implementation_plan
Type
External
Status
Published
Created
Feb 27, 2026
Updated
Feb 27, 2026
Source
docs/v2_rewrite_implementation_plan/implementation_plan.md

CipherSwarm Implementation Plan#

This document outlines the phased implementation plan for rebuilding CipherSwarm with FastAPI, SvelteKit, and modern backend architecture. Each phase builds upon the last and ensures a modular, testable, and maintainable system.


Table of Contents#

  • CipherSwarm Implementation Plan
    • Table of Contents
    • Implementation Phases
      • Phase 1: Core Infrastructure (Completed)
      • Phase 2: API Implementation (In Progress)
      • Phase 2b: Resource Management (Completed)
      • Phase 3: Web UI Development
      • Phase 4: Containerization and Deployment
      • Phase 5: Task Distribution System
      • Phase 6: Monitoring, Testing and Documentation
      • Phase 7: TUI Development
    • Notes

Implementation Phases#

Phase 1: Core Infrastructure (Completed)#

  • ๐Ÿ‘ค User Model
  • ๐Ÿ“ Project Model
  • ๐Ÿง  OperatingSystem Model
  • ๐Ÿค– Agent Model
  • โš ๏ธ AgentError Model
  • ๐Ÿ’ฅ Attack Model
  • ๐Ÿงพ Task Model

๐Ÿ‘‰ Read Phase 1: Core Infrastructure Setup

Phase 2: API Implementation (In Progress)#

  • ๐Ÿ” Agent API (High Priority)
    • Agent Authentication & Session Management
    • Attack Distribution
  • ๐Ÿง  Web UI API
    • Campaign Management
    • Attack Management
    • Agent Management
    • Resource Browser
    • Hash List Management
    • Crackable Uploads
    • Authentication & Profile
    • UX Utility
    • Live Event Feeds (SSE)
  • โŒจ๏ธ Control API - In Progress

Phase 2 was completed with comprehensive Web UI, including:

  • Web UI API (/api/v1/web/*): Complete REST API supporting the SvelteKit frontend with authentication, campaign/attack management, agent monitoring, resource handling, hash list management, and real-time SSE event feeds
  • Supporting Infrastructure: Hash guessing service, keyspace estimation algorithms, caching layer, and comprehensive validation
  • Advanced Features: Ephemeral resources, attack templates, crackable file uploads, and live event broadcasting

๐Ÿ‘‰ Read Phase 2: API Implementation

Phase 2b: Resource Management (Completed)#

  • Add minio-py support to project
  • Add MinioContainer testcontainers support for integration tests
  • Add StorageService to handle MinIO operations
  • Migrate resource_service to use StorageService
  • Develop full suite of tests for StorageService
  • Develop full suite of tests for resource_service
  • Finalize Resource Management API and implement all endpoints

Phase 2b was fully completed and tested, allowing file-backed resources to be supported via the MinIO object storage.

๐Ÿ‘‰ Read Phase 2b: Resource Management

Phase 3: Web UI Development#

๐Ÿ‘‰ Read Phase 3: Web UI Development

Phase 4: Containerization and Deployment#

๐Ÿ‘‰ Read Phase 4: Containerization and Deployment

Phase 5: Task Distribution System#

๐Ÿ‘‰ Read Phase 5: Task Distribution System

Phase 6: Monitoring, Testing and Documentation#

๐Ÿ‘‰ Read Phase 6: Monitoring, Testing, Documentation

Phase 7: TUI Development#

๐Ÿ‘‰ Read Phase 7: TUI Development


Notes#

  • Much of this implementation plan is written with Python terms and references. Use these as references to help with the implementation, but the implementation is written in Ruby.
  • Core Algorithm Implementation Guide
  • Phase 4 was moved up to phase 2b to allow for the resource management to be completed before the web UI is fully implemented. There's currently a TODO to reshuffle the phases to reflect this, but just move to 5 after 3 is completed.
  • As items in the various phases are completed, they are rolled up and added to this overview document.