Mushroom spore syringes contain a liquid and sterile environment in which the spores are stored, to be used after opening the syringe. They can be bought and used legally, for laboratory research.
Magic mushrooms are still prohibited, despite the trend to decriminalize them, but the spores have a special status, and this is due to the fact that they do not contain the substance that is actually prohibited: psilocybin. Psylocibin only appears in the next stages of development, so the spores are in a legal gray area.
However, if you are interested in mycology and want to buy spores to use them in the laboratory, you must know that there are still risks.
It is essential to look for pathogen free mushroom spores for sale from a reliable source, to ensure not only that they are viable, but also that they have not started to germinate. Spores can enter the germination phase even in the liquid medium from a syringe, if it has not been properly sealed and sterilized. Once they start to germinate, the spores become illegal, and you will bear the consequences. The fact that you didn’t know what you were buying is not relevant. For the authorities, only the fact that you use illegal substances will matter, so procuring them from safe sources is your responsibility.