QSplintNX

Interactive demo · QNX 8.0

Patch a QNX driver's attack surface without touching the driver

QSplintNX puts a daemon, splintd, in front of a QNX resource manager. It reads every message the driver would receive, refuses the ones a signed rule describes, and lets everything else through. The driver is not modified or restarted.

Below you can replay the session recorded on a QNX 8.0 target, and then send messages to the same rule engine yourself, compiled from the project's C sources to WebAssembly.

01

Recorded on QNX 8.0

This is the serial console of a QNX 8.0 x86_64 guest under QEMU/KVM, captured byte by byte from the image the codelab builds. Nothing on screen is edited. Pick a moment in the list to jump to it.

root@qnx · QNX 8.0.0 x86_64 · QEMU/KVM · recorded 1 Dec 2026

Jump to

Source: docs/video/console.cast. The same session, narrated and edited for time, is the demo video.

02

Try the rule engine

Load a ruleset the way splintctl reload does: the Ed25519 signature is checked against the key built into splintd, the text is parsed, and the version must move forward. Then send messages and see what splintd would decide. Edit a signed rule and the reload is refused, as on the target.

Ruleset

Message

Pick a message above, or edit the fields, and send it.
# decisions; [event logged] marks the ones splintd writes to its event log
of the current message, in this browser
03

What runs on this page

The playground is not a mock-up. It runs the project's own C code, but only the part that does not need QNX.

Real: the core

The rule lexer and parser, the decision engine and the Ed25519 verification are the files in src/core and third_party/ed25519-ref, compiled to a 52 KB WebAssembly module by wasm/build.sh. wasm/check.sh runs the same cases through a native build and the WebAssembly build and requires identical results.

Mirrored: the reload

The reload button follows the order in splintd_load_rules(): signature, then parse, then the version floor (a versioned ruleset must be newer than the active one, and an unversioned one is refused once a version is active). That ordering is written in JavaScript here, from src/qnx/splintd_main.c.

Only on QNX

Interposing on a path, forwarding to the driver, client identity from the kernel and the secpol rules that stop a bypass all need the QNX 8.0 kernel. For those, the recording above and docs/qemu-validation.md are the evidence.