Practices like this are hilariously common in the industry. Right out of college I accepted a job offer at a small consulting company on the east coast. They promised they would give me free housing at their luxury apartment for the first few months and give me all the training I need to excel in areas of my interest. I flew across the country and found out the whole thing is not as advertised. Their luxury apartment…
One consultant (US citizen) checked the boxes of your situation. Young, graduated college recently, a sub-contracting company presents him as senior even though he had little or negligible experience before. They had him in a hotel being billed to the F100, and then later at (crummy) corporate housing when the contract was not renewed.
Another consultant (also a US citizen) was in a similar boat, but never in corporate housing, for another sub-contractor sub-contractor. He was older, but also pretty junior - new to programming - although they presented him as senior. He had to sign all of these things about how much he would owe the sub-contractor under various circumstances. Technically he signed something that he would owe them a lot of money for "training" if the contract was not renewed, but when he was let go they did not pursue it - why sue to try to get blood from a stone? He also had mandatory meetings at all three companies and was on the phone all of the time with the consulting companies after the regular work.
Both contractors did one three month contract and were not renewed.