In a difficult or worrying situation of which the result is very uncertain:

Living with him, she is constantly on a knife-edge.