* test(scanner): add validation harness * fix(scanner): harden validation harness --------- Co-authored-by: Henry Guo <[email protected]> Co-authored-by: houseme <[email protected]>