I had my agent write an anti-exfil BIP for hardware wallets, implement it in libsecp, Bitcoin Core and several firmwares, with HWI device simulator integration tests on top.
That said, I haven't read it :-)
It might even be the wrong design.
I won't have time to work on this anytime soon, so feel free to run with it. They're all pull requests against my forks.
Sjors Provoost
sjors@sprovoost.nl