in my last few months there , i 'd been put in charge of security , replacing an outside tech consultant who 'd had the job for two years but had failed to detect the theft of company source code , until it turned up in a program being marketed out of taiwan .