Rouge flew into Eggman's base completely undetected. With how many times the two crossed paths, it was too easy to notice and avoid his defences.
As she reached his main computer system, she accessed it with the same password he used for everything else. Unfortunately, she didn't realise that he wanted her there. He made a final defence just for her.