The Editor needs to be updated. windows defender keeps false positive id as a virus.
Definitions change daily for security software, you need to add exclusions yourself.
Link
How Can I access the inventory editor?
you look at the older trainers and see that the inventory editor was released in 2019
Can't open it saying has a virus.
then follow the antivirus instructions, or don't use it