Warning occurs when suspicious software wants to access user information.
And just write a few more simple lines of code, your malware can bypass the user warning dialog and get access to geographic location, contact list and more without verification .
Hacker can only take advantage of this vulnerability to bypass the warning request verification and click OK but cannot break the user's password.
However, this finding also shows that the most basic protection mechanism can be cracked easily and manufacturers need to further enhance the security elements of the operating system.
The vulnerability can be fixed in the next macOS Mojave update.
See more: