How to get rid of "application downloaded from the internet" message when installing homebrew casks? I used homebrew cask to install many applications for quite a while now. But recently macOS keeps asking me to first confirm the "application downloaded from the internet" question that is usually only displayed for apps that are run for the first time. 



What happened and how can I get rid of this?

Update

I use an admin account to install apps (brew cask install calibre), but I basically use a non-admin account all the time. I can get rid of the message by logging into the admin account and launching the app once and then the message disappears also for the user account.
Wohoo! I just realized that there is apparently now a built-in solution to the problem! Homebrew offers a --no-quarantine flag. That means one can now install casks without the annoying message, by using
brew install --no-quarantine calibre

or
brew reinstall --no-quarantine calibre

Update: There is currently a bug in Homebrew that prevents the latter command (reinstall) from working.