feat: enhance custom module permissions and integrate host functionalities