How to prevent Silverfish from melding into blocks
There is no way to prevent silverfish from entering blocks (although this seems to me that it should be prevented by mobGriefing
, maybe you should suggest it?). I don't know if this is suitable, but a potential solution is to set the difficulty to peaceful. Then, if silverfish did spawn they would instantly de-spawn again.