User blog comment:TheFallenOneGOTH/Final days on Wikia?/@comment-1038387-20150730220000/@comment-5454372-20150731005615

If you want to further bolster your security, then go to your wikis and check whether they're using original source codes, or imports from dev.wikia and other sources. If you want to prevent "hacks", then go to where the scripts are being imported from and copy the source code directly into into the wikis CSS and JS pages, while deleting the imports.

The downside to this is that you won't recevie automatic updates to the codes when they're made, but it'll also stop anyone from being able to tamper with your wiki indirectly. The closest middle ground I can suggest (while erring on the side of caution) is to make a note of where you originally got the codes from in your CSS and JS pages, and periodically check the originals to see if any updates have been made.