There are two types of crashes here: crashes from unprotected calls to the Lua API that cause errors to be raised, and segfaults. Obviously segfaults are more important to avoid, but neither of these should ever happen as a result of a Lua mod, even if the mod does really weird fucked up stuff.
Also can add "assertion failures" to the list of crashes to avoid