hand_by_a_hair
1. [ verb ] depend on a small thing or be at risk
Synonyms: hang_by_a_thread
Examples:

"His life now hangs by a thread"

Related terms: depend