Suspicious activity blocked

PowerShell tried to load a malicious resource detected as Heur.BZC.ZFV.Boxter.1050.250F2EC8 and was blocked. Your device is safe. This happened right after an AI agent generated and executed code on my machine.

Has anyone else seen this?
Is this likely a false positive from AI-generated code, or should I be worried?
Any tips on how to prevent this or check if everything’s really safe?

Thanks for any advice!