Port Scanning is Malicious

Whether the port scan is used as part of an infection or part of e-commerce or bank “security checks”, it is clearly malicious behavior and may fall on the wrong side of the law.

If you observe this behavior, I encourage you to complain to the institution performing the scans, and install extensions that attempt to block this kind of phenomenon in your browser, generally by preventing these types of scripts from loading in the first place.