If it detects an anomaly-which means any system modification-it will repair itself.
Every time a Chromebook starts up, it checks the integrity of the operating system. If by some wild chance a type of malware comes along that finds a way out of this sandbox, Verified Boot continues to protect the system.
And when you close that tab, the sandbox is killed with it. That means if the system identifies an infected page, the “infection” only exists within that tab it has no way of making its way to the rest of the system. Every tab you open-be those in the Chrome browser or a standalone web app-runs in a virtual sandbox. There are several reasons for this, but the main one is because of sandboxing. Like we said earlier, there is no such thing as a virus for Chrome OS.