The security improvement of service provided by peer-to-peer (P2P) network has been widely studied. Security issue of P2P is mainly related to the users of P2P services and threat of malicious software. Especially, some malicious software could threaten other P2P users and even threaten the security of the entire P2P network. In this paper, based on the analytical hierarchy process, a degenerated node evaluation model has been proposed to evaluate the node resource usage of the P2P. Moreover, an attribute clustering based collaborative filtering algorithm is depicted for calculating the similarities between the identified degenerated node and all other nodes within a hybrid autonomous cluster. The algorithm utilizes similarity characteristics of node task resource attributes, especially CPU related attributes, to filter redundant data by feature selection. Experiments show that, the proposed model and method is feasible and has the vital significance for providing decision support and recommendation to the search node. It is practical for secure computing of P2P network.