Background and aimsThis study aimed to explore potential hub genes and pathways of plaque vulnerability and to investigate possible therapeutic targets for acute coronary syndrome (ACS). Methods and resultsFour microarray datasets were downloaded from the Gene Expression Omnibus (GEO) database. Differentially expressed genes (DEGs), weighted gene coexpression networks (WGCNA) and immune cell infiltration analysis (IIA) were used to identify the genes for plaque vulnerability. Then, Kyoto Encyclopedia of Genes and Genomes (KEGG) pathway enrichment, Disease Ontology, Gene Ontology annotation and protein–protein interaction (PPI) network analyses were performed to explore the hub genes. Random forest and artificial neural networks were constructed for validation. Furthermore, the CMap and Herb databases were employed to explore possible therapeutic targets. A total of 168 DEGs with an adjusted P < 0.05 and approximately 1974 IIA genes were identified in GSE62646. Three modules were detected and associated with CAD-Class, including 891 genes that can be found in GSE90074. After removing duplicates, 114 hub genes were used for functional analysis. GO functions identified 157 items, and 6 pathways were enriched for the KEGG pathway at adjusted P < 0.05 (false discovery rate, FDR set at < 0.05). Random forest and artificial neural network models were built based on the GSE48060 and GSE34822 datasets, respectively, to validate the previous hub genes. Five genes (GZMA, GZMB, KLRB1, KLRD1 and TRPM6) were selected, and only two of them (GZMA and GZMB) were screened as therapeutic targets in the CMap and Herb databases. ConclusionWe performed a comprehensive analysis and validated GZMA and GZMB as a target for plaque vulnerability, which provides a therapeutic strategy for the prevention of ACS. However, whether it can be used as a predictor in blood samples requires further experimental verification.