Still under construction ☽◯☾ but you're welcome to look around.
Miasma is a central concept in Hellenic religious practice, and one that's frequently misunderstood through a Christian lens: it is not sin, and incurring it is not necessarily a moral failing. Miasma is closer to a state of ritual contamination - an impurity that creates distance between a person and the divine, and which must be cleansed before proper worship, sacrifice, or entry into sacred space can resume.
Miasma could arise from many sources, most of them unavoidable facts of human life rather than wrongdoing: childbirth, death, illness, and bodily fluids all carried miasma in ancient practice. Certain more serious offences - such as bloodshed, oathbreaking, or violations of xenia - could also generate miasma, sitting closer to the boundary between ritual and moral pollution. Regardless of cause, the response was the same in principle: purification, not punishment.
The remedy for miasma was katharmos or katharsis (purification), typically through ritual washing, the use of lustral water (khernips) sprinkled or poured at the threshold of a rite, or in more serious cases, exile and formal rites of cleansing. Temples commonly kept khernips at their entrances precisely so that visitors could purify themselves of everyday miasma before approaching the gods.
For modern practitioners, miasma is usually understood pragmatically: avoiding ritual during illness or menstruation, or performing a simple hand/face washing with khernips before devotional practice, rather than treating it as a source of shame.