Assessment ran with an empty prompt, so every verdict was meaningless
What happens
The bundled kernel-driver pipeline assessed every driver without sending it any driver code.
The prompt template referred to dispatch_code, dispatch_handler and findings. The pipeline records those values under different names (decompiled_dispatch_ioctl_c, dispatch_name, findings_json), and findings exists but holds the filename rather than the parsed findings. Jinja renders an unknown name as an empty string, so the prompt ended with:
Payload:
and nothing after it. No decompiled routine, no handler name, and a findings loop that iterated the characters of a filename.
The model was explicit about it in the recorded results:
Empty payload - no decompiled code was provided, so there is no dispatch table, no IOCTL codes, and no sink to trace. Any finding I reported would be fabricated.
Those answers were stored as assessments and shown in the report as verdicts.
Why it matters
This is the stage the pipeline exists for, and the failure is invisible: every driver gets a confident-looking verdict, the run reports success, and nothing indicates the model never saw the code. A user reviewing the report would conclude a corpus was clean when it was never examined.
Measured on one driver from a real pack, with the names corrected: the prompt goes from 13 characters to 20,842, and assessments go from roughly 1,200 characters of "there is nothing here" to 4,000 characters of analysis citing specific sinks and line numbers.
Suggested fix (acceptance criteria)
- [x] A prompt that names a value the pipeline does not produce fails with an error identifying the name and listing what is available, rather than rendering empty.
- [x] The bundled prompt uses the names the pipeline records.
- [ ]
deepzero validaterenders each prompt against a representative sample so a broken prompt is caught before a run, not after. - [ ] Document the values a prompt can use, since they are currently discoverable only by reading the code that builds them.