Make sure you set the USB C port to charging only even when unlocked, this might have prevented the exploit. There are also power only USB cables or adapters who cut the data cable connection.
Yes, it is a good idea to regularly reinstall graphene os and start from zero, make sure you have all backups.