Canvas 与 PNG IDAT 指纹测试
导出 ▾
Canvas 与噪点测试 — 实时遥测与诊断
8 层取证级遥测拆解
在本地实时测量客户端环境、C++ 字节码引擎、芯片限制以及 L4–L7 传输层参数。
正在检测
2. 硬件、GPU 限制与 WebAssembly
3. 告警信号与一致性
4. 浏览器、C++ 引擎与五域一致性
5. 网络链路 (JA4 / HTTP2 / TTL / STUN)
6. 地理位置、ISP 与 /24 网段信誉
7. 自动化、CDP 与权限同步
8. 移动端与云手机 ARM64 审计
相关诊断工具
面向精细化 QA 验证的独立协议与浏览器检测模块。
WebGL 与 WebGPU 测试→
浏览器可能会限制显卡适配器细节。物理设备也可能回退软件渲染。浮点 NaN 无法确定处理器架构。
字体库与文本度量测试→
对比字体度量宽度、扩展哨兵字体覆盖率、DOMRect 几何尺寸、MathML 布局框与 CSS 系统颜色哈希。
AudioContext 指纹测试→
测试 OfflineAudioContext 渲染确定性、缓冲区复制一致性、频谱分析输出、采样率及基础延迟。
浏览器自动化特征检测→
扩展程序、开发者工具与浏览器策略都可能影响观测结果,请结合各项证据综合判断。
全维度身份检测→
报告会明确展示哪些检查产生了证据、哪些检查不可用。检测覆盖范围受浏览器支持度、权限与网络路径影响。
LiveCam 与虚拟摄像头测试→
缺少设备标签可能源于权限受限。编解码支持情况无法确定摄像头型号或预测平台审核结果。
Canvas 2D Rasterization, PNG IDAT Zlib Verification & TextMetrics Linearity
深度技术拆解文章正文以英文撰写;文章摘要、实时诊断工具、检测方法论与基准测试页面均支持您所选的界面语言。
Why Canvas 2D Output Varies Across GPUs, Font Engines, and Browsers
HTML Canvas 2D combines vector path tessellation, Porter-Duff alpha compositing, gradient interpolation, and OS-native glyph rasterization.
The W3C HTML Canvas 2D Context API translates JavaScript drawing primitives into platform-specific graphics calls—typically Skia on Chromium, Skia/CoreGraphics/Cairo variants across Gecko and WebKit, backed by Direct2D/DirectWrite on Windows, CoreText/Metal on macOS, and FreeType/Fontconfig on Linux. Because subpixel anti-aliasing, floating-point rounding in radial gradients, and emoji fallback glyphs depend on both OS libraries and GPU driver quirks, a single composite scene produces a stable, high-entropy RGBA buffer per software-hardware stack.
However, a rare Canvas hash by itself does not prove spoofing. A niche Linux font package, custom OS DPI scaling factor, updated Chromium Skia milestone, or browser privacy features like Firefox Resist Fingerprinting (RFP) or Brave farbling can generate unfamiliar hashes legitimately on clean consumer hardware. Diagnosing Canvas integrity therefore requires structural self-consistency tests rather than relying on hash frequency alone.
Decomposing PNG Chunks (IHDR, IDAT, IEND) Against getImageData()
AntidetectLab parses the binary PNG stream emitted by toDataURL() and compares decoded zlib scanlines directly with raw ImageData pixel arrays.
Per ISO/IEC 15948 (PNG Specification) and RFC 1950/1951 (zlib/DEFLATE), canvas.toDataURL('image/png') encodes raw RGBA scanlines with a 1-byte per-row filter prefix (None, Sub, Up, Average, or Paeth) inside concatenated IDAT chunks bounded by IHDR and IEND. AntidetectLab decodes those IDAT scanlines independently in JavaScript, reverses the PNG row filters, and verifies byte-for-byte parity with ctx.getImageData() across repeated draws.
When a naive browser extension hooks only HTMLCanvasElement.prototype.toDataURL—or hooks only CanvasRenderingContext2D.prototype.getImageData—the binary pixels extracted from the PNG IDAT chunks diverge immediately from the direct pixel array. Similarly, inspecting chunk lengths and distinct RGBA color counts reveals whether a solid fill region was corrupted by indiscriminate per-pixel noise.
| Canvas Verification Probe | Standard / Mechanism | Normal Clean Behavior | Noise / Hook Indicator |
|---|---|---|---|
| PNG IDAT vs getImageData | ISO/IEC 15948 + RFC 1950 zlib | Bit-identical RGBA buffer on decode | Hash mismatch between export & pixel readback |
| Solid-Color Canary Fill | Uniform fillRect RGBA check | Exactly 1 distinct RGBA value | Multiple slightly perturbed RGBA values |
| Double-Draw Repeatability | Two identical offscreen draws | Identical hash across both runs | Session-randomized per-call pixel jitter |
| 4× TextMetrics Linearity | measureText() at 1× and 4× | Proportional width scaling within tolerance | Non-linear jitter injected into width metrics |
| DOMRect & MathML Layout | CSSOM getBoundingClientRect() | Deterministic subpixel layout boxes | Randomized ClientRects rounding offsets |
TextMetrics 4x Linearity, DOMRect Geometry, and MathML Layout Coupling
Testing glyph advance widths across multiple scales alongside DOMRect and MathML bounding boxes detects inconsistent typography noise.
Canvas anti-fingerprinting wrappers frequently overlook typographic measurement APIs—or apply random delta offsets to ctx.measureText() and Element.getBoundingClientRect() without preserving geometric scaling laws. AntidetectLab measures glyph metrics at 1× and 4× scale factors to confirm linear scaling, checks document.fonts.status loading readiness so unready web fonts do not skew metrics, and hashes both MathML mathematical layout boxes and CSS system color keywords.
In an unhooked browser engine, doubling or quadrupling font pixel sizes scales horizontal advance widths monotonically within subpixel hinting bounds. Adding random ±0.05px noise to every measureText() return breaks that ratio immediately and exposes JavaScript-level metric interception.
AntidetectLab additionally measures actualBoundingBoxLeft, actualBoundingBoxRight, fontBoundingBoxAscent, and fontBoundingBoxDescent where supported by the browser engine, ensuring vertical and horizontal typographic telemetry align across both Latin and multi-script fallback runs.
Separating Deterministic Native Farbling from Broken Extension Wrappers
Evaluating repeated readback stability alongside local session history prevents misinterpreting legitimate privacy browsers.
Session-consistent farbling (where a privacy browser seeds deterministic noise per origin/session) still satisfies double-draw repeatability and PNG-to-ImageData parity within the same page load, whereas naive random-noise extensions fail double-draw checks immediately. AntidetectLab records both behaviors separately, logs whether a Canvas hash was previously observed locally, and correlates Canvas invariants with Font & TextMetrics, AudioContext DSP, and WebGL & WebGPU readings before flagging tampering.
When evaluating an unfamiliar Canvas hash during multi-profile QA, compare the PNG chunk sizes (IHDR, IDAT, IEND) and offscreen worker rendering results inside Side-by-Side Live Duel to verify whether the hash difference comes from legitimate GPU/font differences or an active Canvas wrapper.
相关取证研究文章
深度拆解指纹浏览器内核、ARM64 云手机、JA4 TLS 协议栈与代理网络卫生。
Reading a canvas fingerprint report
What pixel readback, PNG decoding and text metrics measure in the current browser.
How browser fingerprint comparison groups work
How fonts, rendering and browser configuration affect the interpretation of sample frequencies.
Reading BrowserLeaks and AmIUnique results
Compare a raw browser measurement with an estimate of how distinctive a fingerprint is within a sample.
本工具专项技术问答
How does PNG IDAT comparison detect Canvas noise injection?
Some privacy extensions hook getImageData() to add random pixel jitter while leaving toDataURL() untouched—or randomize toDataURL() on every call while returning clean pixels to getImageData(). Decoding the raw PNG IDAT DEFLATE stream and comparing RGBA bytes against getImageData() exposes this desynchronization immediately.
Why does a solid-color canary fill catch naive Canvas farbling?
Anti-aliasing and subpixel rasterization only vary along curved geometry, gradients, and glyph edges. A uniform flat RGBA fill should contain exactly one distinct color across every pixel; per-pixel noise wrappers often corrupt solid fills into dozens of slightly shifted colors.
What does the 4x TextMetrics linearity ratio check?
Rendering text at 1x and 4x scale factors tests whether reported TextMetrics widths scale proportionally. Some spoofing wrappers add arbitrary floating-point noise to measureText() that breaks linear scaling across font sizes.
Can two physical computers with the same GPU produce different Canvas hashes?
Yes. Differences in OS font smoothing (DirectWrite vs CoreText vs FreeType), color management profiles, Chromium Skia versions, and installed fallback fonts routinely alter Canvas output even on identical GPUs.
重新测试时创建已隐去隐私信息的公开报告
任何获得链接的人均可阅读已发布的报告。