I can't in good conscience say that the Ukrainians are evil for laying mines well after the invasion started, even though we all know that when the fighting eventually stops it's going to be a disaster to deal with.
Now the Balkans was a different story, where mines were intentionally laid in areas to target civilians. So in the end, like any device designed to kill, it's how and why it is employed that makes the act "evil" or not.