Transfer of a sulfur ion to cyanide or to other thiol compounds. Also has weak rhodanese activity. Detoxifies cyanide and is required for thiosulfate biosynthesis. Acts as an antioxidant. In combination with cysteine aminotransferase (CAT), contributes to the catabolism of cysteine and is an important producer of hydrogen sulfide in the brain, retina and vascular endothelial cells. Hydrogen sulfide H2S is an important synaptic modulator, signaling molecule, smooth muscle contractor and neuroprotectant. Its production by the 3MST/CAT pathway is regulated by calcium ions.