Skip to content

Epic: Core Data Flow — Hash Cracking Pipeline, Result Tracking & Agent Integration #117

@unclesp1d3r

Description

@unclesp1d3r

Overview

This epic tracks the foundational end-to-end data flow of the HashHive platform: the path by which agents acquire work, execute attacks, submit crack results, and propagate those results back through the system. Without this pipeline, the platform cannot track progress, distribute results, or provide any meaningful operational feedback.

This is a CipherSwarm parity epic derived from gap analysis. All P0 issues here are blockers for core platform functionality.


Scope

This epic covers:

  1. Agent Prerequisites — Benchmarking and cracker binary management that gate agents from being fully operational
  2. Attack Prerequisites — Reusable attack templates required before campaigns can be configured efficiently
  3. Hash Result Pipeline — The core crack submission, status reporting, and zap (deduplication) system
  4. Hash Data Operations — Extensions of the result pipeline: ETA calculation, attack complexity, SuperHashlists, export/import

Child Issues

P0 — Core Parity Blockers

Issue Title Labels Story Points
#93 [P0] Agent Benchmarking & Performance Profiling System backend, agent-management SP:8
#94 [P0] Cracker Binary Management & Agent Auto-Update backend, agent-management SP:5
#95 [P0] Attack Templates — Reusable Attack Definitions campaign-management SP:5
#98 [P0] Hash Item Storage, Crack Result Tracking & Zap System backend, hash-management SP:13

P1 — Important CipherSwarm Features

Issue Title Labels Story Points
#99 [P1] Attack Complexity Calculation & State Machine backend, campaign-management SP:5
#100 [P1] Campaign ETA Calculator Service backend, campaign-management SP:3
#101 [P1] SuperHashlists — Cross-Hashlist Deduplication hash-management SP:8
#102 [P1] Hash List Export, Pre-Cracked Import & Global Search hash-management SP:5

Dependency Graph

#93 Agent Benchmarking
  └──▶ #96 Keyspace Distribution (→ Epic #118 Intelligent Scheduling)
         └──▶ #97 Task Preemption (→ Epic #118)

#94 Cracker Binary Management
  └── (standalone)

#95 Attack Templates
  ├──▶ #112 Crackable Uploads (→ Epic #120)
  └──▶ #115 Attack Playbooks (→ Epic #120)

#98 Hash Item Storage / Crack Tracking / Zap System
  ├──▶ #101 SuperHashlists
  └──▶ #102 Hash Export / Pre-Cracked Import / Global Search

Key Technical Context

#93 — Agent Benchmarking

Agents must benchmark before accepting tasks. The benchmark data (per-agent, per-hash-type throughput) feeds directly into the keyspace distribution scheduler in Epic #118. Without benchmark data, proportional chunk sizing is impossible.

#94 — Cracker Binary Management

The server tracks hashcat binary versions and serves presigned download URLs to agents. Ensures all agents run compatible cracker versions without manual per-rig maintenance.

  • CipherSwarm ref: CrackerBinary model, CrackersController (91 lines), MinIO binary storage

#95 — Attack Templates

Reusable attack configurations (mode + parameters + resource references) that pre-fill campaign attacks. Required before crackable uploads (#112) and attack playbooks (#115) can be built.

  • CipherSwarm ref: Template model, template → attack instantiation

#98 — Hash Item Storage, Crack Result Tracking & Zap System ⭐ Core

This is the single most critical issue in this epic. Agents submit cracks (submit_crack), report status (submit_status), and fetch already-cracked hashes to skip (get_zaps). Without this, the platform cannot record any results.

#99 — Attack Complexity & State Machine

Each attack tracks its own state machine (pending → running → completed/exhausted/failed/paused) and has its total keyspace/duration estimated. Complexity feeds progress bars and ETA display.

  • CipherSwarm ref: Attack model (15.3 KB), CalculateMaskComplexityJob

#100 — Campaign ETA Calculator

Calculates estimated campaign completion from current throughput, remaining keyspace, and fleet size. Recalculates in real-time as WebSocket status updates arrive.

#101 — SuperHashlists

When multiple hash lists share the same hash type, SuperHashlists merge them for deduplication — crack once, propagate to all source lists.

#102 — Hash List Export, Pre-Cracked Import & Global Search

Export cracked pairs in CSV/potfile format, import pre-cracked hashes from external tools, and search for a specific hash across all lists in a project.


Acceptance Criteria


Related Epics


Source

All issues in this epic were identified via CipherSwarm/Ouroboros gap analysis and tagged with the gap-analysis label.

Metadata

Metadata

Assignees

Labels

backendenhancementNew feature or requestepicLarge feature or initiative spanning multiple issuespriority:highImportant — significant operational value

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions