Comment by OutOfHere
You are forgetting something, which is that if the code is hosted on a social site, e.g. GitHub, many additional rules apply.
Gross misrepresentation of one's software will earn complaints to GitHub. It is the responsibility of the author that the repo's readme does not ovepromise and underdeliver.
There is nothing in GitHub's terms of service or AUP that says anything even close to that.