confused deputy

Noun

 * 1)  A computer program that is innocently fooled by some other party into misusing its authority.