You're right, it looks like Microsoft Defender is causing the problem...
Anyway, thank you for your comment.