In India, the primary law that regulates corruption related offences by public servants is the Prevention of Corruption Act, 1988. The Act of 1988 covers offences like that of taking bribe, criminal misconduct (including amassing of disproportionate assets) by a public servant and mandates prior government sanction for prosecution.
The principle of immunity protects all acts which the public servant has to perform in the exercise of the functions of the government. The purpose for which those acts are performed protects them from criminal prosecution. However there is an exception- When a criminal act is performed under the colour of authority but which in reality is for the public servants’ own pleasure or benefit, then such act shall not be protected under the doctrine of state immunity.
In the year 2011, India ratified the United Nations Convention against Corruption, 2005 (UNCAC for short) and agreed to bring its domestic laws in line with UNCAC. The UNCAC covers giving and taking a bribe, illicit enrichment and possession of disproportionate assets by public servant as offences, addresses bribery of foreign public officials and bribery in the private sector.