PTPN1 and type 2 diabetes mellitus: The Shikonin scaffold and their antidiabetic effects as PTP1B inhibitors are discussed in depth in this article, providing new perspectives for the development of new drugs for the treatment of type 2 diabetes.