Watch out. They SHOULD disclose, but don't count on it. The listing agent may not know the developer is facing foreclosure. Depending on what you are worried about, either a specific home going into foreclosure, other home in a subdivision going into forclosure from the developer, or the builder going into bankruptcy, there are different things to check and and ways to protect yourself.
What, more specifically, is your situation and what are you concerned about happening?