All records of the office of inspector general shall be confidential unless, it is necessary for the inspector general to make such records public in the performance of his duties, and shall not be public records as defined in section seven of chapter four.
Violation of the provisions of section nine and section ten relative to the secrecy of proceedings by the inspector general or any member of the staff, or by any member of the inspector general council, shall be punished by imprisonment in a jail or house of correction for not more than six months or by a fine of not more than one thousand dollars.
Mass. Gen. Laws ch. 12A, § 13