Help Center › Authenticity › Counterfeit protection
Counterfeit protection
Every product gets a QR code with a signed serial number. Invented numbers fail the check, copied labels stand out through their scan pattern.
Counterfeit protection gives every single product its own QR code with a signed serial number. A scan shows whether the number is genuine. This article explains how it works – first simply, then technically – and where its limits are. How to create serial numbers is described in Serial numbers.
From Scaleup
In simple terms
Think of a seal that only Tagvio can make. Every serial number carries such a seal. When someone scans the code, Tagvio checks the seal in a split second. An invented number has no valid seal. A genuine number copied onto another product does not fit there either. In both cases the scanner sees a warning.
Be aware of the limit: a QR code can be photocopied. A copy of a genuine label carries a genuine seal. Tagvio does not check the print itself (no special ink, no hidden pattern). A copied label is detected by how it is scanned: the same serial number suddenly turns up in many countries or is scanned very often. Then you decide whether to block it.
Practical tip: place the code where only buyers can scan it, for example inside the box or under the cap. Combine it with physical features such as a tamper-evident seal if your products are often copied.
How it works technically
A serial number has 19 characters in Crockford Base32 (digits and letters without I, L, O and U):
- 1 character key ID,
- 10 random characters,
- 8 characters signature: a shortened HMAC-SHA256 over the tag, the key ID and the random part.
Because the tag is part of the signature, a serial number only counts as genuine on its own tag. Another workspace that uses the same GTIN cannot create serial numbers that pass at yours. 19 characters fit into the GS1 serial number field (AI 21, up to 20 characters). A scan address looks like this:
https://go.tagvio.app/01/09506000134352/21/1K7Q2M9XR4TPZ8D3HV6
Tags without a GTIN use /p/…/s/…. The scan server checks the signature directly, without looking anything up in a database. A genuine scan goes to the tag's normal destination. Web destinations also receive ?serial=…, for example for a warranty registration. In the background, Tagvio then updates the state of the serial number: number of scans, first and last scan, countries. Older serial numbers with 18 characters (without key ID) stay valid.
States of a serial number
| Shown | Meaning |
|---|---|
| Genuine signature | Created by Tagvio for this tag and issued in a batch. |
| Invalid – not a serial number of this product | Invented, mistyped or taken from another product. |
| Valid signature, but not issued in a batch | Should not happen. Please contact us. |
| suspicious | Genuine, but scanned in many countries or very often. |
| blocked | You blocked it. Every scan shows the warning. |
Suspicious serial numbers
A serial number becomes suspicious from 3 countries or 50 scans. It then appears on the tag's Authenticity tab under Suspicious and blocked serial numbers. The scanner still sees the normal destination: a genuine product can travel, for example as a gift abroad or as a sample bottle in a shop. Check the case, then block the serial number if needed.
Lumea Naturkosmetik sells a face serum in Germany and Austria. One serial number is scanned 64 times in a week, in Germany, Poland and Thailand. The brand checks it, sees the pattern of a copied label and blocks it. From then on, everyone who scans this label sees the warning page – and the brand gets the webhook event in its Slack channel.
Warning page for scanners
The warning appears when the signature is wrong or the serial number is blocked. By default, Tagvio shows its own page in the scanner's language (English or German): Authenticity not confirmed, with a request to contact the seller or manufacturer. Under Page for counterfeits (optional) you can set your own page instead. Machines that ask for JSON receive {"authentic": false}.
Each such scan appears in Analytics as Counterfeit?, with a red point on the globe. With the webhook event Counterfeit suspicion you get notified: for a wrong signature, a blocked serial number, or once when a serial number becomes suspicious. See Webhooks.
Keys and key replacement
The secret keys stay with Tagvio. They never appear in the app, in the CSV or on the label. Without a key, nobody can create new valid serial numbers. Each serial number starts with the ID of the key that signed it. If a key ever has to be replaced, Tagvio signs new serial numbers with a new key and keeps checking older ones with the old key. Printed labels stay valid; you do not need to reprint anything.
Related: Serial numbers, Product (GTIN), Security.
Use the contact form or write to hello@tagvio.app – we usually reply within 1–2 business days.
Free plan forever. No credit card. Early access: we activate new accounts within one working day.