Inspiration
A scam often starts with an ordinary message: a job offer, a delivery update, or someone asking for help. Trust builds, urgency grows, and eventually the sender asks for money, credentials, or a verification code.
For HackUTD’s Zero Day theme and T-Mobile’s Safe Signal challenge, we asked: can we warn someone before that request arrives, then help them respond safely?
We built Reef Guard around that goal: early forecasting, understandable warnings, and practical next steps.
What it does
Reef Guard follows a conversation one message at a time. It predicts the likely scam family, the next stage, and how many turns remain before the scammer’s request. It also displays confidence, including an uncertain state when the evidence is incomplete.
Browser analysis runs on-device. The interface keeps suspicious links non-interactive and presents a Safety Card with explanations and suggested actions. Browser verification and reporting controls currently demonstrate the intended experience; they do not actually block senders or submit reports.
Users can also forward suspicious messages to Reef Guard’s Photon iMessage/SMS number and receive forecasts and safety guidance in the same conversation. This explicitly opts into cloud processing.
For unfamiliar scam patterns, Reef Guard can generate synthetic training conversations and distribute a small adapter that runs alongside the browser model. Customer conversations are not used for training.
How it addresses T-Mobile’s Safe Signal challenge
T-Mobile asked for protection that goes beyond classification, with clear next steps, honest confidence, and privacy by design. We built those requirements into the customer experience:
- Before a threat: forecast the conversation’s direction before a payment, code, or credential request appears.
- During a threat: explain the warning, keep suspicious links non-interactive, and offer safer verification steps.
- After a threat: provide blocking instructions and, through Photon, let users explicitly consent to submit a scrubbed pattern report.
- Honest confidence: show uncertainty and measure false alarms alongside warning lead time.
- Privacy: keep ordinary browser analysis local and use synthetic scenarios for training.
Photon also gives people a messaging-based entry point without requiring them to install an app or understand the model.
How we built it
PreyNet, our forecasting model, combines MiniLM message embeddings with a causal GRU and attention pooling. Separate prediction heads estimate scam family, next stage, and turns until the strike using only messages already received.
The React and TypeScript browser interface runs the encoder through Transformers.js and PreyNet through ONNX Runtime Web. Warning hysteresis helps prevent alerts from disappearing after one harmless-looking message, and downloaded adapters are validated before use.
The current evaluation artifact reports 2.35 ± 0.12 turns of mean warning lead time across three training seeds, with a 0.77% benign false-positive rate on a synthetic test split of 259 conversations. Temperature scaling reduced family-head expected calibration error from 0.059 to 0.025.
These results describe our synthetic test set. Independent human-written testing remains unfinished.
We also used Google Gemini to create project graphics, including logos and website imagery.
NVIDIA Nemotron workflows
NVIDIA Nemotron supports two workflows: learning unfamiliar patterns and turning forecasts into safety guidance.
Algae starts with a short scam description. Nemotron plans variations in the pretext, sender persona, urgency, writing style, and other details, then generates both scam conversations and legitimate lookalikes. A critique step checks realism and label quality before validation and deduplication filter the examples.
Those examples train a small adapter on frozen PreyNet features. The browser downloads the adapter rather than the teacher model or training conversations. This lets us extend the local model without collecting customer texts or retraining the entire network.
Safeguard uses Nemotron tool calls to look up curated official contacts, check phone-number formatting and directory matches, and inspect domain registration information and possible lookalikes. Application code controls safety-critical fields and rejects unsupported contact details; a rule-built card provides a fallback if the agent fails.
The adaptation pipeline is implemented, but independent zero-day evaluation and complete alert-to-protection timing remain unverified.
Photon integration
Photon connects Reef Guard to a real iMessage/SMS number. Our TypeScript bridge receives signed webhooks, maintains temporary conversation context, requests a forecast from the API, and sends the result back into the same thread.
We added signature verification, duplicate-delivery handling, and per-conversation processing order so webhook retries or closely spaced messages do not produce repeated or out-of-order responses.
Reply codes let users request an available official contact, ask why a warning appeared, or consent to submit a scrubbed pattern report. Blocking remains a manual action in the phone’s messaging app.
Forwarded history stays in bridge memory, is bounded, and expires after inactivity. Photon is an opt-in cloud path; masked text may also reach Nemotron for safety guidance.
Challenges we ran into
The main modeling challenge was warning early without treating every unusual conversation as a scam. Legitimate wrong-number messages and real account alerts made hard negatives essential, and we had to evaluate confidence and false alarms alongside lead time.
Integration introduced different problems: matching browser embeddings and prediction logic with Python, handling Photon’s different API versions, and validating adapters before loading them.
We also had to distinguish working integrations from demonstrations. A convincing interface should make clear whether an action actually verified a contact, submitted a report, or only illustrated the intended behavior.
What’s next
We want to evaluate independent human-written conversations, measure the complete workflow from a new scam alert to an installed browser adapter, and test the live Photon experience with more users.
We also plan to connect the browser’s safety actions to verified services while preserving explicit consent. Our next evaluations will track how early Reef Guard warns, how often it raises a false alarm, and whether users understand what to do next.
Built With
- claude
- codex
- github
- nemotron
- photon
