As another commenter pointed out since it wasnt infringing directly (code wasn't infringing copyrighted code) it actually does not fall under that constraint.
Even if I'm wrong, this is a valid way to dos my repo. Like when it happens on YouTube people loose money right and that's some people's main income. This can be even worse.