demo · v134
Live scam classifier with reveal flow
The Chromium security team’s post on this feature called out a single attack pattern as the trigger: “you’ve won a prize, click to claim” notifications used to drive credential phishing. Pre-Chrome 134 these went straight to the lockscreen. With the on-device LLM, the notification body is replaced with a generic warning and the user gets three options — show, dismiss, unsubscribe. Hit incoming wave below to fire ten notifications and watch the classifier’s decisions.
probing Notification API + AI inference…
The actual on-device model only ships on Android Chrome with the feature enabled. This page reproduces the chrome-side policy: a small heuristic classifier acting in place of the LLM, with the same three-button reveal flow.
Try it
The decision the user sees
// In Chrome's notification UI on Android (134+):
if (classifier.score(text) >= 0.6) {
notification.replaceBody('Possible scam. Reveal to see contents.');
notification.actions = [
{ action: 'show', title: 'Show' },
{ action: 'dismiss', title: 'Dismiss' },
{ action: 'unsubscribe', title: 'Unsubscribe from site' },
];
}