Many spells can be used to create dangerous traps. Unless the spell or item description states otherwise, assume the following to be true.
A successful Search check (DC 25 + spell level) made by a rogue (and only a rogue) detects a magic trap before it goes off. Other characters have no chance to find a magic trap with a Search check.
Magic traps permit a saving throw in order to avoid the effect (DC 10 + spell level x 1.5).
Magic traps may be disarmed by a rogue (and only a rogue) with a successful Disable Device check (DC 25 + spell level).