Resign company in just 2 days because of unsecurity in job

Hi I join one company on 1 year contract with third party payroll. My agreement is 1 year and 1 lac if i not serve for one year. When i join company my manager inform me about the project deadline which is 4-5 month from my joining and its not extendable. One employee from company told me that company terminate employee frequently, i call my parent company and tell whole story next day she call client company and VP call me and she ask me the name of person when she cal l him he tell some name to her. In our discussion it clear that they terminate. I go to HR and discussed with them they also give me fig we terminate 32 in 120 employees. When i discuss my parent company they said we have lot of vacancy we will place you in other company just work for 1 month or take atleast 1 salary. When i ask them add one clause in agreement in favour of my job security. They didnt accepted. Now i put resign in company with mensioned i wil happy to serve you if you add some clause in our agreement for my job security, but they didnt take any action on this. What i do, what legally they can do. Thanks