As noted in "If Property Is In Foreclosure, Who Can Be Held Liable for a Trip & Fall Under NY Law?," until the property is actually sold at auction (or otherwise), the titled owner - rather than the bank - retains responsibility to maintain the sidewalk.