のは危険です

… is dangerous

→ の
phrase Rare #26,863
… is dangerous の turns the preceding action into a noun phrase, so the whole expression means that doing it is dangerous.
JA: 夜に一人で歩くのは危険です。
EN: Walking alone at night is dangerous.

ここで通りを渡るのは危険です。

It’s dangerous to cross the street here.

あの山に登るのは危険です。

Climbing that mountain is dangerous.

池の上でスケートをするのは危険です。

Skating on the pond is dangerous.

撃つのは危険です

Shooting is dangerous.

— エリート・スクワッド (2007)

子供がこの池の近くで遊ぶのは危険です。

It is dangerous for children to play near this pond.

地元人と付き合うのは危険ですよ

Dating a local is dangerous.

— RRR (2022)

道で遊ぶのは危険です。

Playing in the street is dangerous.

生きるのは危険です。

Living is dangerous.