Read by AI. Decided by

The model reads what an email claims. Plain code checks that claim against the orders and tracking numbers stored on this device, then says where the check ran.

Step 1
Read the claim

fields

Party, domain, action,
numbers and kind

See step 1

Step 2
Check what you ordered

matches

Expected parcels for
the fake DHL hold

See step 2

Step 3
Stamp the verdict

outcomes

Safe, Warning
or Neutral

See step 3

01

The email arrives

This is the sample DHL hold used in the demo. It cites a tracking number and asks for a $2.99 release fee.

sample inbox

From DHL Express Desk <alerts@dhl-parcel-desk.example>

Your parcel is held. Pay the release fee.

Your parcel could not be delivered and is being held at a DHL facility. Tracking number: GM123456789012345. A customs release fee of $2.99 is due.

02

The model reads the claim

On-device AI, through Firebase AI Logic, turns the wording into a structured claim. It does not issue Safe, Warning, or Neutral.

From DHL Express Desk <alerts@dhl-parcel-desk.example>

Your parcel is held. Pay the release fee.

Your parcel could not be delivered and is being held at a DHL facility. Tracking number: GM123456789012345. A customs release fee of $2.99 is due.

The wording

A held parcel, a tracking number, and a fee.

Structured claim the model is allowed to produce

Claims to be DHL, as a carrier

Claimed domain: dhl-parcel-desk.example
Asks you to: pay a release fee
Cites: tracking GM123456789012345
Email kind: carrier_update

The structured claim

Party, domain, payment request, cited numbers, and email kind.

03

Code looks at what you actually ordered

The cited tracking number is compared with expected parcels stored on this device. In the default sample, there are none.

Cited in the email

GM123456789012345

No match

Expected parcels on this device

None

04

A stamp, then the verdict

Safe needs a sender the app verified (a sample thread or the extension; a pasted email stops at Neutral), nothing risky asked, and either a parcel you expect from that carrier's official domain or an order stored on this device from a vetted store's exact domain. Anything else is Warning or Neutral. Every AI result is labelled with where it ran.

Warning

You're not expecting any parcel right now.

Checked on this device

Illustration of an on-device result. Run a real check in the sample inbox.

The model only reads the claim. Deterministic code issues the verdict.

dhl-parcel-desk.example is not in the official-domain pack, which is added as a reason, not as a replacement for the tracking check.

Run this check yourself

The same DHL hold thread is waiting in the sample inbox.