Step 1
Read the claim
fields
Party, domain, action,
numbers and kind
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.
fields
Party, domain, action,
numbers and kind
matches
Expected parcels for
the fake DHL hold
outcomes
Safe, Warning
or Neutral
01
This is the sample DHL hold used in the demo. It cites a tracking number and asks for a $2.99 release fee.
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
On-device AI, through Firebase AI Logic, turns the wording into a structured claim. It does not issue Safe, Warning, or Neutral.
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.
A held parcel, a tracking number, and a fee.
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
Party, domain, payment request, cited numbers, and email kind.
03
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
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 deviceIllustration of an on-device result. Run a real check in the sample inbox.
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.
The same DHL hold thread is waiting in the sample inbox.