Each rule leaves a reason code on the decision, so every verdict can be traced to what caused it. Thresholds and weights are set per tenant in policy and are not published here.
Normalisation
Spammers alter text to slip past filters. YepShield normalises a message before it looks for links, numbers or phrases.
- Unicode is normalised, and look-alike characters from other scripts are mapped to their Latin forms.
- Zero-width and bidirectional control characters are removed.
- Common character substitutions are unfolded.
- Spaced-out and bracketed links are rejoined.
- A case-folded copy is kept for matching.
- The share of characters that needed substitution is kept as an obfuscation measure and is itself a signal.
Binary and encoded messages
Bodies are decoded from GSM 03.38, UCS-2 and 8-bit data. The user data header is read for concatenation, port addressing and WAP Push links, and configuration messages are recognised. A binary body is decoded to its payload and any links in it, so a link hidden in a binary message is seen. An integrity problem that the gateway reports, such as a header that does not match the body, is recorded.
Extraction
From the normalised text YepShield extracts links with their registrable domain, phone numbers in national and international forms, callback numbers, monetary amounts and brand mentions.
Lists
Lists are kept per tenant and hold entries of several kinds: domain, link, number, sender and phrase. They support exact and wildcard entries, a category and confidence for each entry, a source and an expiry.
- A deny match adds a finding with the entry's category and confidence.
- An allow match suppresses a finding.
- A do-not-originate list of numbers can be kept as a list of the number kind.
- Phrase lists hold keyword and wildcard patterns that analysts maintain. They match the normalised text and again with accents and punctuation folded away. This is the shape that an operator's existing hand-kept blacklist already has, so it can be imported.
- Intelligence imports load indicators in JSON Lines into a per-source deny list, with a source name, confidence and expiry. The same format exports. The origin of every entry is recorded.
List changes are subject to approval where the tenant requires it, and appeals can reverse a list entry.
Velocity
Counters per tenant and sender track activity in several time windows. They drive these rules:
| Rule | What it looks for |
|---|---|
| Rate | Volume above what a person could send, set per traffic class, or above the registered throughput for an entity |
| Burst | A spike against the sender's own baseline |
| Fan-out | Many distinct receivers from one sender in a window |
| Symmetry | Volume sent with no replies coming back, unless the sender is on the exceptions register |
Campaign rules
Campaign rules recognise coordinated messaging:
| Rule | What it looks for |
|---|---|
| Similar length | Consecutive messages of identical or very similar length |
| Steady volume | The same or similar daily volume over consecutive days |
| Multiple senders | One campaign spread across several sender IDs. Registered entities are skipped |
Origin rules
The origin step sets the traffic class (A2P, P2P or unknown), the sender type (alphanumeric, short code, national number or international number) and whether the message is traceable. It flags:
- international traffic presented with a national sender
- A2P traffic that is shaped like P2P, and A2P on a route that carries only P2P
- missing identification attributes that a route must carry
- A2P on an ingress without a formal agreement
- invalid destinations
See Sender registry for the registry-based checks.
Reason codes
Reason codes are grouped by step, for example origin.*, registry.*, velocity.*, campaign.*, content.*, binary.* and policy.*. The console shows them with a description, and they appear in decisions, reports and appeals.
Tuning
All of this is policy, per tenant. Start in observe mode, read the verdicts against your own traffic, and move a category to label or enforce only when its measured precision allows it. See Policy matrix and modes.