How Whatnot let an LLM read scam chats without letting it decide
In September 2023 Whatnot described a scam check built in three layers. Cheap signals pick which accounts to look at, an LLM reads the whole conversation and returns a likelihood with an explanation, and a rule combines that score with account age and order history before anyone is restricted and a reviewer steps in. Whatnot reports 96% precision and over 95% of scam attempts caught within minutes, with no baseline or counts.

A buyer in a marketplace chat gets a friendly message about an item, or news that they won a giveaway. A few messages later comes the real ask: the payment failed, please contact support at this address, or let us finish on WhatsApp. No single message looks like fraud. The conversation does.
Whatnot, the American live-shopping marketplace for collectibles, trading cards and other goods sold over livestreams, described how it catches these chats in How Whatnot Utilizes Generative AI to Enhance Trust and Safety, a post on its engineering blog by Charudatta (CD) Wad, dated September 21, 2023. We read it through Web Archive copies from 2024 and 2026; the article text is the same in all of them. Medium marks the post "all rights reserved", so every diagram here is our own. Every result is Whatnot's own; there is no outside evaluation, code or data.
The problem: each message looks harmless
The post names the pattern plainly: "These attempts usually start with an innocuous direct message either inquiring about a product that’s on sale or notifying users that they have won a Giveaway. These messages tend to build confidence through a pleasant exchange before trying to take the conversation off the platform." The targets are mostly new users who do not know the rules yet.
Whatnot already had two defences, and the post explains why neither was enough.
The first is a central rule engine. It enforces policy on hard numbers such as shipping delays, refunds and cancellations, and it is good at that. But in the post's words: "The rule engine operates within the confines of distinct scalar values, rendering it inadequate for navigating ambiguous scenarios and contextual comprehension." A rule can count messages. It cannot read them.
The second is a content moderation model that checks each message before it is published. "While this is an effective measure, it does not help with understanding the context of complex topics like harassment or fraud." It sees one message at a time, and the key finding of the post is that one message is not enough: "So, trying to predict the probability of a message being a scam using a single message is pretty difficult and has low precision. However, if we look at the entire exchange, the patterns become pretty evident."

