Genuine taboos cluster into a few categories, and knowing the categories lets you scan any destination quickly. Politics and history carry the sharpest edges: jokes or criticism about monarchies, founding figures, territorial disputes, or recent conflicts range from socially explosive to actually criminal in several countries, with lese-majeste and flag-desecration laws being real legal exposure, not just etiquette. Religion is the second live wire, where mocking faith, mishandling sacred objects or texts, inappropriate behavior at holy sites, and disrespecting religious figures cause deep offense broadly and legal trouble in some places.
Body-language taboos are the ones tourists trip innocently: showing soles of feet or pointing feet at people and altars in Buddhist and Muslim cultures, touching heads in Southeast Asia, using the left hand for food or giving in much of Asia, the Middle East, and Africa, and hand gestures that are innocent at home but obscene elsewhere, worth a two-minute search per country. Add photography of military sites and of people without permission.
The protective habits are simple: read your government's travel advice and a cultural etiquette summary for the destination, let locals raise politics before you do, keep humor away from religion and national symbols entirely, and when you err, apologize sincerely and quickly, which nearly always resets the moment. Curious, humble questions are welcomed almost everywhere the same jokes are not.