Peace be upon you.
Grand Ayatollah Sayyid Sistani (may Allah protect him):
There is no issue with this if the item being sold (the box) has value that rational individuals compete over. However, if the item being sold (the box) has no intrinsic value, it is obligatory to consider the transaction invalid.
Grand Ayatollah Sayyid Khamenei (may Allah protect him):
Anything that is desired by rational individuals—regardless of whether it is a specific type—due to its permissible benefits is considered property, and all the rulings and effects of valuable items apply to it, including ownership, permissibility of buying and selling, liability for possession or damage, and so on, unless there is evidence to the contrary. It is advisable in transactions involving items like insects to consider the compensation as a right of exclusivity and to relinquish possession of these items.
May you be successful in all good.