Is disabling the internet access to the application not a viable short term solution? We can't remove it yet as it is required in an ongoing project.
I am currently denying access to the application via:
flatpak override --unshare=network org.audacityteam.Audacity