Section 138 of The Bharatiya Sakshya Adhiniyam :Accomplice.

Accomplice. The Bharatiya Sakshya Adhiniyam 2023
An accomplice shall be a competent witness against an accused person; and a conviction is not illegal if it proceeds upon the corroborated testimony of an accomplice.