Multi-model · TinyBERT Autofill (15.32 MB q8 · MPL-2.0) × BERT-Small PII (28.75 MB q8 · Apache-2.0) · 44.07 MB Total

2-Stage Form Security Pipeline: Autofill × PII Detection

Chain two ultra-light CPU WASM encoders totaling 44.07 MB: Stage 1 (rolf-mozilla/tinybert-address-autofill, 15.32 MB) inspects HTML markup across 66 autofill classes to flag missing or sabotaged autocomplete attributes, while Stage 2 reuses sibling onnx-community/bert-small-pii-detection-ONNX (28.75 MB, ../bert-small-pii-detection/worker.js) to scan every field payload across 49 BIO PII tags — exposing both broken form semantics and shadow PII leaks smuggled into other fields.

1. Two Independent On-Device Models (~44.07 MB Combined)

Stage 1 · TinyBERT 66-Class Autofill

rolf-mozilla/tinybert-address-autofill · 15.32 MB WASM q8 · MPL-2.0

Stage 2 · BERT-Small 49-Label PII Detector

Reuses ../bert-small-pii-detection/worker.js · onnx-community/bert-small-pii-detection-ONNX · 28.75 MB WASM q8 · Apache-2.0

2. Form Markup & Synthetic Field Payloads

Choose a realistic form + payload scenario, or edit the HTML and per-field values directly:

Prepare both on-device models above to run the 2-stage Autofill × PII security audit.

Security Posture–
Stage 1 Autofill Issues–
Stage 2 PII Spans–
Shadow PII Leaks–
Latency (S1 / S2)–
NaN Check (S1 / S2)–

3. Combined Form Security Matrix

Combined Form Audit: Run Stage 1 (TinyBERT Autofill) and Stage 2 (BERT-Small PII) to correlate missing autocomplete semantics against live sensitive PII entities inside field payloads.
Per-field Stage 1 TinyBERT autofill audit paired with Stage 2 BERT-Small PII detections
Field Stage 1 · Autofill Audit Stage 2 · PII Highlighted Payload Combined Security Verdict
Run the 2-stage pipeline above to inspect every field's markup and payload.

4. Inspect Stage 2 Reused Worker Client & Security Fusion

Show the code · autofill-core.mjs — combineAutofillAndPii() shadow-PII & GET leak detector
Show the code · autofill-client.js — SiblingBertPiiClient reusing ../bert-small-pii-detection/worker.js