Apps like Wasted perform the factory reset via recovery - they aren't the best way to perform a factory reset, nor are they useful in duress situations. More than likely performing a factory reset like this doesn't clear data the way a typical power off should do.
GrapheneOS developers appear aware of that, as the upcoming duress PIN feature will reset in a different, unique method of factory resetting without recovery so it will actually work against duress.
This shows once again that turning the phone off completely, having an extremely strong passphrase and/or having a low auto-reboot time is the best way to overcome it. Apps like Wasted are just easily bypassed security theater. Judging by how MSAB made a whole video just about the app itself, then the app must have been making traction somewhere, which is quite surprising.