Joe Jonas has his security system to thank for warding off a potential thief and keeping his name off the list of celebs who've had their homes burglarized ... TMZ has learned.
Law enforcement sources tell us ... the DNCE lead singer's home surveillance captured footage of a person outside his San Fernando Valley home around 9 PM Thursday. We're told the prowler was seen messing with the security cams before triggering the alarm ... then taking off.
A member of Joe's crew got a notification of the alarm right afterward and went to the house to check it out. We're told nothing was stolen or damaged so a trespass report was filed, and cops are investigating.