That is so completely bass-ackwards it’s not even comprehensible. If the router knows you’re trying to connect to a malicious site, it should block your access to that site. Taking action against your device in this scenario doesn’t serve any purpose at all. I’m going to assume that this router is incredibly misconfigured, and that’s not a default behavior.