> I suppose you'd do it the same way any North Korean operative would.
What you are describing here is something any country could do – yes, it is conceivable that Australia's intelligence agencies could use bribery/harassment/threats/blackmail/etc to turn Australian citizens into unwilling spies – but the same is true of the UK, the US, France, Germany, whatever.
The thing that people are calling out Australia over, is a law which says a court can order someone to install a secret backdoor, and furthermore order them not to tell (almost) anyone about it. [0] And I'm sceptical that law could be used in the way you describe – e.g. "They'd offer you training on how to bypass the controls" – the law says a court can order you to install a backdoor – it doesn't say it can order you to attend a training course on how to "bypass controls".
Keep in mind, while proceedings are under seal, you are allowed to retain a lawyer, and your lawyer can make legal arguments before the judge, and can appeal the judge's rulings. IANAL, but would a judge rule that a power to order someone to install a backdoor extends to ordering them to attend a government-run training course on how to deceive their employer? Even if a judge did rule that way, would the appellate courts uphold the ruling?
Or, similarly – "They'd get you to exfiltrate the code and the product roadmap" – does a legal power to order someone to install a backdoor, extend to a legal power to order them to hand over generalised confidential information of their employer? Or similarly – "They'd have you do very innocent, justifiable things at first" – does a legal power to order someone to install a backdoor, extend to a legal power to order them to do "very innocent, justifiable things" which don't in themselves directly contribute to installing any backdoor?
And, as I said, if your lawyer can't talk the court out of it – resign. Will a judge hold that a judicial power to order to the installation of a backdoor extends to ordering a person not to resign their job?
Get a medical certificate saying you can't work. Get yourself admitted to a private psychiatric hospital on the grounds that the stress of this secret government order has caused you to have a nervous breakdown / panic episode / suicidal ideation / etc. (I think if I ever were issued such a secret government order, it really would have that kind of extreme detrimental impact on my mental health, I wouldn't be faking it.) I think a lot of psychologists/psychiatrists/etc would be very sympathetic to your plight. What's a judge supposed to do if they have a psychiatrist testifying that you are medically unfit to comply with the order, or return to the job which the order is associated with?
[0] You are explicitly allowed to tell your personal legal counsel.