At present, only some foods have anti-counterfeiting codes, such as organic food. There is an "organic code" on the package, and you can directly check the authenticity.
In addition, green food and pollution-free food have their own logos, which can be regarded as a kind of anti-counterfeiting.
There are also local products, such as Wuchang rice, which have security codes.
There are also some famous brand foods that have anti-counterfeiting codes to prevent others from forging them.