As an academic working at a university, is it wrong to (personally) accept money for your research outputs? Would this be a bargain you would be happy to take?
EXAMPLE: Suppose you are a Mathematician with valuable algorithms or expertise (e.g., quantum-era code breaking, fancy AI, ...) and you are offered a (secret) contract of $150,000+ in additional salary per year to give access to an external entity (e.g., company) all of your research before it is published. For example, your mathematical proofs and working computer codes. You give them the right to patent any results, to use the codes for their own purpose, and potentially veto the publication of any result they would like you to keep secret.