It's a link I posted in this[1] HN discussion. Any amount of Google-fu can turn up a plethora of similar articles. I hope you're feeling lucky, because IMO the potency and efficacy of Indian generics is very hit or miss.
I don't mean to single India out. The "race to the bottom" is one of the overarching global themes of the previous few decades of late stage capitalism.
Basically the largest Indian Pharma company is corrupt to the core. Falsifying records, blatantly disregarding scientific method, omitting even basic engineering practises, lying on regulatory submissions, etc.
The FDA only does bans on a per-facility basis, so Sun (which acquired Ranbaxy) can continue to sell many things so long the FDA has not shut down that specific location. Even in non-Indian locations, the plants were terribly run. One Ranbaxy location in NJ shipped pills with glass in them. (And was penalized by a temporary restriction on selling the pills.)
There are certainly issues of concern and needs to be improved. There have been recalls and bans elsewhere also. Ultimately though given the state of the medical industry in the US, if the only choices are get in insurmountable debts or die due to lack of medical care, a third option of affordable medicine and some small risk might be worthwhile.