Tool is called CodeGuard Pro blocks at install time, not after. Open source, pip installable.
Post to r/netsec that's the right sub for this. Don't post to r/Python and r/programming at the same time, wait to see how r/netsec goes first.