There are many apps that can detect jailbreak, but the most popular ones are Cydia and Icy.