Warning: This is 3.0 Edition material. It is possible that there is more recent 3.5 Edition version.
Inaccurate?

Detect Curse

(Oriental Adventures)

Divination
Level: Shaman 3,
Components: V, S, M,
Casting Time: 1 round
Range: Close (25 ft. + 5 ft./2 levels)
Target: One creature, one object, or a 5-ft. cube
Duration: Instantaneous
Saving Throw: None
Spell Resistance: No

You determine whether a creature, object, or area has been cursed or carries a curse.
You can determine the general nature of the curse with a successful Spellcraft check (DC 20).
In scanning a cursed scroll, you could learn that the curse causes misfortune to the reader, but you could not tell the specific effects.
If you succeed at the Spellcraft check, you receive a +4 bonus to your effective level when casting remove curse on the item or person analyzed with this spell.
Note: The spell can penetrate barriers, but 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt blocks it.
Material Component: A small gem worth at least 10 gp.