Is there a way to explicitly set a specific list of macros that are validated instead of skipping validation for all of them? as the documentation of the option suggests this is a security risk:
-skipMacroValidation Skip validation of macros (this can be a security risk if they are not from trusted sources)