Defective part in program is spotted (5)
I believe the answer is:
amiss
'defective' is the definition.
(I've seen this in another clue)
'part in program is spotted' is the wordplay.
'part in' indicates a hidden word.
'AMISS' is hidden within 'program is spotted'.
(Other definitions for amiss that I've seen before include "Haywire" , "error" , "Fallacious" , "Mistaken" , "inappropriately" .)