Detailed Analysis
Shellac (E904, also called confectioner's glaze or pharmaceutical glaze) is a resin secreted by the lac bug.
Scholars differ on its status: some consider it haram because it is an insect-derived product, while others consider it halal because it is a secretion (not the insect itself). Used to coat candies, pills, and fruits.