Skip to content
← Back to Blog

Cybersecurity

CastleCTF v0.3: Training Paths & Live Dashboard

A development checkpoint covering training paths, module progress, a live dashboard, and the testing and recovery work behind CastleCTF v0.3.

3 min read
#CastleCTF#Development#Self-Hosting

CastleCTF is my project for organizing cybersecurity training and keeping track of what I learn. The v0.3 milestone brings training paths, individual module progress, and a live dashboard together, giving that learning process more structure.

This post records the development checkpoint shown below. It is a historical snapshot, not a live deployment status report. The rollout tasks in the infographic describe what was still pending at that checkpoint.

The milestone at a glance

CastleCTF v0.3 checkpoint: 17 files changed, 1,807 insertions, and 149 deletions; progress across backend, frontend, database security, testing, and release preparation. A text summary follows.
Training Paths & Live Dashboard development checkpoint. Open the full-size infographic.

The checkpoint records 17 files changed, 1,807 insertions, and 149 deletions, associated with commit fe70341 in the CastleCTF project.

What changed

Training paths and progress tracking

The backend gained training path and module management APIs, per-user module progress tracking, and a summary endpoint for the live dashboard. Together, these provide the foundation for organizing training and recording progress through individual modules.

A workspace for training

The frontend work introduced the live Training Dashboard and Training Paths workspace, along with admin forms for managing paths and modules. A module progress interface and training styles connect those backend capabilities to the user experience.

Database and security

The checkpoint records creation and verification of the 0004_progress migration, validation of origin checks and admin enforcement, and concurrency-safe progress updates. These changes support storing progress while checking who can make changes and handling simultaneous updates.

Testing and recovery

Authorization, concurrency, security, input validation, authentication regression, and integration tests were recorded as passing at this checkpoint. Release preparation also included a verified backup archive, a successful restore test, tagged v0.3 backend and frontend images, and a backup of the Compose configuration before rollout.

Engineering takeaways

This milestone highlights how much sits behind a progress dashboard. The interface needs reliable storage, permission checks, and predictable behavior when updates happen at the same time. Testing those pieces matters alongside building the visible features.

Recovery preparation is part of that work too. Verifying a backup and testing a restore provide evidence that there is a recovery path before a production change.

What remained at this checkpoint

The next steps recorded in the infographic were:

  • Push the CastleCTF commit to the remote repository.
  • Update the deployment configuration for v0.3.
  • Run the production progress migration.
  • Deploy the v0.3 backend and frontend.
  • Resume HTB Enterprise integration after verifying API access.

These are the checkpoint’s planned follow-up steps; this post does not confirm their subsequent completion.

For the broader goals and project overview, visit the CastleCTF project page.