It's on the top of the building with the shockers.
rescue spy trap in attic by building with zappers
You just climb but it takes perfect timing. Good Luck!
You need the Laser Pen. The spy in the attic is the "second spy" to rescue, because the first spy you rescue has the Laser Pen. Get the Chameleon suit from Spyglass Eyewear, and rescue the first spy on the docks. Then you can come back to the electrified building and save the second spy. (see related questions)
You have to free the "first" spy, at the Docks, before you can rescue the "second" spy, who is in the attic behind the bars. The first spy will give you a Laser Pen that can cut the bars. (see related question)
The spy at the electrified building is the second spy you have to rescue, as they have to be saved in order. The first spy to be rescued is at the Docks, and when you save him, you receive the Laser Pen, which can cut through the attic window bars and reach the second spy.
The first spy is in the vault through the door on the roof of the BAD headquarters. The second spy is in the attic of the house with the laser lights on Toupee Terrace. The third spy is in the green house of the building with the laser and the guard when you enter the place called 'Rooftops'.
either in the building with all the Venus fly trap in the cage or in the building tied up in the in the attic
Once you successfully use the Chameleon Suit to rescue the first spy, you can use the Laser pen to rescue the second spy, who is in the attic of the electrified building on Toupee Terrace. You have to climb up past the windows, and use the laser pen to cut the bars on the attic window. (see related questions)
Take the Laser pen and go to the electrified building on Toupee Terrace. Climb the windows by jumping when they turn off. Use the laser pen to cut the attic bars and save the 2nd spy.
Spy Island is island #6. After Spy Island is Nabooti Island #7
easy. it is the house with the electric shock fields. just go to the right. try to get into the attic and save the 2nd spy. electric shock fields take very careful timing.
The laser pen is given you by the First Spy that you rescue, at the docks. It can cut some forms of metal, but it only works in one spot, rescuing the second spy who is in the attic of the electrified building on Toupee Terrace.(see related questions)