One simple solution is just to gate the programmatic access by confirming with the user when the app wants to read the clipboard.
iOS does this
You get an "Allow paste from <app>?" pop-up. Possibly only the first time you past from one app to another? Or maybe it resets after a while. I don't know the details.
iOS does this
You get an "Allow paste from <app>?" pop-up. Possibly only the first time you past from one app to another? Or maybe it resets after a while. I don't know the details.