Bit-exact transparent canvas readback
Unmodified browser rendering preserves zero values across all four RGBA channels [0, 0, 0, 0] when reading back a blank transparent image.
BotRefund draws a known 1x1 fully transparent PNG onto a 2D canvas and inspects getImageData(0, 0, 1, 1) for non-zero RGBA noise injected by canvas spoofers.
The canvas probe loads an embedded 1x1 fully transparent PNG (rgba(0, 0, 0, 0)), draws it onto a 1x1 2D <canvas> context, and reads back ctx.getImageData(0, 0, 1, 1).data.
In an untouched rendering pipeline, all four channels remain zero. If any red, green, blue, or alpha byte is non-zero, the check records canvas pixel perturbation.
Naive anti-detect extensions and fingerprint-spoofing wrappers blindly add small random offsets to getImageData() outputs—corrupting even a completely blank transparent pixel image.
Because privacy browsers such as Brave (with built-in Shield farbling) or legitimate CanvasBlocker extensions intentionally randomize canvas pixel readbacks, this specific transparent-pixel check is kept strictly as a supporting signal cleared whenever genuine human interaction is observed.
Unmodified browser rendering preserves zero values across all four RGBA channels [0, 0, 0, 0] when reading back a blank transparent image.
A canvas noise wrapper mutates [0, 0, 0, 0] into non-zero channel values during readback, flagging canvas tampering when verified human interaction is absent.
Forensic significance: Supporting canvas integrity signal cleared whenever genuine human interaction is verified, protecting Brave browser users and privacy extension visitors.