I don't understand the question. If you paid cash, there would not be a loan to foreclose on.
If the house was foreclosed 6 months ago and then you bought the house for cash the previous bank would not have a future claim against the house. They settled that when you bought the house.
I agree though, its sounds like you need to talk to a lawyer.