Open AI released ChatGPT at the end of November 2022 and further released Sora on February 16,2024,marking the advent of a new technological era.While the judicial application of artificial intelligence(AI)has proven beneficial as an auxiliary tool,it has simultaneously given rise to several practical challenges,including algorithmic opacity,allocation of decision weights,rigid judgment rules,and undermining of judicial authority.Addressing these legal risks necessitates legal countermeasures.Firstly,strict mechanisms for the protection of data privacy and security must be established.Secondly,the potential opacity and unfairness of AI decisions call for interpretability and transparency technologies to ensure justice.Thirdly,AI may harbor issues of discrimination and bias,which require data governance and scrutiny to minimize impact.Lastly,the application of AI might challenge the fairness of judicial procedures and the protection of human rights,which should be regulated through legal and ethical norms.It is critical to maintain the accountability of judicial entities,allow experimental settings of decision weights,uphold checks and balances,and enhance the systemic role of human-computer interactive decision systems in AI jurisprudence,with the goal of expanding and improving the institutional functionalities and legal norms for AI application in the judiciary.