If someone gives you conditions to which you don't agree, maybe don't use that lib?
Do you think you have some moral right to use the library and violate conditions to which you do not agree? Get another library or write your own.
If the conditions are nefarious you have a moral imperative to disobey. That's called civil disobedience.
If the conditions are nefarious you have a moral imperative to disobey. That's called civil disobedience.