All spells have to be tested several times so all known effects (bad and good) can be written down. The general principle the government works to is that, as long as suitable warnings are given, what happens after that is down to the individual taking the risks associated with that particular charm. And if it goes wrong, it was down to them doing something wrong.
The books themselves must have spells put on them so they cannot be edited after production. The buildings in which these books are produced also have defensive spells put on them and the government/Council send out inspectors regularly to ensure these standards are being met. They also check that the defensive spells are robust enough.
The body of inspectors is officially known as OffSpell though the Witch calls them OffNoseyParkersGettingInHerWay. She'd love to interfere with the spell books the fairies use so said charms would backfire to fatal effect but of course the fairies anticipated that centuries ago.