Empty triangle against first line hane

Beginner

12345
Mistake

If White mindlessly plays the hane connect of 2 against 1, Black can surprise her by cutting at 3. When 4 captures, 5 is atari. Next, ...

567
Mistake

if 6 connects, 7 will capture the stones by driving them to the right, usually, because that's where Black's territory lies, since this was an endgame problem to start with.

123456
Correct

This empty triangle of 2 may look like bad shape but this is correct endgame play under normal conditions.

12345678
Mistake

Incidentally, higher level players who recognize the danger, may be tempted to play "good shape" with 2. As can be easily compared, White is two points worse off here.

1234567
Danger?

This is the kind of danger, White is fearing in the previous diagram. Under endgame conditions White should be able to determine whether such a sequence would achieve something or not.