Clarity before
you agree.
PANDA / LegalSAN
Understand your rights. Spot manipulation. Take action. PANDA is building an AI assistant for consumer protection, from the terms you accept to the problems you need to resolve.
It starts with LegalSAN: our compact, private AI model that flags potentially unfair contract clauses on your own device. Our browser extension prototype now also marks dark patterns while you shop, warns about price changes before you pay and shows where to cancel a subscription.
“We may terminate your account at any time, for any reason, without notice.”
Unilateral termination
The provider reserves the right to end your access without explaining why or warning you first.
See what PANDA finds01Live demonstration
Read it. Then decide.
Choose a sample contract or paste your own text. The model downloads on your first scan and processes the clauses inside this browser.
A file-sync service with the clause stack you meet most often.
Research prototype. Flags are signals for closer reading, not legal conclusions.
02The technology
Small enough to stay yours.
LegalSAN brings a focused language model to the browser. Local processing makes privacy a property of the product.
Separate the clauses
The document is divided into individual clauses for analysis.
Recognise the patterns
A transformer encoder scores each clause against eight categories of potentially unfair terms.
Make the concern visible
Flagged passages are highlighted in context, with a category and an explanation.
- Architecture
- 6-layer transformer
- Weights
- int8 · 24 MB
- Context
- 128 tokens per clause
- Execution
- WebAssembly · Web Worker
03Research & performance
Focused intelligence. Measurable results.
A compact model trained for the fine print. LegalSAN brings specialised contract analysis to the browser, with the research behind it documented in our working paper.
Overall accuracy
Reported prior LegalBench evaluation.
Binary macro-F1
Fair versus potentially unfair · prior LegalBench run.
Export evaluation, limitations, and an explanation of the headline metrics.
Read the preprint (PDF)Jiun-Yi Wu · Revised 14 September 2026 · Not peer reviewed
These reported LegalBench figures come from a different evaluation than the paper’s 1,607-clause UNFAIR-ToS study. Binary macro-F1 averages both classes; the paper’s binary F1 measures the unfair class. Section 5.3 explains the distinction and the missing records needed to verify the prior run.
Small by design.
Model size · millions of parameters
24 MBLegalSAN download · INT8
Focused on the fine print. Compact enough to run on your device.
Bars use a shared linear scale and compare parameter counts, not accuracy or download size. Detailed performance comparisons belong in the preprint.
A small model. A strong signal.
Macro-F1 · logarithmic parameter scale
Swipe horizontally to explore the full chart.
LLM scores are f1_macro from the LegalEvalHub unfair_tos leaderboard; encoder scores are historical figures from our earlier comparison. Evaluation protocols differ, so this is not a controlled head-to-head benchmark, and these macro-F1 scores are distinct from the LegalBench headline metrics above. Models with undisclosed parameter counts are shown separately. Full methodology will accompany the preprint.
436 MB to 94 MB.
78.4% smaller FP32 weights
A smaller model learns from Contracts-BERT, then fine-tunes for eight clause categories. The best reported student reaches 0.7691 macro-F1 versus the teacher’s 0.8115: a reduction of 0.0424.
- Contracts-BERTTeacher · fine-tuned435.6 MB
- Distilled studentB_attn_6L · best learning rate94.1 MB
- Contracts-BERTTeacher · fine-tuned0.8115
- Distilled studentB_attn_6L · best learning rate0.7691
Source: supplied training model card. Macro-F1 averages eight category F1 scores; it is not accuracy. Each chart starts at zero. FP32 weight sizes are separate from the INT8 browser download and runtime memory.
A model card records the model’s origin, training setup and evaluation results. Download the experiment record to inspect the details.
04What it recognises
The details that deserve a second look.
01Limitation of liability
The provider caps or excludes its own responsibility for damage it causes you.
Watch for Blanket exclusions of "any and all" damages, or caps set at a token amount.
02Unilateral termination
Your account can be suspended or closed at the provider’s discretion, without cause or notice.
Watch for "At any time", "without notice", "for any reason or no reason".
03Unilateral change
The provider may rewrite the contract later and treat your continued use as consent.
Watch for Changes effective on posting, with no right to reject them.
04Content removal
Your content can be deleted or hidden at the provider’s discretion, sometimes irreversibly.
Watch for Removal "without notice" combined with no obligation to keep a copy.
05Contract by using
Merely browsing or using the service is deemed acceptance of the whole agreement.
Watch for Consent inferred from access rather than from an explicit agreement.
06Choice of law
A foreign legal system is imposed, which may be far less protective than your own.
Watch for Law of the provider’s home state, chosen without regard to where you live.
07Jurisdiction
Disputes must be brought in distant courts, making enforcement impractical for you.
Watch for Exclusive venue in a single county or country far from the consumer.
08Arbitration
Court and class actions are replaced by private arbitration chosen by the provider.
Watch for Jury-trial and class-action waivers bundled into the arbitration clause.
05 In your browser
Protection where you click.
The LegalSAN browser extension works like an ad blocker, but for manipulation. It checks pages while you browse and needs no account. Rules and models run on your device, so no page text leaves it.
Unfair terms
On English terms-of-service pages, the clause model from the demo above flags passages that deserve a second look.
Dark patterns while you shop
Pre-ticked add-ons, guilt-trip decline buttons, countdowns that restart, stock and activity claims, and automatic renewals are marked on the page.
Before you pay
At checkout, the order summary is compared with what you saw earlier: new fees, a subtotal that grew, or an item that now costs more.
Checkout guard
When a checkout has warnings, the first click on Place order or Pay now is held until you choose Go back or Pay anyway.
Cancel a subscription
On account pages, it points to the controls that lead to cancelling, wording that makes cancelling hard, and direct links for big services. It never clicks for you.
Chrome prototype, currently being hand-tested on real shops and subscriptions. Shopping checks cover English pages. An experimental dark pattern text model can be switched on in the side panel.
06 The PANDA roadmap
From understanding to action.
Consumer protection reaches beyond the fine print. LegalSAN is our foundation for an assistant that helps you recognise unfair terms, detect manipulative design and act on your rights.
Clarity in the contract.
LegalSAN highlights potentially unfair clauses across eight categories. A compact model, running locally in your browser, puts the fine print in context.
Today Scan terms before signing up for a service.
Try the working modelSee through dark patterns.
Protection in the browsing flow. Our browser extension marks interfaces that pressure, mislead or obstruct you on shopping pages, and explains what each one does.
In the prototype Pre-ticked add-ons, fake countdowns, guilt-trip buttons and automatic renewals, found by rules from published research. A compact text model is being evaluated on real pages.
See the extensionHelp that follows through.
An agentic service to help handle contract cancellations and everyday legal issues: prepare requests, submit them with your approval and track the follow-up.
First steps, in the prototype A summary of what changed before you pay, an opt-in guard that holds the pay button while there are warnings, and a helper that shows where to cancel a subscription.
What we’re working toward Cancel an unwanted subscription, dispute a charge or organise evidence for a complaint, with a path to qualified legal support when needed.
Available today: the LegalSAN clause scanner on this page. Dark pattern checks, checkout warnings and the cancellation helper run in our browser extension prototype, which is in testing. Services that act on your behalf are planned; launch dates are not yet announced.
Make an informed choice