Official Secrets Act, 1923
10. Penalty for harboring spies
(1) If any person knowingly harbors any person whom he knows or has reasonable grounds for supposing to be a person who is about to commit or who has committed an offence under section 3 or under section 3 read with section 9 or knowingly permits to meet or assemble in any premises in his occupation or under his control any such persons, he shall be guilty of an offence under this section.
(2) It shall be the duty of every person having harbored any such person as aforesaid, or permitted to meet or assemble in any premises in his occupation or under his control any such persons as aforesaid, to give on demand to a Superintendent of Police or other police officer not below the rank of Inspector empowered by an Inspector-General or Commissioner of Police in this behalf, any information in his power relating to any such person or persons, and if any person fails to give any such information, he shall be guilty of an offence under this section.
(3) A person guilty of an offence under this section shall be punishable with imprisonment for a term which may extend to 20[three years], or with fine, or with both.