This is an extension for Automate. Why an extension? Please read:
http://llamalab.com/automate/doc/security.html

From version Automate location permissions 1.0.2:

• Mock location permission

All versions