Skip to main content
Each Destrier box lives in a single top-level directory containing its manifest, challenge files, documentation, and reference solver. Start from the Destrier box template rather than building the structure from scratch.

Template structure

The template repository provides starter layouts, working examples, and the schema used to validate box.yaml.
box-template
schemas
box.schema.json
templates
container-box
vm-box
network-box
examples
container-example-box
vm-example-box
network-example-box
Use templates/ to start a new challenge, and refer to examples/ for complete working boxes that show how the structure fits together.

Box structure

Each contribution should follow this basic structure:
your-box-id
README.md
box.yaml
target
solver

Configure box.yaml

Every box contains exactly one box.yaml. The manifest defines the box identity, classification, objective, capture points, network layout, hosts, and build configuration.
Identifies the box, its version, and contributors. The manifest does not choose a competition; see Competitions and access.
string
required
Permanent identifier for the box. Use lowercase letters, numbers, and hyphens.
semver
required
Semantic version such as 1.0.0. Increment it whenever the box changes.
string
required
Human-readable name of the box.
string[]
required
One or more contributor names or handles.

Host build rules

How a host is declared depends on how Destrier creates it. boxr box submit publishes source-built container hosts and uploads prebuilt VM disk images. Generated fields such as publishedImage and digest-backed build.image objects are written by boxr; contributors should not add them by hand. Network boxes should use one host kind throughout. Do not mix container hosts with VM disk-image hosts in the same box.

Manifest examples

Competitions and access

A box.yaml does not name a competition. When a box is published it is private to the workspace that submitted it, and you decide who may use it:
  1. Open the box on Destrier and go to its Sharing panel.
  2. Grant the box to the organiser’s workspace, for example the Destrier CTF’s.
  3. The organiser decides which competition and stage use it. A grant lets them use the box; it does not place it in a stage by itself.
You can revoke a grant from the same panel.
Do not set competitionId. It is deprecated: boxr box lint warns about it, and a slug in it that names no competition is silently ignored, so the box joins nothing and nobody is told. Remove it from existing manifests.
The schema also accepts an optional competitions list of slugs. It only applies to competitions hosted on the Destrier platform itself: a slug you operate becomes a grant, a slug you do not operate becomes an offer that its organisers accept or decline, and an unknown slug is refused. Competitions such as the Destrier CTF are run outside the platform, so for those use a workspace grant as described above and leave competitions out.

README structure

The README should give reviewers enough context to understand, reproduce, and verify the challenge.

Health checks

Health checks tell Destrier when a host is ready before the evaluation begins. A health check may be omitted when the host has no service that can be checked.
Last modified on October 25, 2026