It was part of the tether for the anti-shoplifting tag.
https://www.aliexpress.us/item/2251832232923840.html
this is a better link: https://www.amazon.com/Security-Lanyard-Prevention-Antishoplifting-Systems/dp/B01ELOT5GA?th=1