See Full Constitution
Article V

Section 17. Prohibited activities

(a) Justices and judges shall devote full time to their judicial duties, and shall not engage in the practice of law, hold office in a political party or political organization, or hold an office or position of profit in the government of the United States, the Commonwealth or any municipal corporation or political subdivision thereof, except in the armed service of the United States or the Commonwealth.

(b) Justices and judges shall not engage in any activity prohibited by law and shall not violate any canon of legal or judicial ethics prescribed by the Supreme Court. Justices of the peace shall be governed by rules or canons which shall be prescribed by the Supreme Court.

(c) No justice, judge or justice of the peace shall be paid or accept for the performance of any judicial duty or for any service connected with his office, any fee, emolument or perquisite other than the salary and expenses provided by law.

(d) No duties shall be imposed by law upon the Supreme Court or any of the justices thereof or the Superior Court or any of the judges thereof, except such as are judicial, nor shall any of them exercise any power of appointment except as provided in this Constitution.