Links that violate Google's guidelines are considered bad links. This can potentially result in penalties. No matter where the links are coming from, whenever you build a link you should pay attention to signals. A black hat link-building technique like link farms paid links, link wheels can also get you in trouble.