Qitzur Shulchan Arukh – 190:2
Similarly, any stumbling block [or danger in general] that has some risk to lives, there is an obligation to remove it, to guard from it, and to be very careful in the matter. As it says, “[Just] guard for yourself and guard your life-soul a lot…” (Devarim 4:9). If he put it down and did not move the hazards that bring one to sanger, he neglected the obligation and violated “do not place [in your home] blood” (Devarim 22:8 [as discussed in the previous se’eif]). For example, if he leaves a broken ladder standing in his home or yard, or if he raises an evil dog.