Taken together, these results affirm the correlation between NSAIDs-induced dysbiosis, AIH, and ASD severity, and further, suggest NLPR3 and IL18 genes as appropriate prognostic markers for early diagnosis of ASD children with AIH history. This evidence concerns the gene IL18 and autoimmune hepatitis.