Hi!
First: thanks for your great script!
I think there is a bug in checking v4 mitigation: if it is disabled via kernel option "spec_store_bypass_disable=off" it will still show "STATUS: NOT VULNERABLE" in green, at least on a system with SSBD uCode.
(disabling v2 via "spectre_v2=off" will correctly show vulnerable in red for v2, same for PTI/Meltdown)
Regards