Detection and Prevention of Misuse of Software Components