Therefore, our study aimed to explore whether APS could treat herpes simplex by increasing CD8+ TRM cells and its potential mechanism using network pharmacologic analysis. Here, CD8A is linked to autoimmune polyendocrinopathy.