Security breach 'mastermind' held, 4 in 7-day police custody