For me, this problem seems to have appeared following a signing issue in Docker: https://github.com/docker/for-mac/issues/7527 (I restarted my computer to try to fix this problem, and this new issue about Docker containing malware appeared).
Simply reinstalling Docker fixed the problem.