Its safe providing you do the job properly. That means soldering the wires together, not just twisting them and making sure they are well insulated. Make sure you get the polarity right other wise the fan will end up spinning in the wrong direction.
The information on Computing.Net is the opinions of its users. Such
opinions may not be accurate and they are to be used at your own risk.
Computing.Net cannot verify the validity of the statements made on this
site. Computing.Net and Purch hereby disclaim all responsibility
and liability for the content of Computing.Net and its accuracy.