Mass. Gen. Laws ch. 142A, § 17
The following acts are prohibited by contractors or subcontractors:
(20) violating any other provision of this chapter.
Violations of this section shall subject the violator to the administrative sanctions of section eighteen and to criminal prosecution as prescribed in section nineteen.
Violations of any of the provisions of this chapter shall constitute an unfair or deceptive act under the provisions of chapter ninety-three A.
For purposes of this section, the conduct of a contractor or subcontractor shall be deemed to include the conduct of their agents, employees, salespersons or subcontractors, whether or not an express relationship exists, if the work or activities is within the scope of the contract and not for additional work beyond the contract undertaken by separate agreement with the owner.