Quote:
1.6 Give proper credit for intellectual property.
Computing professionals are obligated to protect the integrity of intellectual property. Specifically, one must not take credit for other's ideas or work, even in cases where the work has not been explicitly protected by copyright, patent, etc.
2.3 Know and respect existing laws pertaining to professional work.
ACM members must obey existing local, state,province, national, and international laws unless there is a compelling ethical basis not to do so. Policies and procedures of the organizations in which one participates must also be obeyed. But compliance must be balanced with the recognition that sometimes existing laws and rules may be immoral or inappropriate and, therefore, must be challenged. Violation of a law or regulation may be ethical when that law or rule has inadequate moral basis or when it conflicts with another law judged to be more important. If one decides to violate a law or rule because it is viewed as unethical, or for any other reason, one must fully accept responsibility for one's actions and for the consequences.
By passing off someone else's work as his own, the student who contacted him is failing to give proper credit to the true owner of intellectual property in clear violation of 1.6. Furthermore, you can bet that the student's college has policies on academic honesty that would be broken by such blatant cheating, and breaking such a policy violates 2.3.