Legal validity of employment bonds
I am a final year BTech student and while looking for fresher jobs, almost every company in the core engineering sector has an employment bond. The packages are typically 4 lakhs per annum with a bond of 2 or 3 years and a bond amount of 2 or 4 lakhs. This does not seem like a "reasonable" agreement and seems extremely exploitative to have a bond comparable to the annual salary.
This is further aggravated by the fact that the whole industry has now shifted to this model leaving little choice for freshers. From the employee's perspective, once they join, even if it's a non-enforceable contract, they have to adhere to it, or else risk having a negative impact on their future career if they choose to take some legal action, assuming they can afford to do so.
This seems to go against the fundamental human rights against exploitation and the right to freedom that I have read about. Despite this, even PSUs have such bonds with unreasonable terms.
My question is, how can this situation be legally challenged in court? How can we challenge these exploitative labor contracts all at once without having to challenge them individually on a case-by-case basis? Have there been any landmark judgments regarding this?