perilously

From Longman Dictionary of Contemporary Englishperilouslyper‧il‧ous‧ly /ˈperələsli/ adverb literary or formalin a way that is dangerous and likely to result in something bad soon syn dangerouslyKarpov, the champion, came perilously close to losing.