The design: the LLM gives a score and a reason, the rules decide
The fix is a pipeline in three phases, which the post calls Gather, Evaluate and Enforce. The interesting part is where the LLM sits: in the middle, as one more input.
1. Gather: pick the accounts, then collect the whole thread
Not every chat goes to the model. "We use different user signals (messaging patterns, account age) as qualifiers to determine which messages should be analyzed through LLMs." A cheap first pass narrows the traffic; only flagged accounts get the expensive read. The post does not say how many accounts pass that gate, or how the qualifiers were tuned.
For a flagged account, the model gets more than the latest message: "Each message by itself may not be a strong indicator of potential fraud but by taking into account the overall conversation, user engagement history, message attachments, and other dynamics at play like account age, we can better interpret the context and intent."
2. Evaluate: a prompt that asks for JSON, not prose
The post shows the prompt. It asks the model to "Assess if the provided conversation indicates a scam attempt." It explains the input format: "The interaction data is delimited by triple backticks, has timestamp, sender id and message separated by a '>>'." It hands over a list of known scam patterns, which the post leaves as a placeholder. And it fixes the output: "Provide likelihoods (0-1) of scam, assessment notes in json format which can be consumed by a service with keys with no text output:" followed by the two keys, "scam_likelihood and explanation (reasoning for the likelihood)?"
That output shape is the point. A number another service can read, and a short reason a person can read. The model named in the text is GPT-4: "With advances in LLMs and the advent of complex models like GPT4, we can advance beyond the limited context of the rule engine." The diagram in the post shows LangChain and an OpenAI service. The method is prompting, with no training: "We currently rely on zero-shot and few-shot learning LLM predictions."
3. Enforce: the rule engine combines the score with plain facts
The LLM does not ban anyone. Its output goes back into the rule engine as one more signal: "We use the LLM output and provide additional signals to our rule engine to determine if we should action the user:" The example rule is:
"scam_likelihood > 0.6 and account_age < X days and message_frequency > Y and lifetime_orders < Z"
The 0.6 is shown; X, Y and Z are not. We cannot tell whether 0.6 is the value Whatnot runs with or a number for the example.
When the rule fires, the action is temporary and a person follows: "If it passes the rule engine, we take temp action to disable certain features on the app and notify our ops team and pass along the LLM output (with likelihood and explanation) to investigate/action the user." The general flow has three outcomes: "close (no violation detected with high confidence), act (violation found with high confidence), or escalate (unsure if the violation is detected, needs a human review)."
The post sums up the stance in one line: "We aim to harness Gen AI’s potential as a cognitive partner (not a decision maker), combining AI-driven insights with human judgment in a human-AI partnership for robust trust and safety."
Scammers adapted, so the input grew
Text in images was the obvious next move: "For example, using text embedded in images rather than text messages. We combat it by adding OCR to message attachments and using that as additional input to the LLMs." The post adds that the same flow "has now also expanded to enforce other policies like off-platform transactions and harassment."
How they measured it
The whole result is two sentences: "Using automated detection we are able to proactively detect over 95% of scam attempts on the platform within a few minutes. We have seen 96% precision and high recall with the LLM output."
Read them carefully.
- "Over 95% of scam attempts" has no denominator. The post does not say how scam attempts were counted, by reviewers, user reports or something else, or over what period.
- "96% precision" is stated for "the LLM output". It is not clear whether that is the model alone or the final action after the rule engine.
- Recall is only "high". No number.
- No baseline. Nothing says how the per-message model or the rule engine did on the same cases before the LLM was added.
One qualitative claim is worth keeping, because it is the reason to use an LLM here at all: "The messaging is usually tweaked very often and that’s where LLMs surpassed our expectations in adapting to the different messaging patterns." Scam scripts change weekly; a prompt with a pattern list can change the same day.
What the post does not show
- No volumes. No count of messages read, accounts flagged, scams caught or reviewers involved.
- No cost or latency. An LLM call per flagged conversation costs money and time. The post gives neither, only "within a few minutes" for detection.
- No false positives. Nothing on good users who were restricted by mistake, or how fast they got their features back.
- No languages. Nothing on non-English chats, slang or mixed-language text.
- No privacy note. Private messages go to an outside model provider. The post does not say what is sent, what is kept, or under what terms.
- Only direct messages. The intro mentions "multimodal content moderation", but the post describes only the DM scam flow. Livestream chat and listings are not covered.
What has changed since
Whatnot has not written a follow-up on this system that we could find. The engineering blog's current feed holds ten recent posts and none of them revisits the scam flow. Older posts sit behind a page we could not reach, so a later one may exist. The closest is an April 2026 post on Whatnot's internal LLM platform, which mentions "helping a trust reviewer process a harassment report in minutes instead of hours" and an evaluation set-up where "This workflow highlights LLM as a judge calibration". It does not say it is the same system or give scam numbers.
Whatnot now publishes enforcement totals in Europe. Under the EU Digital Services Act it files transparency reports. The first, for February 2024 to February 2025, says: "We took 53,533 total proactive account actions during the reporting period. The vast majority of actions were for suspected fraudulent and scam-related behavior." The second, for calendar 2025, says: "We took 134,891 total proactive account actions during the reporting period." Neither report mentions LLMs, and the periods differ, so we cannot say the model drove the rise. The second report does show the cost side the 2023 post left out: Whatnot reports "granting 2,304 of the 5,437 total appeal requests" for its actions in that year.
The company grew. Fortune reported in August 2026 that Whatnot "recently raised its $545 million Series G, almost doubling Whatnot’s valuation from $11.5 billion in its October 2025 round". More users and sellers mean more chat to watch.
Ready-made safety models arrived, but they solve a different problem. Meta's Llama Guard, introduced in a December 2023 paper, is "an LLM-based input-output safeguard model geared towards Human-AI conversation use cases". It checks what a person types into a chatbot and what the chatbot answers. A scam message from one user to another is a different task. Its third version lists "(2) financial crimes (ex: fraud, scams, money laundering)" among harmful responses, and its model card names eight supported languages: "English, French, German, Hindi, Italian, Portuguese, Spanish, Thai." Indonesian is not one of them. Google's ShieldGemma also targets harm "in both user input and LLM-generated output", with no fraud category. OpenAI's omni-moderation model, from September 2024, does name Indonesian among the languages it improved on, but its categories cover harm, not scams or spam. None of these is a drop-in replacement for Whatnot's prompt with its own pattern list.
Big platforms now ask users before an AI reads their chat. In March 2026 Meta announced a scam warning in its messaging apps that will "ask if you’d like to share recent chat messages for an AI scam review". That is a different design from Whatnot's, where the platform picks the chats. The post does not say Whatnot asks users.
Published fraud work still leaves out cost and latency. A July 2026 survey preprint on LLM decision systems found: "Among the 18 fraud and investigation sources, none report clean per-decision latency, per-decision dollar cost, or calibration evidence". Whatnot's post fits that pattern.
Why it matters for your business
The scam in Whatnot's example looks familiar to Indonesian sellers and buyers. The script is the same here: a friendly start, then a push off the platform.
detikInet reported in December 2024 on a TikTok Shop case: "Seller melakukan penipuan dengan mengirim link melalui pesan WA, dengan modus perubahan jasa pengiriman." The advice in the same piece is the rule every app should repeat in its chat: "Pembatalan transaksi HARUS dilakukan dari dalam aplikasi". A 2023 Shopee survey, as reported by detik, found that of scams using an e-commerce platform's name, "56% terjadi di aplikasi chat seperti WhatsApp dan Telegram", led by fake prize draws and vouchers. The scale is large. In October 2025 detik quoted the digital ministry: by mid-2025 Komdigi had logged "lebih dari 1,2 juta laporan penipuan digital", and, citing OJK data, losses of "Rp6,1 triliun" from November 2024 to September 2025.
Live selling makes chat volume bigger and faster. Momentum Works, as reported by Marketing-Interactive, put TikTok Shop's Indonesian sales at "US$6.2 billion in gross merchandise value (GMV) in 2024", second only to the US. We found no official figure for live shopping alone, and no dated source on scams inside live-stream chat in Indonesia.
Getting it wrong has a cost on the other side too. In September 2026 Katadata reported that the e-commerce association asked platforms to make sure fraud investigations of sellers are done "secara jelas dan proporsional", after TikTok Shop Tokopedia said it had reviewed "217 penjual yang terdampak" by held balances. That is why Whatnot's order matters: a soft, temporary step first, a person before anything final.
The rules point the same way. Permenkominfo 5/2020 on private electronic system operators, in the 2020 text we read, asks platforms with user content to have content governance and to be "menyediakan sarana pelaporan", and to reply to the people who report. It has been amended since, so check the current version. Reading private chats with a model is processing personal data under UU 27/2022 (UU PDP): "Pengendali Data Pribadi wajib memiliki dasar pemrosesan Data Pribadi." And people have a right to object to decisions made by a machine alone: they are "berhak untuk mengajukan keberatan atas tindakan pengambilan keputusan yang hanya didasarkan pada pemrosesan secara otomatis". A human review step and a clear appeal path are not just good practice. This is our reading, not legal advice.
How we would build it today

