Skip to content
hw.dev
hw.dev/signal/via-kicad-drc-sandbox-service-2026
SignalVia

A Sandboxed KiCad Service Turns Board Rules Into Review Findings

Via runs each uploaded KiCad board through the real checker in an isolated service, then maps failures back to reviewable board objects.

Thesis connection

Board checks can run automatically during review without trusting an uploaded archive or replacing KiCad's own rules.

#pcb#eda#testing#verification
Read Original

Via now runs KiCad's design rule checker (DRC), the tool that finds shorts, spacing errors, and other board-rule violations, as an isolated service. An uploaded board and its project rules go into a temporary directory inside a pinned KiCad 9.0.6 container. The service has fixed processor, memory, and file limits, no external network access, a read-only operating system, and no credentials.

The useful work happens after KiCad returns its report. Via maps each violation back to a board object through its universally unique identifier (UUID), or through the part reference and pad number when KiCad doesn't provide one. It preserves designer-approved exclusions, marks results that used default rules as heuristic, and raises shorts to critical severity. Untrusted archives are unpacked in a separate parser sandbox, so the worker that schedules checks never opens them.

This is the shape a web board reviewer needs: the native tool decides whether the board passes, while the surrounding service makes that decision safe to run and specific enough to review. The next proof should be a public set of deliberately broken boards that confirms the mapping still points to the right object across KiCad upgrades.