Factory reset Mac doesn't bring any threats to your computer because this operation only erases all data and returns to the way it was before the first use. Unless you have a specific reason for doing so, performing a factory reset on a Mac is usually unnecessary. But if you don't back up files before factory resetting, data will lose during the process.