Picture an Indonesian marketplace or live-selling app: buyers and sellers chat in Indonesian, English and slang, sellers stream, and two or three people handle reports.
- Start with rules on every message. Most Indonesian scam chats show their hand in a few cues: wa.me links, phone numbers written with spaces, dots or words to dodge filters, chat WA aja, shortened links, cancel/refund lewat link, fake prize or voucher bait, and a new account messaging many strangers at once. Rules are cheap, instant and easy to explain. Log which one fired.
- Send whole threads, not single messages, to a model, and only the flagged ones. Whatnot's main lesson holds: the thread shows the script. Read images with OCR too, since payment-proof screenshots and text-in-image bait are common here.
- Ask for a label, a reason and the evidence. Scam, spam, OK or not sure, a reason code, and the line it relied on. The explicit "not sure" keeps the review queue honest. Write your own pattern list in Indonesian and update it when reviewers see a new script.
- Let rules decide, as Whatnot does. Combine the model's output with account age, message rate and order history. Keep the thresholds in config so the team can tune them without a release.
- Act softly first. Warn the buyer in the chat, hide the link, slow the sender. Hold money or ban an account only after a person has read the thread and the reason.
- Measure before you switch it on. Label a few hundred real chats, including code-mixed text and screenshots. Report precision and recall with the sample size, against a rules-only baseline. Whatnot published neither the baseline nor the sample.
- Track the cost of mistakes. Appeals, how many you overturn, how long a good seller waited, reviewer hours. Whatnot's European reports show these numbers can be published.
- Treat chats as personal data. State the fraud-prevention purpose in the terms and privacy notice, send the model only the flagged thread, mask phone numbers and emails in logs, keep the data short-lived, check where the provider stores it, and give users a way to contest a restriction.
- Tell users the safe path. A short line in every chat: pay and cancel only inside the app, never through a link. Add a report button and reply to every report.
A first version, the rule set, the flagged-thread model call with a fixed output format, the soft actions, a review screen and a labelled test set, is about three weeks for one developer and one reviewer. Live-stream chat is a second phase: messages there are short and fast, so rate limits and rules come first and a model reads only flagged windows.