The Supreme Court sharply criticised HDFC Bank Ltd for a homebuyer being harassed, suggesting bank officials be identified and investigated in cases where they may have colluded with builders.